View a markdown version of this page

AWS Identity and Access Management Roles Anywhere 的動作、資源和條件索引鍵 - 服務授權參考

AWS Identity and Access Management Roles Anywhere 的動作、資源和條件索引鍵

AWS Identity and Access Management Roles Anywhere (服務字首:rolesanywhere) 提供下列服務特定的操作、資源、動作和條件索引鍵,可用於 IAM 許可政策。

參考資料:

AWS Identity and Access Management Roles Anywhere 定義的 API 操作

下表將 API 操作映射至其授權的 IAM 動作。只會列出具有指定 API 和動作靜態值的條件金鑰;如需每個動作支援的完整條件金鑰集,請參閱動作表格。

作業 IAM 動作 條件鍵 可能的值 (s) 存取層級

CreateProfile

roleanywhere:CreateProfile

寫入

roleanywhere:TagResource

標記、寫入

iam:PassRole

iam:PassedToService

rolesanywhere.amazonaws.com

寫入

CreateTrustAnchor

roleanywhere:CreateTrustAnchor

寫入

roleanywhere:TagResource

標記、寫入

DeleteAttributeMapping

roleanywhere:DeleteAttributeMapping

寫入

DeleteCrl

roleanywhere:DeleteCrl

寫入

DeleteProfile

roleanywhere:DeleteProfile

寫入

DeleteTrustAnchor

roleanywhere:DeleteTrustAnchor

寫入

DisableCrl

roleanywhere:DisableCrl

寫入

DisableProfile

roleanywhere:DisableProfile

寫入

DisableTrustAnchor

roleanywhere:DisableTrustAnchor

寫入

EnableCrl

roleanywhere:EnableCrl

寫入

EnableProfile

roleanywhere:EnableProfile

寫入

iam:PassRole

iam:PassedToService

rolesanywhere.amazonaws.com

寫入

EnableTrustAnchor

roleanywhere:EnableTrustAnchor

寫入

GetCrl

roleanywhere:GetCrl

讀取

GetProfile

roleanywhere:GetProfile

讀取

GetSubject

roleanywhere:GetSubject

讀取

GetTrustAnchor

roleanywhere:GetTrustAnchor

讀取

ImportCrl

roleanywhere:ImportCrl

寫入

roleanywhere:TagResource

標記、寫入

ListCrls

roleanywhere:ListCrls

清單

ListProfiles

roleanywhere:ListProfiles

清單

ListSubjects

roleanywhere:ListSubjects

清單

ListTagsForResource

roleanywhere:ListTagsForResource

清單

ListTrustAnchors

roleanywhere:ListTrustAnchors

清單

PutAttributeMapping

roleanywhere:PutAttributeMapping

寫入

PutNotificationSettings

roleanywhere:PutNotificationSettings

寫入

ResetNotificationSettings

roleanywhere:ResetNotificationSettings

寫入

TagResource

roleanywhere:TagResource

標記、寫入

UntagResource

roleanywhere:UntagResource

標記、寫入

UpdateCrl

roleanywhere:UpdateCrl

寫入

UpdateProfile

roleanywhere:UpdateProfile

寫入

iam:PassRole

iam:PassedToService

rolesanywhere.amazonaws.com

寫入

UpdateTrustAnchor

roleanywhere:UpdateTrustAnchor

寫入

AWS Identity and Access Management Roles Anywhere 定義的動作

您可在 IAM 政策陳述式的 Action 元素中指定以下動作。使用政策來授予在 AWS中執行操作的許可。在政策中使用動作時,通常會允許或拒絕存取相同名稱的 API 操作或 CLI 命令。不過,在某些情況下,單一動作可控制對多個操作的存取。或者,某些操作需要多種不同的動作。

動作 說明 資源類型 (*必填項目) 條件索引鍵 存取層級

CreateProfile

准許建立設定檔

aws:RequestTag/${TagKey}

aws:TagKeys

寫入

CreateTrustAnchor

准許建立信任錨點

aws:RequestTag/${TagKey}

aws:TagKeys

寫入

DeleteAttributeMapping

准許從設定檔中刪除映射規則

設定檔*

aws:ResourceTag/${TagKey}

寫入

DeleteCrl

准許刪除憑證撤銷清單 (crl)

crl*

aws:ResourceTag/${TagKey}

寫入

DeleteProfile

准許刪除設定檔

設定檔*

aws:ResourceTag/${TagKey}

寫入

DeleteTrustAnchor

准許刪除信任錨點

trust-anchor*

aws:ResourceTag/${TagKey}

寫入

DisableCrl

准許停用憑證撤銷清單 (crl)

crl*

aws:ResourceTag/${TagKey}

寫入

DisableProfile

准許停用設定檔

設定檔*

aws:ResourceTag/${TagKey}

寫入

DisableTrustAnchor

准許停用信任錨點

trust-anchor*

aws:ResourceTag/${TagKey}

寫入

EnableCrl

准許啟用憑證撤銷清單 (crl)

crl*

aws:ResourceTag/${TagKey}

寫入

EnableProfile

准許啟用設定檔

設定檔*

aws:ResourceTag/${TagKey}

寫入

EnableTrustAnchor

准許啟用信任錨點

trust-anchor*

aws:ResourceTag/${TagKey}

寫入

GetCrl

准許取得憑證撤銷清單 (crl)

crl*

aws:ResourceTag/${TagKey}

讀取

GetProfile

准許取得設定檔

設定檔*

aws:ResourceTag/${TagKey}

讀取

GetSubject

准許取得主旨

主旨*

aws:ResourceTag/${TagKey}

讀取

GetTrustAnchor

准許取得信任錨點

trust-anchor*

aws:ResourceTag/${TagKey}

讀取

ImportCrl

准許匯入憑證撤銷清單 (crl)

aws:RequestTag/${TagKey}

aws:TagKeys

寫入

ListCrls

准許列出憑證撤銷清單 (crls)

清單

ListProfiles

准許列出設定檔

清單

ListSubjects

准許列出主旨

清單

ListTagsForResource

准許列出資源的標籤

清單

ListTrustAnchors

准許列出信任錨點

清單

PutAttributeMapping

准許將映射規則放入設定檔

設定檔*

aws:ResourceTag/${TagKey}

寫入

PutNotificationSettings

准許將通知設定附加至信任錨

trust-anchor*

aws:ResourceTag/${TagKey}

寫入

ResetNotificationSettings

准許將自訂通知設定重設為 IAM Roles Anywhere 定義的預設狀態

trust-anchor*

aws:ResourceTag/${TagKey}

寫入

TagResource

准許標記資源

crl

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

標記、寫入

profile

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

主旨

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

trust-anchor

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

UntagResource

准許取消標記資源

crl

aws:ResourceTag/${TagKey}

aws:TagKeys

標記、寫入

profile

aws:ResourceTag/${TagKey}

aws:TagKeys

主旨

aws:ResourceTag/${TagKey}

aws:TagKeys

trust-anchor

aws:ResourceTag/${TagKey}

aws:TagKeys

UpdateCrl

准許更新憑證撤銷清單 (crl)

crl*

aws:ResourceTag/${TagKey}

寫入

UpdateProfile

准許更新設定檔

設定檔*

aws:ResourceTag/${TagKey}

寫入

UpdateTrustAnchor

准許更新信任錨點

trust-anchor*

aws:ResourceTag/${TagKey}

寫入

AWS Identity and Access Management Roles Anywhere 定義的資源類型

此服務會定義下列資源類型,並可用在 IAM 許可政策陳述式的 Resource 元素中。

資源類型 ARN 條件索引鍵

crl

arn:${Partition}:rolesanywhere:${Region}:${Account}:crl/${CrlId}

aws:ResourceTag/${TagKey}

設定檔

arn:${Partition}:rolesanywhere:${Region}:${Account}:profile/${ProfileId}

aws:ResourceTag/${TagKey}

主旨

arn:${Partition}:rolesanywhere:${Region}:${Account}:subject/${SubjectId}

aws:ResourceTag/${TagKey}

trust-anchor

arn:${Partition}:rolesanywhere:${Region}:${Account}:trust-anchor/${TrustAnchorId}

aws:ResourceTag/${TagKey}

AWS Identity and Access Management Roles Anywhere 的條件索引鍵

AWS Identity and Access Management Roles Anywhere 定義了下列條件索引鍵,可用於 IAM 政策的 Condition元素。

條件索引鍵 描述 Type

aws:RequestTag/${TagKey}

依要求中傳遞的標籤來篩選存取權

String

aws:ResourceTag/${TagKey}

依與資源關聯的標籤來篩選存取權

String

aws:TagKeys

依要求中傳遞的標籤索引鍵來篩選存取權

ArrayOfString