View Source aws_signer (aws v1.0.4)
AWS Signer is a fully managed code-signing service to help you ensure the trust and integrity of your code.
Signer supports the following applications:
With code signing for AWS Lambda, you can sign AWS Lambda: http://docs.aws.amazon.com/lambda/latest/dg/ deployment packages. Integrated support is provided for Amazon S3: http://docs.aws.amazon.com/AmazonS3/latest/gsg/, Amazon CloudWatch: http://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/, and AWS CloudTrail: http://docs.aws.amazon.com/awscloudtrail/latest/userguide/. In order to sign code, you create a signing profile and then use Signer to sign Lambda zip files in S3.
With code signing for IoT, you can sign code for any IoT device that is supported by AWS. IoT code signing is available for Amazon FreeRTOS: http://docs.aws.amazon.com/freertos/latest/userguide/ and AWS IoT Device Management: http://docs.aws.amazon.com/iot/latest/developerguide/, and is integrated with AWS Certificate Manager (ACM): http://docs.aws.amazon.com/acm/latest/userguide/. In order to sign code, you import a third-party code-signing certificate using ACM, and use that to sign updates in Amazon FreeRTOS and AWS IoT Device Management.
With Signer and the Notation CLI from the Notary Project: https://notaryproject.dev/, you can sign container images stored in a container registry such as Amazon Elastic Container Registry (ECR). The signatures are stored in the registry alongside the images, where they are available for verifying image authenticity and integrity.
For more information about Signer, see the AWS Signer Developer Guide: https://docs.aws.amazon.com/signer/latest/developerguide/Welcome.html.Summary
Functions
Changes the state of an ACTIVE
signing profile to CANCELED
.
Returns information about a specific code signing job.
Lists all your signing jobs.
Lists all signing platforms available in AWS Signer that match the request parameters.
Lists all available signing profiles in your AWS account.
Creates a signing profile.
Changes the state of a signing job to REVOKED.
Changes the state of a signing profile to REVOKED.
Initiates a signing job to be performed on the code provided.
Adds one or more tags to a signing profile.
Removes one or more tags from a signing profile.
Functions
Changes the state of an ACTIVE
signing profile to CANCELED
.
ListSigningProfiles
operation, but it cannot perform new signing jobs, and is deleted two years after cancelation.
Returns information about a specific code signing job.
You specify the job by using thejobId
value that is returned by the StartSigningJob
operation.
describe_signing_job(Client, JobId, QueryMap, HeadersMap, Options0)
View Sourceget_revocation_status(Client, CertificateHashes, JobArn, PlatformId, ProfileVersionArn, SignatureTimestamp)
View Sourceget_revocation_status(Client, CertificateHashes, JobArn, PlatformId, ProfileVersionArn, SignatureTimestamp, QueryMap, HeadersMap)
View Sourceget_revocation_status(Client, CertificateHashes, JobArn, PlatformId, ProfileVersionArn, SignatureTimestamp, QueryMap, HeadersMap, Options0)
View Sourceget_signing_platform(Client, PlatformId, QueryMap, HeadersMap, Options0)
View Sourceget_signing_profile(Client, ProfileName, QueryMap, HeadersMap, Options0)
View Sourcelist_profile_permissions(Client, ProfileName, QueryMap, HeadersMap)
View Sourcelist_profile_permissions(Client, ProfileName, QueryMap, HeadersMap, Options0)
View SourceLists all your signing jobs.
You can use themaxResults
parameter to limit the number of signing jobs that are returned in the response. If additional jobs remain to be listed, AWS Signer returns a nextToken
value. Use this value in subsequent calls to ListSigningJobs
to fetch the remaining values. You can continue calling ListSigningJobs
with your maxResults
parameter and with new values that Signer returns in the nextToken
parameter until all of your signing jobs have been returned.
Lists all signing platforms available in AWS Signer that match the request parameters.
If additional jobs remain to be listed, Signer returns anextToken
value. Use this value in subsequent calls to ListSigningJobs
to fetch the remaining values. You can continue calling ListSigningJobs
with your maxResults
parameter and with new values that Signer returns in the nextToken
parameter until all of your signing jobs have been returned.
Lists all available signing profiles in your AWS account.
Returns only profiles with anACTIVE
status unless the includeCanceled
request field is set to true
. If additional jobs remain to be listed, AWS Signer returns a nextToken
value. Use this value in subsequent calls to ListSigningJobs
to fetch the remaining values. You can continue calling ListSigningJobs
with your maxResults
parameter and with new values that Signer returns in the nextToken
parameter until all of your signing jobs have been returned.
list_tags_for_resource(Client, ResourceArn, QueryMap, HeadersMap, Options0)
View SourceCreates a signing profile.
A signing profile is a code-signing template that can be used to carry out a pre-defined signing job.remove_profile_permission(Client, ProfileName, StatementId, Input)
View Sourceremove_profile_permission(Client, ProfileName, StatementId, Input0, Options0)
View SourceChanges the state of a signing job to REVOKED.
This indicates that the signature is no longer valid.Changes the state of a signing profile to REVOKED.
This indicates that signatures generated using the signing profile after an effective start date are no longer valid.Initiates a signing job to be performed on the code provided.
Signing jobs are viewable by the ListSigningJobs
operation for two years after they are performed. Note the following requirements:
You must create an Amazon S3 source bucket. For more information, see Creating a Bucket: http://docs.aws.amazon.com/AmazonS3/latest/gsg/CreatingABucket.html in the Amazon S3 Getting Started Guide.
Your S3 source bucket must be version enabled.
You must create an S3 destination bucket. AWS Signer uses your S3 destination bucket to write your signed code.
You specify the name of the source and destination buckets when calling the
StartSigningJob
operation.You must also specify a request token that identifies your request to Signer.
You can call the DescribeSigningJob
and the ListSigningJobs
actions after you call StartSigningJob
.
Adds one or more tags to a signing profile.
Tags are labels that you can use to identify and organize your AWS resources. Each tag consists of a key and an optional value. To specify the signing profile, use its Amazon Resource Name (ARN). To specify the tag, use a key-value pair.Removes one or more tags from a signing profile.
To remove the tags, specify a list of tag keys.