

本文属于机器翻译版本。若本译文内容与英语原文存在差异，则一律以英文原文为准。

# 的操作、资源和条件键 Amazon 随时随地的身份和访问管理角色
<a name="list_rolesanywhere"></a>

Amazon 任何地方的身份和访问管理角色（服务前缀： `rolesanywhere`) 提供以下特定服务的操作、资源、操作和条件密钥，用于 IAM 权限策略。

参考：
+ 了解如何[配置该服务](https://docs.amazonaws.cn/rolesanywhere/latest/userguide/introduction.html)。
+ 查看[适用于该服务的 API 操作列表](https://docs.amazonaws.cn/rolesanywhere/latest/APIReference/)。
+ 了解如何[使用 IAM](https://docs.amazonaws.cn/rolesanywhere/latest/userguide/security.html) 权限策略保护该服务及其资源。
+ 查看 [编程服务授权参考](https://servicereference.us-east-1.amazonaws.com/v1/rolesanywhere/rolesanywhere.json) 用于此服务。

**Topics**
+ [API 操作定义为 Amazon 随时随地的身份和访问管理角色](#list_rolesanywhere-operations)
+ [动作定义为 Amazon 随时随地的身份和访问管理角色](#list_rolesanywhere-actions-as-permissions)
+ [资源类型定义为 Amazon 随时随地的身份和访问管理角色](#list_rolesanywhere-resources-for-iam-policies)
+ [的条件键 Amazon 随时随地的身份和访问管理角色](#list_rolesanywhere-policy-keys)

## API 操作定义为 Amazon 随时随地的身份和访问管理角色
<a name="list_rolesanywhere-operations"></a>

下表将 API 操作映射到它们授权的 IAM 操作。仅列出具有给定 API 和操作静态值的条件密钥；有关每个操作支持的全套条件密钥，请参阅 [操作表](#list_rolesanywhere-actions-as-permissions)。




- **   CreateProfile  **
  - **IAM 操作:**  [rolesanywhere:CreateProfile](#list_rolesanywhere-action-CreateProfile)  / **条件键:**  / **可能的值:**  / **访问级别:** 写入
  - **IAM 操作:**  [rolesanywhere:TagResource](#list_rolesanywhere-action-TagResource)  / **条件键:**  / **可能的值:**  / **访问级别:** 标记、写入
  - **IAM 操作:**  [iam:PassRole](https://docs.amazonaws.cn/IAM/latest/UserGuide/id_roles_use_passrole.html)  / **条件键:** iam:PassedToService / **可能的值:** rolesanywhere.amazonaws.com / **访问级别:** 写入

- **   CreateTrustAnchor  **
  - **IAM 操作:**  [rolesanywhere:CreateTrustAnchor](#list_rolesanywhere-action-CreateTrustAnchor)  / **条件键:**  / **可能的值:**  / **访问级别:** 写入
  - **IAM 操作:**  [rolesanywhere:TagResource](#list_rolesanywhere-action-TagResource)  / **条件键:**  / **可能的值:**  / **访问级别:** 标记、写入

- **   DeleteAttributeMapping  **
  - **IAM 操作:**  [rolesanywhere:DeleteAttributeMapping](#list_rolesanywhere-action-DeleteAttributeMapping) 
  - **条件键:** 
  - **可能的值:** 
  - **访问级别:** 写入

- **   DeleteCrl  **
  - **IAM 操作:**  [rolesanywhere:DeleteCrl](#list_rolesanywhere-action-DeleteCrl) 
  - **条件键:** 
  - **可能的值:** 
  - **访问级别:** 写入

- **   DeleteProfile  **
  - **IAM 操作:**  [rolesanywhere:DeleteProfile](#list_rolesanywhere-action-DeleteProfile) 
  - **条件键:** 
  - **可能的值:** 
  - **访问级别:** 写入

- **   DeleteTrustAnchor  **
  - **IAM 操作:**  [rolesanywhere:DeleteTrustAnchor](#list_rolesanywhere-action-DeleteTrustAnchor) 
  - **条件键:** 
  - **可能的值:** 
  - **访问级别:** 写入

- **   DisableCrl  **
  - **IAM 操作:**  [rolesanywhere:DisableCrl](#list_rolesanywhere-action-DisableCrl) 
  - **条件键:** 
  - **可能的值:** 
  - **访问级别:** 写入

- **   DisableProfile  **
  - **IAM 操作:**  [rolesanywhere:DisableProfile](#list_rolesanywhere-action-DisableProfile) 
  - **条件键:** 
  - **可能的值:** 
  - **访问级别:** 写入

- **   DisableTrustAnchor  **
  - **IAM 操作:**  [rolesanywhere:DisableTrustAnchor](#list_rolesanywhere-action-DisableTrustAnchor) 
  - **条件键:** 
  - **可能的值:** 
  - **访问级别:** 写入

- **   EnableCrl  **
  - **IAM 操作:**  [rolesanywhere:EnableCrl](#list_rolesanywhere-action-EnableCrl) 
  - **条件键:** 
  - **可能的值:** 
  - **访问级别:** 写入

- **   EnableProfile  **
  - **IAM 操作:**  [rolesanywhere:EnableProfile](#list_rolesanywhere-action-EnableProfile)  / **条件键:**  / **可能的值:**  / **访问级别:** 写入
  - **IAM 操作:**  [iam:PassRole](https://docs.amazonaws.cn/IAM/latest/UserGuide/id_roles_use_passrole.html)  / **条件键:** iam:PassedToService / **可能的值:** rolesanywhere.amazonaws.com / **访问级别:** 写入

- **   EnableTrustAnchor  **
  - **IAM 操作:**  [rolesanywhere:EnableTrustAnchor](#list_rolesanywhere-action-EnableTrustAnchor) 
  - **条件键:** 
  - **可能的值:** 
  - **访问级别:** 写入

- **   GetCrl  **
  - **IAM 操作:**  [rolesanywhere:GetCrl](#list_rolesanywhere-action-GetCrl) 
  - **条件键:** 
  - **可能的值:** 
  - **访问级别:** 读取

- **   GetProfile  **
  - **IAM 操作:**  [rolesanywhere:GetProfile](#list_rolesanywhere-action-GetProfile) 
  - **条件键:** 
  - **可能的值:** 
  - **访问级别:** 读取

- **   GetSubject  **
  - **IAM 操作:**  [rolesanywhere:GetSubject](#list_rolesanywhere-action-GetSubject) 
  - **条件键:** 
  - **可能的值:** 
  - **访问级别:** 读取

- **   GetTrustAnchor  **
  - **IAM 操作:**  [rolesanywhere:GetTrustAnchor](#list_rolesanywhere-action-GetTrustAnchor) 
  - **条件键:** 
  - **可能的值:** 
  - **访问级别:** 读取

- **   ImportCrl  **
  - **IAM 操作:**  [rolesanywhere:ImportCrl](#list_rolesanywhere-action-ImportCrl)  / **条件键:**  / **可能的值:**  / **访问级别:** 写入
  - **IAM 操作:**  [rolesanywhere:TagResource](#list_rolesanywhere-action-TagResource)  / **条件键:**  / **可能的值:**  / **访问级别:** 标记、写入

- **   ListCrls  **
  - **IAM 操作:**  [rolesanywhere:ListCrls](#list_rolesanywhere-action-ListCrls) 
  - **条件键:** 
  - **可能的值:** 
  - **访问级别:** 列表

- **   ListProfiles  **
  - **IAM 操作:**  [rolesanywhere:ListProfiles](#list_rolesanywhere-action-ListProfiles) 
  - **条件键:** 
  - **可能的值:** 
  - **访问级别:** 列表

- **   ListSubjects  **
  - **IAM 操作:**  [rolesanywhere:ListSubjects](#list_rolesanywhere-action-ListSubjects) 
  - **条件键:** 
  - **可能的值:** 
  - **访问级别:** 列表

- **   ListTagsForResource  **
  - **IAM 操作:**  [rolesanywhere:ListTagsForResource](#list_rolesanywhere-action-ListTagsForResource) 
  - **条件键:** 
  - **可能的值:** 
  - **访问级别:** 列表

- **   ListTrustAnchors  **
  - **IAM 操作:**  [rolesanywhere:ListTrustAnchors](#list_rolesanywhere-action-ListTrustAnchors) 
  - **条件键:** 
  - **可能的值:** 
  - **访问级别:** 列表

- **   PutAttributeMapping  **
  - **IAM 操作:**  [rolesanywhere:PutAttributeMapping](#list_rolesanywhere-action-PutAttributeMapping) 
  - **条件键:** 
  - **可能的值:** 
  - **访问级别:** 写入

- **   PutNotificationSettings  **
  - **IAM 操作:**  [rolesanywhere:PutNotificationSettings](#list_rolesanywhere-action-PutNotificationSettings) 
  - **条件键:** 
  - **可能的值:** 
  - **访问级别:** 写入

- **   ResetNotificationSettings  **
  - **IAM 操作:**  [rolesanywhere:ResetNotificationSettings](#list_rolesanywhere-action-ResetNotificationSettings) 
  - **条件键:** 
  - **可能的值:** 
  - **访问级别:** 写入

- **   TagResource  **
  - **IAM 操作:**  [rolesanywhere:TagResource](#list_rolesanywhere-action-TagResource) 
  - **条件键:** 
  - **可能的值:** 
  - **访问级别:** 标记、写入

- **   UntagResource  **
  - **IAM 操作:**  [rolesanywhere:UntagResource](#list_rolesanywhere-action-UntagResource) 
  - **条件键:** 
  - **可能的值:** 
  - **访问级别:** 标记、写入

- **   UpdateCrl  **
  - **IAM 操作:**  [rolesanywhere:UpdateCrl](#list_rolesanywhere-action-UpdateCrl) 
  - **条件键:** 
  - **可能的值:** 
  - **访问级别:** 写入

- **   UpdateProfile  **
  - **IAM 操作:**  [rolesanywhere:UpdateProfile](#list_rolesanywhere-action-UpdateProfile)  / **条件键:**  / **可能的值:**  / **访问级别:** 写入
  - **IAM 操作:**  [iam:PassRole](https://docs.amazonaws.cn/IAM/latest/UserGuide/id_roles_use_passrole.html)  / **条件键:** iam:PassedToService / **可能的值:** rolesanywhere.amazonaws.com / **访问级别:** 写入

- **   UpdateTrustAnchor  **
  - **IAM 操作:**  [rolesanywhere:UpdateTrustAnchor](#list_rolesanywhere-action-UpdateTrustAnchor) 
  - **条件键:** 
  - **可能的值:** 
  - **访问级别:** 写入



## 动作定义为 Amazon 随时随地的身份和访问管理角色
<a name="list_rolesanywhere-actions-as-permissions"></a>

您可以在 IAM 策略语句的 `Action` 元素中指定以下操作。对于每个操作，该表列出了该操作支持的资源类型和条件键。可以使用策略授予在 Amazon中执行操作的权限。您在策略中使用一项操作时，通常使用相同的名称允许或拒绝对 API 操作或 CLI 命令的访问。但在某些情况下，单一动作可控制对多项操作的访问。还有某些操作需要多种不同的动作。




- **   [CreateProfile](https://docs.amazonaws.cn/rolesanywhere/latest/APIReference/API_CreateProfile.html)  **
  - **说明:** 授予创建配置文件的权限
  - **资源类型（\* 为必需）:** 
  - **条件键:** [aws:RequestTag/${TagKey}](#list_rolesanywhere-aws_RequestTag___TagKey_)<br />[aws:TagKeys](#list_rolesanywhere-aws_TagKeys)
  - **访问级别:** 写入

- **   [CreateTrustAnchor](https://docs.amazonaws.cn/rolesanywhere/latest/APIReference/API_CreateTrustAnchor.html)  **
  - **说明:** 授予创建信任锚的权限
  - **资源类型（\* 为必需）:** 
  - **条件键:** [aws:RequestTag/${TagKey}](#list_rolesanywhere-aws_RequestTag___TagKey_)<br />[aws:TagKeys](#list_rolesanywhere-aws_TagKeys)
  - **访问级别:** 写入

- **   [DeleteAttributeMapping](https://docs.amazonaws.cn/rolesanywhere/latest/APIReference/API_DeleteAttributeMapping.html)  **
  - **说明:** 授予权限以从配置文件中删除映射规则
  - **资源类型（\* 为必需）:** [profile\*](#list_rolesanywhere-resource-profile)
  - **条件键:** [aws:ResourceTag/${TagKey}](#list_rolesanywhere-aws_ResourceTag___TagKey_)
  - **访问级别:** 写入

- **   [DeleteCrl](https://docs.amazonaws.cn/rolesanywhere/latest/APIReference/API_DeleteCrl.html)  **
  - **说明:** 授予删除证书吊销列表 (crl) 的权限
  - **资源类型（\* 为必需）:** [crl\*](#list_rolesanywhere-resource-crl)
  - **条件键:** [aws:ResourceTag/${TagKey}](#list_rolesanywhere-aws_ResourceTag___TagKey_)
  - **访问级别:** 写入

- **   [DeleteProfile](https://docs.amazonaws.cn/rolesanywhere/latest/APIReference/API_DeleteProfile.html)  **
  - **说明:** 授予删除配置文件的权限
  - **资源类型（\* 为必需）:** [profile\*](#list_rolesanywhere-resource-profile)
  - **条件键:** [aws:ResourceTag/${TagKey}](#list_rolesanywhere-aws_ResourceTag___TagKey_)
  - **访问级别:** 写入

- **   [DeleteTrustAnchor](https://docs.amazonaws.cn/rolesanywhere/latest/APIReference/API_DeleteTrustAnchor.html)  **
  - **说明:** 授予删除信任锚的权限
  - **资源类型（\* 为必需）:** [trust-anchor\*](#list_rolesanywhere-resource-trust-anchor)
  - **条件键:** [aws:ResourceTag/${TagKey}](#list_rolesanywhere-aws_ResourceTag___TagKey_)
  - **访问级别:** 写入

- **   [DisableCrl](https://docs.amazonaws.cn/rolesanywhere/latest/APIReference/API_DisableCrl.html)  **
  - **说明:** 授予禁用证书吊销列表 (crl) 的权限
  - **资源类型（\* 为必需）:** [crl\*](#list_rolesanywhere-resource-crl)
  - **条件键:** [aws:ResourceTag/${TagKey}](#list_rolesanywhere-aws_ResourceTag___TagKey_)
  - **访问级别:** 写入

- **   [DisableProfile](https://docs.amazonaws.cn/rolesanywhere/latest/APIReference/API_DisableProfile.html)  **
  - **说明:** 授予禁用配置文件的权限
  - **资源类型（\* 为必需）:** [profile\*](#list_rolesanywhere-resource-profile)
  - **条件键:** [aws:ResourceTag/${TagKey}](#list_rolesanywhere-aws_ResourceTag___TagKey_)
  - **访问级别:** 写入

- **   [DisableTrustAnchor](https://docs.amazonaws.cn/rolesanywhere/latest/APIReference/API_DisableTrustAnchor.html)  **
  - **说明:** 授予禁用信任锚的权限
  - **资源类型（\* 为必需）:** [trust-anchor\*](#list_rolesanywhere-resource-trust-anchor)
  - **条件键:** [aws:ResourceTag/${TagKey}](#list_rolesanywhere-aws_ResourceTag___TagKey_)
  - **访问级别:** 写入

- **   [EnableCrl](https://docs.amazonaws.cn/rolesanywhere/latest/APIReference/API_EnableCrl.html)  **
  - **说明:** 授予启用证书吊销列表 (crl) 的权限
  - **资源类型（\* 为必需）:** [crl\*](#list_rolesanywhere-resource-crl)
  - **条件键:** [aws:ResourceTag/${TagKey}](#list_rolesanywhere-aws_ResourceTag___TagKey_)
  - **访问级别:** 写入

- **   [EnableProfile](https://docs.amazonaws.cn/rolesanywhere/latest/APIReference/API_EnableProfile.html)  **
  - **说明:** 授予启用配置文件的权限
  - **资源类型（\* 为必需）:** [profile\*](#list_rolesanywhere-resource-profile)
  - **条件键:** [aws:ResourceTag/${TagKey}](#list_rolesanywhere-aws_ResourceTag___TagKey_)
  - **访问级别:** 写入

- **   [EnableTrustAnchor](https://docs.amazonaws.cn/rolesanywhere/latest/APIReference/API_EnableTrustAnchor.html)  **
  - **说明:** 授予启用信任锚的权限
  - **资源类型（\* 为必需）:** [trust-anchor\*](#list_rolesanywhere-resource-trust-anchor)
  - **条件键:** [aws:ResourceTag/${TagKey}](#list_rolesanywhere-aws_ResourceTag___TagKey_)
  - **访问级别:** 写入

- **   [GetCrl](https://docs.amazonaws.cn/rolesanywhere/latest/APIReference/API_GetCrl.html)  **
  - **说明:** 授予权获取证书吊销列表 (crl) 的权限
  - **资源类型（\* 为必需）:** [crl\*](#list_rolesanywhere-resource-crl)
  - **条件键:** [aws:ResourceTag/${TagKey}](#list_rolesanywhere-aws_ResourceTag___TagKey_)
  - **访问级别:** 读取

- **   [GetProfile](https://docs.amazonaws.cn/rolesanywhere/latest/APIReference/API_GetProfile.html)  **
  - **说明:** 授予获取配置文件的权限
  - **资源类型（\* 为必需）:** [profile\*](#list_rolesanywhere-resource-profile)
  - **条件键:** [aws:ResourceTag/${TagKey}](#list_rolesanywhere-aws_ResourceTag___TagKey_)
  - **访问级别:** 读取

- **   [GetSubject](https://docs.amazonaws.cn/rolesanywhere/latest/APIReference/API_GetSubject.html)  **
  - **说明:** 授予获取主题的权限
  - **资源类型（\* 为必需）:** [subject\*](#list_rolesanywhere-resource-subject)
  - **条件键:** [aws:ResourceTag/${TagKey}](#list_rolesanywhere-aws_ResourceTag___TagKey_)
  - **访问级别:** 读取

- **   [GetTrustAnchor](https://docs.amazonaws.cn/rolesanywhere/latest/APIReference/API_GetTrustAnchor.html)  **
  - **说明:** 授予获取信任锚的权限
  - **资源类型（\* 为必需）:** [trust-anchor\*](#list_rolesanywhere-resource-trust-anchor)
  - **条件键:** [aws:ResourceTag/${TagKey}](#list_rolesanywhere-aws_ResourceTag___TagKey_)
  - **访问级别:** 读取

- **   [ImportCrl](https://docs.amazonaws.cn/rolesanywhere/latest/APIReference/API_ImportCrl.html)  **
  - **说明:** 授予导入证书吊销列表 (crl) 的权限
  - **资源类型（\* 为必需）:** 
  - **条件键:** [aws:RequestTag/${TagKey}](#list_rolesanywhere-aws_RequestTag___TagKey_)<br />[aws:TagKeys](#list_rolesanywhere-aws_TagKeys)
  - **访问级别:** 写入

- **   [ListCrls](https://docs.amazonaws.cn/rolesanywhere/latest/APIReference/API_ListCrls.html)  **
  - **说明:** 授予列出证书吊销列表 (crl) 的权限
  - **资源类型（\* 为必需）:** 
  - **条件键:**  
  - **访问级别:** 列表

- **   [ListProfiles](https://docs.amazonaws.cn/rolesanywhere/latest/APIReference/API_ListProfiles.html)  **
  - **说明:** 授予列出配置文件的权限
  - **资源类型（\* 为必需）:** 
  - **条件键:**  
  - **访问级别:** 列表

- **   [ListSubjects](https://docs.amazonaws.cn/rolesanywhere/latest/APIReference/API_ListSubjects.html)  **
  - **说明:** 授予列出主题的权限
  - **资源类型（\* 为必需）:** 
  - **条件键:**  
  - **访问级别:** 列表

- **   [ListTagsForResource](https://docs.amazonaws.cn/rolesanywhere/latest/APIReference/API_ListTagsForResource.html)  **
  - **说明:** 授予权限以列出资源的标签
  - **资源类型（\* 为必需）:** 
  - **条件键:**  
  - **访问级别:** 列表

- **   [ListTrustAnchors](https://docs.amazonaws.cn/rolesanywhere/latest/APIReference/API_ListTrustAnchors.html)  **
  - **说明:** 授予列出信任锚的权限
  - **资源类型（\* 为必需）:** 
  - **条件键:**  
  - **访问级别:** 列表

- **   [PutAttributeMapping](https://docs.amazonaws.cn/rolesanywhere/latest/APIReference/API_PutAttributeMapping.html)  **
  - **说明:** 授予权限以将映射规则放入配置文件
  - **资源类型（\* 为必需）:** [profile\*](#list_rolesanywhere-resource-profile)
  - **条件键:** [aws:ResourceTag/${TagKey}](#list_rolesanywhere-aws_ResourceTag___TagKey_)
  - **访问级别:** 写入

- **   [PutNotificationSettings](https://docs.amazonaws.cn/rolesanywhere/latest/APIReference/API_PutNotificationSettings.html)  **
  - **说明:** 授予将通知设置附加到信任锚的权限
  - **资源类型（\* 为必需）:** [trust-anchor\*](#list_rolesanywhere-resource-trust-anchor)
  - **条件键:** [aws:ResourceTag/${TagKey}](#list_rolesanywhere-aws_ResourceTag___TagKey_)
  - **访问级别:** 写入

- **   [ResetNotificationSettings](https://docs.amazonaws.cn/rolesanywhere/latest/APIReference/API_ResetNotificationSettings.html)  **
  - **说明:** 授予将自定义通知设置重置为 IAM Roles Anywhere 定义的默认状态的权限
  - **资源类型（\* 为必需）:** [trust-anchor\*](#list_rolesanywhere-resource-trust-anchor)
  - **条件键:** [aws:ResourceTag/${TagKey}](#list_rolesanywhere-aws_ResourceTag___TagKey_)
  - **访问级别:** 写入

- **   [TagResource](https://docs.amazonaws.cn/rolesanywhere/latest/APIReference/API_TagResource.html)  **
  - **说明:** 授予权限以标记资源
  - **资源类型（\* 为必需）:** [crl](#list_rolesanywhere-resource-crl) / **条件键:** [aws:RequestTag/${TagKey}](#list_rolesanywhere-aws_RequestTag___TagKey_)<br />[aws:ResourceTag/${TagKey}](#list_rolesanywhere-aws_ResourceTag___TagKey_)<br />[aws:TagKeys](#list_rolesanywhere-aws_TagKeys)
  - **资源类型（\* 为必需）:** [profile](#list_rolesanywhere-resource-profile) / **条件键:** [aws:RequestTag/${TagKey}](#list_rolesanywhere-aws_RequestTag___TagKey_)<br />[aws:ResourceTag/${TagKey}](#list_rolesanywhere-aws_ResourceTag___TagKey_)<br />[aws:TagKeys](#list_rolesanywhere-aws_TagKeys)
  - **资源类型（\* 为必需）:** [subject](#list_rolesanywhere-resource-subject) / **条件键:** [aws:RequestTag/${TagKey}](#list_rolesanywhere-aws_RequestTag___TagKey_)<br />[aws:ResourceTag/${TagKey}](#list_rolesanywhere-aws_ResourceTag___TagKey_)<br />[aws:TagKeys](#list_rolesanywhere-aws_TagKeys)
  - **资源类型（\* 为必需）:** [trust-anchor](#list_rolesanywhere-resource-trust-anchor) / **条件键:** [aws:RequestTag/${TagKey}](#list_rolesanywhere-aws_RequestTag___TagKey_)<br />[aws:ResourceTag/${TagKey}](#list_rolesanywhere-aws_ResourceTag___TagKey_)<br />[aws:TagKeys](#list_rolesanywhere-aws_TagKeys)
  - **访问级别:** 标记、写入

- **   [UntagResource](https://docs.amazonaws.cn/rolesanywhere/latest/APIReference/API_UntagResource.html)  **
  - **说明:** 授予权限以取消标记资源
  - **资源类型（\* 为必需）:** [crl](#list_rolesanywhere-resource-crl) / **条件键:** [aws:ResourceTag/${TagKey}](#list_rolesanywhere-aws_ResourceTag___TagKey_)<br />[aws:TagKeys](#list_rolesanywhere-aws_TagKeys)
  - **资源类型（\* 为必需）:** [profile](#list_rolesanywhere-resource-profile) / **条件键:** [aws:ResourceTag/${TagKey}](#list_rolesanywhere-aws_ResourceTag___TagKey_)<br />[aws:TagKeys](#list_rolesanywhere-aws_TagKeys)
  - **资源类型（\* 为必需）:** [subject](#list_rolesanywhere-resource-subject) / **条件键:** [aws:ResourceTag/${TagKey}](#list_rolesanywhere-aws_ResourceTag___TagKey_)<br />[aws:TagKeys](#list_rolesanywhere-aws_TagKeys)
  - **资源类型（\* 为必需）:** [trust-anchor](#list_rolesanywhere-resource-trust-anchor) / **条件键:** [aws:ResourceTag/${TagKey}](#list_rolesanywhere-aws_ResourceTag___TagKey_)<br />[aws:TagKeys](#list_rolesanywhere-aws_TagKeys)
  - **访问级别:** 标记、写入

- **   [UpdateCrl](https://docs.amazonaws.cn/rolesanywhere/latest/APIReference/API_UpdateCrl.html)  **
  - **说明:** 授予更新证书吊销列表 (crl) 的权限
  - **资源类型（\* 为必需）:** [crl\*](#list_rolesanywhere-resource-crl)
  - **条件键:** [aws:ResourceTag/${TagKey}](#list_rolesanywhere-aws_ResourceTag___TagKey_)
  - **访问级别:** 写入

- **   [UpdateProfile](https://docs.amazonaws.cn/rolesanywhere/latest/APIReference/API_UpdateProfile.html)  **
  - **说明:** 授予更新配置文件的权限
  - **资源类型（\* 为必需）:** [profile\*](#list_rolesanywhere-resource-profile)
  - **条件键:** [aws:ResourceTag/${TagKey}](#list_rolesanywhere-aws_ResourceTag___TagKey_)
  - **访问级别:** 写入

- **   [UpdateTrustAnchor](https://docs.amazonaws.cn/rolesanywhere/latest/APIReference/API_UpdateTrustAnchor.html)  **
  - **说明:** 授予更新信任锚的权限
  - **资源类型（\* 为必需）:** [trust-anchor\*](#list_rolesanywhere-resource-trust-anchor)
  - **条件键:** [aws:ResourceTag/${TagKey}](#list_rolesanywhere-aws_ResourceTag___TagKey_)
  - **访问级别:** 写入



## 资源类型定义为 Amazon 随时随地的身份和访问管理角色
<a name="list_rolesanywhere-resources-for-iam-policies"></a>

以下资源类型是由该服务定义的，可以在 IAM 权限策略语句的 `Resource` 元素中使用这些资源类型。



| 资源类型 | ARN | 条件键 | 
| --- | --- | --- | 
|  [crl](https://docs.amazonaws.cn/rolesanywhere/latest/userguide/introduction.html#first-time-user)  | arn:${Partition}:rolesanywhere:${Region}:${Account}:crl/${CrlId} | [aws:ResourceTag/${TagKey}](#list_rolesanywhere-aws_ResourceTag___TagKey_) | 
|  [profile](https://docs.amazonaws.cn/rolesanywhere/latest/userguide/introduction.html#first-time-user)  | arn:${Partition}:rolesanywhere:${Region}:${Account}:profile/${ProfileId} | [aws:ResourceTag/${TagKey}](#list_rolesanywhere-aws_ResourceTag___TagKey_) | 
|  [subject](https://docs.amazonaws.cn/rolesanywhere/latest/userguide/introduction.html#first-time-user)  | arn:${Partition}:rolesanywhere:${Region}:${Account}:subject/${SubjectId} | [aws:ResourceTag/${TagKey}](#list_rolesanywhere-aws_ResourceTag___TagKey_) | 
|  [trust-anchor](https://docs.amazonaws.cn/rolesanywhere/latest/userguide/introduction.html#first-time-user)  | arn:${Partition}:rolesanywhere:${Region}:${Account}:trust-anchor/${TrustAnchorId} | [aws:ResourceTag/${TagKey}](#list_rolesanywhere-aws_ResourceTag___TagKey_) | 

## 的条件键 Amazon 随时随地的身份和访问管理角色
<a name="list_rolesanywhere-policy-keys"></a>

Amazon 任何位置的身份和访问管理角色定义了以下条件密钥，这些密钥可用于 `Condition` IAM 政策的元素。



| 条件键 | 描述 | 类型 | 
| --- | --- | --- | 
|   [aws:RequestTag/${TagKey}](https://docs.amazonaws.cn/IAM/latest/UserGuide/reference_policies_condition-keys.html#condition-keys-requesttag)  | 按请求中传递的标签筛选访问权限 | String | 
|   [aws:ResourceTag/${TagKey}](https://docs.amazonaws.cn/IAM/latest/UserGuide/reference_policies_condition-keys.html#condition-keys-resourcetag)  | 按与资源关联的标签筛选访问权限 | String | 
|   [aws:TagKeys](https://docs.amazonaws.cn/IAM/latest/UserGuide/reference_policies_condition-keys.html#condition-keys-tagkeys)  | 按请求中传递的标签键筛选访问权限 | ArrayOfString | 