Class: AWS.Signer
- Inherits:
-
AWS.Service
- Object
- AWS.Service
- AWS.Signer
- Identifier:
- signer
- API Version:
- 2017-08-25
- Defined in:
- (unknown)
Overview
Constructs a service interface object. Each API operation is exposed as a function on service.
Service Description
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 deployment packages. Integrated support is provided for Amazon S3, Amazon CloudWatch, and AWS CloudTrail. 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 and AWS IoT Device Management, and is integrated with AWS Certificate Manager (ACM). 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, 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.
Sending a Request Using Signer
var signer = new AWS.Signer();
signer.addProfilePermission(params, function (err, data) {
if (err) console.log(err, err.stack); // an error occurred
else console.log(data); // successful response
});
Locking the API Version
In order to ensure that the Signer object uses this specific API, you can
construct the object by passing the apiVersion option to the constructor:
var signer = new AWS.Signer({apiVersion: '2017-08-25'});
You can also set the API version globally in AWS.config.apiVersions using
the signer service identifier:
AWS.config.apiVersions = {
signer: '2017-08-25',
// other service API versions
};
var signer = new AWS.Signer();
Waiter Resource States
This service supports a list of resource states that can be polled using the waitFor() method. The resource states are:
Constructor Summary collapse
-
new AWS.Signer(options = {}) ⇒ Object
constructor
Constructs a service object.
Property Summary collapse
-
endpoint ⇒ AWS.Endpoint
readwrite
An Endpoint object representing the endpoint URL for service requests.
Properties inherited from AWS.Service
Method Summary collapse
-
addProfilePermission(params = {}, callback) ⇒ AWS.Request
Adds cross-account permissions to a signing profile.
.
-
cancelSigningProfile(params = {}, callback) ⇒ AWS.Request
Changes the state of an
ACTIVEsigning profile toCANCELED. -
describeSigningJob(params = {}, callback) ⇒ AWS.Request
Returns information about a specific code signing job.
-
getRevocationStatus(params = {}, callback) ⇒ AWS.Request
Retrieves the revocation status of one or more of the signing profile, signing job, and signing certificate.
.
-
getSigningPlatform(params = {}, callback) ⇒ AWS.Request
Returns information on a specific signing platform.
.
-
getSigningProfile(params = {}, callback) ⇒ AWS.Request
Returns information on a specific signing profile.
.
-
listProfilePermissions(params = {}, callback) ⇒ AWS.Request
Lists the cross-account permissions associated with a signing profile.
.
-
listSigningJobs(params = {}, callback) ⇒ AWS.Request
Lists all your signing jobs.
-
listSigningPlatforms(params = {}, callback) ⇒ AWS.Request
Lists all signing platforms available in AWS Signer that match the request parameters.
-
listSigningProfiles(params = {}, callback) ⇒ AWS.Request
Lists all available signing profiles in your AWS account.
-
listTagsForResource(params = {}, callback) ⇒ AWS.Request
Returns a list of the tags associated with a signing profile resource.
.
-
putSigningProfile(params = {}, callback) ⇒ AWS.Request
Creates a signing profile.
-
removeProfilePermission(params = {}, callback) ⇒ AWS.Request
Removes cross-account permissions from a signing profile.
.
-
revokeSignature(params = {}, callback) ⇒ AWS.Request
Changes the state of a signing job to REVOKED.
-
revokeSigningProfile(params = {}, callback) ⇒ AWS.Request
Changes the state of a signing profile to REVOKED.
-
signPayload(params = {}, callback) ⇒ AWS.Request
Signs a binary payload and returns a signature envelope.
.
-
startSigningJob(params = {}, callback) ⇒ AWS.Request
Initiates a signing job to be performed on the code provided.
-
tagResource(params = {}, callback) ⇒ AWS.Request
Adds one or more tags to a signing profile.
-
untagResource(params = {}, callback) ⇒ AWS.Request
Removes one or more tags from a signing profile.
-
waitFor(state, params = {}, callback) ⇒ AWS.Request
Waits for a given Signer resource.
Methods inherited from AWS.Service
makeRequest, makeUnauthenticatedRequest, setupRequestListeners, defineService
Constructor Details
new AWS.Signer(options = {}) ⇒ Object
Constructs a service object. This object has one method for each API operation.
Property Details
Method Details
addProfilePermission(params = {}, callback) ⇒ AWS.Request
Adds cross-account permissions to a signing profile.
cancelSigningProfile(params = {}, callback) ⇒ AWS.Request
Changes the state of an ACTIVE signing profile to CANCELED. A canceled profile is still viewable with the ListSigningProfiles operation, but it cannot perform new signing jobs, and is deleted two years after cancelation.
describeSigningJob(params = {}, callback) ⇒ AWS.Request
Returns information about a specific code signing job. You specify the job by using the jobId value that is returned by the StartSigningJob operation.
getRevocationStatus(params = {}, callback) ⇒ AWS.Request
Retrieves the revocation status of one or more of the signing profile, signing job, and signing certificate.