put_signing_profile
(**kwargs)¶Creates a signing profile. A signing profile is a code signing template that can be used to carry out a pre-defined signing job. For more information, see http://docs.aws.amazon.com/signer/latest/developerguide/gs-profile.html
See also: AWS API Documentation
Request Syntax
response = client.put_signing_profile(
profileName='string',
signingMaterial={
'certificateArn': 'string'
},
signatureValidityPeriod={
'value': 123,
'type': 'DAYS'|'MONTHS'|'YEARS'
},
platformId='string',
overrides={
'signingConfiguration': {
'encryptionAlgorithm': 'RSA'|'ECDSA',
'hashAlgorithm': 'SHA1'|'SHA256'
},
'signingImageFormat': 'JSON'|'JSONEmbedded'|'JSONDetached'
},
signingParameters={
'string': 'string'
},
tags={
'string': 'string'
}
)
[REQUIRED]
The name of the signing profile to be created.
The AWS Certificate Manager certificate that will be used to sign code with the new signing profile.
The Amazon Resource Name (ARN) of the certificates that is used to sign your code.
The default validity period override for any signature generated using this signing profile. If unspecified, the default is 135 months.
The numerical value of the time unit for signature validity.
The time unit for signature validity.
[REQUIRED]
The ID of the signing platform to be created.
A subfield of platform
. This specifies any different configuration options that you want to apply to the chosen platform (such as a different hash-algorithm
or signing-algorithm
).
A signing configuration that overrides the default encryption or hash algorithm of a signing job.
A specified override of the default encryption algorithm that is used in a code signing job.
A specified override of the default hash algorithm that is used in a code signing job.
A signed image is a JSON object. When overriding the default signing platform configuration, a customer can select either of two signing formats, JSONEmbedded
or JSONDetached
. (A third format value, JSON
, is reserved for future use.) With JSONEmbedded
, the signing image has the payload embedded in it. With JSONDetached
, the payload is not be embedded in the signing image.
Map of key-value pairs for signing. These can include any information that you want to use during signing.
Tags to be associated with the signing profile that is being created.
dict
Response Syntax
{
'arn': 'string',
'profileVersion': 'string',
'profileVersionArn': 'string'
}
Response Structure
(dict) --
arn (string) --
The Amazon Resource Name (ARN) of the signing profile created.
profileVersion (string) --
The version of the signing profile being created.
profileVersionArn (string) --
The signing profile ARN, including the profile version.
Exceptions
signer.Client.exceptions.ResourceNotFoundException
signer.Client.exceptions.AccessDeniedException
signer.Client.exceptions.ValidationException
signer.Client.exceptions.TooManyRequestsException
signer.Client.exceptions.InternalServiceErrorException