getCredentialsForIdentity
inline suspend fun CognitoIdentityClient.getCredentialsForIdentity(crossinline block: GetCredentialsForIdentityRequest.Builder.() -> Unit): GetCredentialsForIdentityResponse
Returns credentials for the provided identity ID. Any provided logins will be validated against supported login providers. If the token is for cognito-identity.amazonaws.com
, it will be passed through to Security Token Service with the appropriate role for the token.
This is a public API. You do not need any credentials to call this API.