rolesanywhere:UntagResource

Tagging

rolesanywhere:UntagResource is a Tagging access-level action in the rolesanywhere service. Grants permission to untag a resource

Resource types

ARNs that rolesanywhere:UntagResource can be scoped to in an IAM policy.

arn:${Partition}:rolesanywhere:${Region}:${Account}:crl/${CrlId}
crl
arn:${Partition}:rolesanywhere:${Region}:${Account}:profile/${ProfileId}
profile
arn:${Partition}:rolesanywhere:${Region}:${Account}:subject/${SubjectId}
subject
arn:${Partition}:rolesanywhere:${Region}:${Account}:trust-anchor/${TrustAnchorId}
trust-anchor

Condition keys

Keys you can use in the Condition block of a policy that grants rolesanywhere:UntagResource.

aws:ResourceTag/${TagKey} String

Filters access by the tags associated with the resource

Example IAM policy

A minimal policy that allows rolesanywhere:UntagResource. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowRolesanywhereUntagResource",
      "Effect": "Allow",
      "Action": "rolesanywhere:UntagResource",
      "Resource": "*"
    }
  ]
}

Related actions in rolesanywhere

View all rolesanywhere actions →