View a markdown version of this page

的操作、资源和条件键 Amazon 签署人 - 服务授权参考
Amazon Web Services 文档中描述的 Amazon Web Services 服务或功能可能因区域而异。要查看适用于中国区域的差异,请参阅 中国的 Amazon Web Services 服务入门 (PDF)。

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

的操作、资源和条件键 Amazon 签署人

Amazon 签名者(服务前缀: signer) 提供以下特定服务的操作、资源、操作和条件密钥,用于 IAM 权限策略。

参考:

API 操作定义为 Amazon 签署人

下表将 API 操作映射到它们授权的 IAM 操作。仅列出具有给定 API 和操作静态值的条件密钥;有关每个操作支持的全套条件密钥,请参阅 操作表。

操作 SDK 客户端 IAM 操作 条件键 可能的值 访问级别

AddProfilePermission

signer

signer:AddProfilePermission

权限管理,写入

CancelSigningProfile

signer

signer:CancelSigningProfile

写入

DescribeSigningJob

signer

signer:DescribeSigningJob

读取

GetRevocationStatus

signer

signer:GetRevocationStatus

读取

GetSigningPlatform

signer

signer:GetSigningPlatform

读取

GetSigningProfile

signer

signer:GetSigningProfile

读取

ListProfilePermissions

signer

signer:ListProfilePermissions

读取

ListSigningJobs

signer

signer:ListSigningJobs

列表

ListSigningPlatforms

signer

signer:ListSigningPlatforms

列表

ListSigningProfiles

signer

signer:ListSigningProfiles

列表

ListTagsForResource

signer

signer:ListTagsForResource

读取

PutSigningProfile

signer

signer:PutSigningProfile

写入

signer:TagResource

标记、写入

RemoveProfilePermission

signer

signer:RemoveProfilePermission

权限管理,写入

RevokeSignature

signer

signer:RevokeSignature

写入

RevokeSigningProfile

signer

signer:RevokeSigningProfile

写入

SignPayload

signer

signer:SignPayload

写入

StartSigningJob

signer

signer:StartSigningJob

写入

TagResource

signer

signer:TagResource

标记、写入

UntagResource

signer

signer:UntagResource

标记、写入

GetRevocationStatus

signer-data

signer:GetRevocationStatus

读取

动作定义为 Amazon 签署人

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

操作 说明 资源类型(* 为必需) 条件键 访问级别

AddProfilePermission

授予向签名配置文件添加跨账户权限的权限

signing-profile*

aws:ResourceTag/${TagKey}

权限管理,写入

CancelSigningProfile

授予将签名配置文件的状态更改为 CANCELED 的权限

signing-profile*

aws:ResourceTag/${TagKey}

signer:ProfileVersion

Write

DescribeSigningJob

授予返回有关特定签名作业信息的权限

signing-job*

读取

GetRevocationStatus

授予权限以查询签名资源的撤销信息

signing-job*

读取

signing-profile*

aws:ResourceTag/${TagKey}

GetSigningPlatform

授予返回有关特定签名平台信息的权限

Read

GetSigningProfile

授予返回有关特定签名配置文件信息的权限

signing-profile*

aws:ResourceTag/${TagKey}

signer:ProfileVersion

Read

ListProfilePermissions

授予列出与签名配置文件关联的跨账户权限的权限

signing-profile*

aws:ResourceTag/${TagKey}

Read

ListSigningJobs

授予列出账户中所有签名作业的权限

List

ListSigningPlatforms

授予列出所有可用的签名平台的权限

List

ListSigningProfiles

授予列出账户中所有签名配置文件的权限

List

ListTagsForResource

授予列出与 Signing Profile 关联的标签的权限

signing-profile*

aws:ResourceTag/${TagKey}

Read

PutSigningProfile

授予创建新签名配置文件的权限

aws:RequestTag/${TagKey}

aws:TagKeys

Write

RemoveProfilePermission

授予从签名配置文件中删除跨账户权限的权限

signing-profile*

aws:ResourceTag/${TagKey}

权限管理,写入

RevokeSignature

授予将签名作业状态更改为 REVOKED 的权限

signing-job*

signer:ProfileVersion

Write

RevokeSigningProfile

授予将签名配置文件状态更改为 REVOKED 的权限

signing-profile*

aws:ResourceTag/${TagKey}

signer:ProfileVersion

写入

SignPayload

授予权限以对提供的负载启动签名作业

signing-profile*

aws:ResourceTag/${TagKey}

signer:ProfileVersion

写入

StartSigningJob

授予对提供的代码启动签名作业的权限

signing-profile*

aws:ResourceTag/${TagKey}

signer:ProfileVersion

Write

TagResource

授予向签名配置文件添加一个或多个标签的权限

signing-profile*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

标记、写入

UntagResource

授予从 Signing Profile 删除一个或多个标签的权限

signing-profile*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

标记、写入

资源类型定义为 Amazon 签署人

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

资源类型 ARN 条件键

signing-job

arn:${Partition}:signer:${Region}:${Account}:/signing-jobs/${JobId}

signing-profile

arn:${Partition}:signer:${Region}:${Account}:/signing-profiles/${ProfileName}

aws:ResourceTag/${TagKey}

的条件密钥 Amazon 签署人

Amazon 签名者定义了以下条件密钥,这些密钥可用于 Condition IAM 政策的元素。

条件键 描述 类型

aws:RequestTag/${TagKey}

按每个标签的允许值集筛选访问

String

aws:ResourceTag/${TagKey}

按与资源关联的标签值筛选访问权限

String

aws:TagKeys

按请求中是否具有必需标签来筛选访问

ArrayOfString

signer:ProfileVersion

根据签名配置文件的版本筛选访问

String