get_signing_certificate
(**kwargs)¶This method takes a user pool ID, and returns the signing certificate. The issued certificate is valid for 10 years from the date of issue.
Amazon Cognito issues and assigns a new signing certificate annually. This process returns a new value in the response to GetSigningCertificate
, but doesn't invalidate the original certificate.
See also: AWS API Documentation
Request Syntax
response = client.get_signing_certificate(
UserPoolId='string'
)
[REQUIRED]
The user pool ID.
{
'Certificate': 'string'
}
Response Structure
Response from Amazon Cognito for a signing certificate request.
The signing certificate.
Exceptions
CognitoIdentityProvider.Client.exceptions.InternalErrorException
CognitoIdentityProvider.Client.exceptions.InvalidParameterException
CognitoIdentityProvider.Client.exceptions.ResourceNotFoundException