CmdID

CmdID / aws / aws account-access-runtime

aws account-access-runtime get-role-credentials

Returns temporary Amazon Web Services credentials for a role that you are entitled to assume within a tenant. AWS CLI reference

5 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Options

5 in the AWS CLI reference
--access-typeThe type of access to request for the role.
--role-arnThe Amazon Resource Name (ARN) of the role to retrieve credentials for.
--session-durationThe duration, in seconds, that the returned credentials remain valid.
--session-nameAn optional name for the role session.
--tenant-idThe identifier of the tenant that the request applies to.