com.monsanto.arch.awsutil.securitytoken
Returns a set of temporary security credentials you can use to access AWS resources to which you might not normally have access.
Returns a set of temporary security credentials you can use to access AWS resources to which you might not normally have access.
If you do not need to specify an MFA token or policy and do not require the full request object, you may wish to
use assumeRole(roleArn, sessionName)
or
assumeRole(roleArn, sessionName, externalId)
.
the full request, consisting of a role ARN, a session name, and other option parameters
the full result from AWS, which includes the credentials, assumed role information, and the packed policy size
Returns a set of temporary security credentials you can use to access AWS resources to which you might not normally have access.
Returns a set of temporary security credentials you can use to access AWS resources to which you might not normally have access.
If you need to specify a policy, custom duration, or MFA token, or if you need access to the full result from
AWS, you will need to use the assumeRole(request)
method.
the ARN of the role to assume
the name of the assumed role session
an external ID to include in the request
temporary security credentials for the assumed role
Returns a set of temporary security credentials you can use to access AWS resources to which you might not normally have access.
Returns a set of temporary security credentials you can use to access AWS resources to which you might not normally have access.
If you need to specify a policy, custom duration, or MFA token, or if you need access to the full result from
AWS, you will need to use the assumeRole(request)
method.
the ARN of the role to assume
the name of the assumed role session
temporary security credentials for the assumed role