CognitoIdentityProvider / Client / start_web_authn_registration
start_web_authn_registration#
- CognitoIdentityProvider.Client.start_web_authn_registration(**kwargs)#
Requests credential creation options from your user pool for the currently signed-in user. Returns information about the user pool, the user profile, and authentication requirements. Users must provide this information in their request to enroll your application with their passkey provider.
Authorize this action with a signed-in user’s access token. It must include the scope
aws.cognito.signin.user.admin
.See also: AWS API Documentation
Request Syntax
response = client.start_web_authn_registration( AccessToken='string' )
- Parameters:
AccessToken (string) –
[REQUIRED]
A valid access token that Amazon Cognito issued to the currently signed-in user. Must include a scope claim for
aws.cognito.signin.user.admin
.- Return type:
dict
- Returns:
Response Syntax
{ 'CredentialCreationOptions': {...}|[...]|123|123.4|'string'|True|None }
Response Structure
(dict) –
CredentialCreationOptions (document) –
The information that a user can provide in their request to register with their passkey provider.
Exceptions
CognitoIdentityProvider.Client.exceptions.ForbiddenException
CognitoIdentityProvider.Client.exceptions.InternalErrorException
CognitoIdentityProvider.Client.exceptions.InvalidParameterException
CognitoIdentityProvider.Client.exceptions.LimitExceededException
CognitoIdentityProvider.Client.exceptions.NotAuthorizedException
CognitoIdentityProvider.Client.exceptions.TooManyRequestsException
CognitoIdentityProvider.Client.exceptions.WebAuthnNotEnabledException
CognitoIdentityProvider.Client.exceptions.WebAuthnConfigurationMissingException