put_signing_profile
¶
put_signing_profile(
profile_name: ProfileName,
platform_id: PlatformId,
*,
config_overrides: Optional[signerClientConfig] = None,
signing_material: Optional[SigningMaterial] = None,
signature_validity_period: Optional[SignatureValidityPeriod] = None,
overrides: Optional[SigningPlatformOverrides] = None,
signing_parameters: Optional[SigningParameters] = None,
tags: Optional[TagMap] = None,
) -> PutSigningProfileResponse
Creates a signing profile. A signing profile is a code-signing template that can be used to carry out a pre-defined signing job.
Parameters:
-
profile_name(ProfileName) –The name of the signing profile to be created.
-
signing_material(Optional[SigningMaterial], default:None) –The AWS Certificate Manager certificate that will be used to sign code with the new signing profile.
-
signature_validity_period(Optional[SignatureValidityPeriod], default:None) –The default validity period override for any signature generated using this signing profile. If unspecified, the default is 135 months.
-
platform_id(PlatformId) –The ID of the signing platform to be created.
-
overrides(Optional[SigningPlatformOverrides], default:None) –A subfield of
platform. This specifies any different configuration options that you want to apply to the chosen platform (such as a differenthash-algorithmorsigning-algorithm). -
signing_parameters(Optional[SigningParameters], default:None) –Map of key-value pairs for signing. These can include any information that you want to use during signing.
-
tags(Optional[TagMap], default:None) –Tags to be associated with the signing profile that is being created.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
InternalServiceErrorException–An internal error occurred.
-
ResourceNotFoundException–A specified resource could not be found.
-
TooManyRequestsException–The allowed number of job-signing requests has been exceeded.
This error supersedes the error
ThrottlingException. -
ValidationException–You signing certificate could not be validated.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_signer/_services/signer.py
937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 | |