Actions, resources, and condition keys for AWS Identity and Access Management Roles Anywhere
AWS Identity and Access Management Roles Anywhere (service prefix: rolesanywhere) provides the following
service-specific operations, resources, actions, and condition keys for use in IAM permission
policies.
References:
-
Learn how to configure this service.
-
View a list of the API operations available for this service.
-
Learn how to secure this service and its resources by using IAM permission policies.
-
View the programmatic service authorization reference
for this service.
Topics
API operations defined by AWS Identity and Access Management Roles Anywhere
The following table maps API operations to the IAM actions they authorize. Only condition keys that have static values for the given API and action are listed; for the full set of condition keys supported by each action, see the Actions table.
| Operation | IAM action | Condition key | Possible value(s) | Access level |
|---|---|---|---|---|
|
CreateProfile |
Write |
|||
Tagging, Write |
||||
iam:PassedToService |
rolesanywhere.amazonaws.com |
Write |
||
|
CreateTrustAnchor |
Write |
|||
Tagging, Write |
||||
|
DeleteAttributeMapping |
Write |
|||
|
DeleteCrl |
Write |
|||
|
DeleteProfile |
Write |
|||
|
DeleteTrustAnchor |
Write |
|||
|
DisableCrl |
Write |
|||
|
DisableProfile |
Write |
|||
|
DisableTrustAnchor |
Write |
|||
|
EnableCrl |
Write |
|||
|
EnableProfile |
Write |
|||
iam:PassedToService |
rolesanywhere.amazonaws.com |
Write |
||
|
EnableTrustAnchor |
Write |
|||
|
GetCrl |
Read |
|||
|
GetProfile |
Read |
|||
|
GetSubject |
Read |
|||
|
GetTrustAnchor |
Read |
|||
|
ImportCrl |
Write |
|||
Tagging, Write |
||||
|
ListCrls |
List |
|||
|
ListProfiles |
List |
|||
|
ListSubjects |
List |
|||
|
ListTagsForResource |
List |
|||
|
ListTrustAnchors |
List |
|||
|
PutAttributeMapping |
Write |
|||
|
PutNotificationSettings |
Write |
|||
|
ResetNotificationSettings |
Write |
|||
|
TagResource |
Tagging, Write |
|||
|
UntagResource |
Tagging, Write |
|||
|
UpdateCrl |
Write |
|||
|
UpdateProfile |
Write |
|||
iam:PassedToService |
rolesanywhere.amazonaws.com |
Write |
||
|
UpdateTrustAnchor |
Write |
Actions defined by AWS Identity and Access Management Roles Anywhere
You can specify the following actions in the Action element of an IAM
policy statement. Use policies to grant permissions to perform an operation in AWS. When
you use an action in a policy, you usually allow or deny access to the API operation or CLI
command with the same name. However, in some cases, a single action controls access to more
than one operation. Alternatively, some operations require several different actions.
| Actions | Description | Resource types (*required) | Condition keys | Access level |
|---|---|---|---|---|
Grants permission to create a profile |
Write |
|||
Grants permission to create a trust anchor |
Write |
|||
Grants permission to delete a mapping rule from a profile |
Write |
|||
Grants permission to delete a certificate revocation list (crl) |
Write |
|||
Grants permission to delete a profile |
Write |
|||
Grants permission to delete a trust anchor |
Write |
|||
Grants permission to disable a certificate revocation list (crl) |
Write |
|||
Grants permission to disable a profile |
Write |
|||
Grants permission to disable a trust anchor |
Write |
|||
Grants permission to enable a certificate revocation list (crl) |
Write |
|||
Grants permission to enable a profile |
Write |
|||
Grants permission to enable a trust anchor |
Write |
|||
Grants permission to get a certificate revocation list (crl) |
Read |
|||
Grants permission to get a profile |
Read |
|||
Grants permission to get a subject |
Read |
|||
Grants permission to get a trust anchor |
Read |
|||
Grants permission to import a certificate revocation list (crl) |
Write |
|||
Grants permission to list certificate revocation lists (crls) |
List |
|||
Grants permission to list profiles |
List |
|||
Grants permission to list subjects |
List |
|||
Grants permission to list tags for a resource |
List |
|||
Grants permission to list trust anchors |
List |
|||
Grants permission to put a mapping rule into a profile |
Write |
|||
Grants permission to attach notification settings to a trust anchor |
Write |
|||
Grants permission to reset custom notification settings to IAM Roles Anywhere defined default state |
Write |
|||
Grants permission to tag a resource |
Tagging, Write |
|||
Grants permission to untag a resource |
Tagging, Write |
|||
Grants permission to update a certificate revocation list (crl) |
Write |
|||
Grants permission to update a profile |
Write |
|||
Grants permission to update a trust anchor |
Write |
Resource types defined by AWS Identity and Access Management Roles Anywhere
The following resource types are defined by this service and can be used in the
Resource element of IAM permission policy statements.
| Resource types | ARN | Condition keys |
|---|---|---|
arn:${Partition}:rolesanywhere:${Region}:${Account}:crl/${CrlId} |
||
arn:${Partition}:rolesanywhere:${Region}:${Account}:profile/${ProfileId} |
||
arn:${Partition}:rolesanywhere:${Region}:${Account}:subject/${SubjectId} |
||
arn:${Partition}:rolesanywhere:${Region}:${Account}:trust-anchor/${TrustAnchorId} |
Condition keys for AWS Identity and Access Management Roles Anywhere
AWS Identity and Access Management Roles Anywhere defines the following condition keys that can be used in the
Condition element of an IAM policy.
| Condition keys | Description | Type |
|---|---|---|
Filters access by the tags that are passed in the request |
String |
|
Filters access by the tags associated with the resource |
String |
|
Filters access by the tag keys that are passed in the request |
ArrayOfString |