Learn R Programming

paws.security.identity (version 0.7.0)

sso_get_role_credentials: Returns the STS short-term credentials for a given role name that is assigned to the user

Description

Returns the STS short-term credentials for a given role name that is assigned to the user.

See https://www.paws-r-sdk.com/docs/sso_get_role_credentials/ for full documentation.

Usage

sso_get_role_credentials(roleName, accountId, accessToken)

Arguments

roleName

[required] The friendly name of the role that is assigned to the user.

accountId

[required] The identifier for the AWS account that is assigned to the user.

accessToken

[required] The token issued by the CreateToken API call. For more information, see CreateToken in the IAM Identity Center OIDC API Reference Guide.