Official `aws-lite` plugin for STS
npm install @aws-lite/sts@aws-lite/sts> Official aws-lite plugin for STS
> Maintained by: @architect
``sh`
npm i @aws-lite/sts
Optionally install types:
`sh`
npm i -D @aws-lite/sts-types
Reference documentation with examples at aws-lite.org
Reference documentation with examples at aws-lite.org
Properties:
- RoleArn (string) [required]
- ARN of the role to assume
- RoleSessionName (string) [required]
- Identifier for the assumed role session; must conform to [w+=,.@-]*DurationSeconds
- (number)900
- Duration of the role session; from to 43200ExternalId
- (string)Policy
- Unique identifier that might be required when assuming a role in another account
- (string)PolicyArns
- JSON IAM policy document to use as an inline session policy
- (array)ProvidedContexts
- ARNs of the IAM managed policies to use
- (array)SerialNumber
- List of previously acquired trusted context assertions in the format of a JSON array
- More details (AWS)
- (string)SourceIdentity
- MFA device ID associated with the user making the call
- (string)Tags
- Source identity specified by the principal making the call
- (array)Key
- Session tags; each tag is an object containing a and Value propertyTokenCode
- (string)TransitiveTagKeys
- MFA value (if required by the role's trust policy)
- (array)
- Session tags, set as transitive to subsequent sessions in the role chain
- More details (AWS)
Properties:
- RoleArn (string) [required]
- ARN of the role to assume
- PrincipalArn (string) [required]
- ARN of the SAML provider that describes the IdP
- SAMLAssertion (string) [required]
- base64-encoded SAML authentication response provided by the IdP
- DurationSeconds (number)
- Duration of the role session; from 900 to 43200Policy
- (string)PolicyArns
- JSON IAM policy document to use as an inline session policy
- (array)
- ARNs of the IAM managed policies to use
Properties:
- RoleArn (string) [required]
- ARN of the role to assume
- RoleSessionName (string) [required]
- Identifier for the assumed role session; must conform to [w+=,.@-]*WebIdentityToken
- (string) [required]DurationSeconds
- OAuth 2.0 access token or OpenID Connect ID token provided by the IdP
- (number)900
- Duration of the role session; from to 43200ProviderId
- (string)Policy
- Fully qualified host of the domain name of the OAuth 2.0 IdP; do not specify this value for an OpenID Connect identity provider
- (string)PolicyArns
- JSON IAM policy document to use as an inline session policy
- (array)
- ARNs of the IAM managed policies to use
Properties:
- EncodedMessage (string) [required]
- Encoded message returned with the response
Properties:
- AccessKeyId (string) [required]
- AWS access key to query
Properties:
Properties:
- Name (string) [required]
- Name of the federated user
- DurationSeconds (number)
- Duration of the role session; from 900 to 43200Policy
- (string)PolicyArns
- JSON IAM policy document to use as an inline session policy
- (array)Tags
- ARNs of the IAM managed policies to use
- (array)Key
- Session tags; each tag is an object containing a and Value property
Properties:
- DurationSeconds (number)
- Duration of the role session; from 900 to 43200SerialNumber
- (string)TokenCode
- MFA device ID associated with the user making the call
- (string)
- MFA value (if required by the role's trust policy)
- More information about the aws-lite plugin API
- Learn about contributing to this and other aws-lite` plugins