Skip to content

Commit

Permalink
docs(credential-provider-node): behavior when roleAssumer is not prov…
Browse files Browse the repository at this point in the history
…ided (#1950)

Co-authored-by: Trivikram Kamat <[email protected]>
  • Loading branch information
dmattia and trivikr authored Aug 17, 2023
1 parent 7196b68 commit 015cd79
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/credential-provider-node/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ supported:
code and `mfaCodeProvider` is not a valid function, the credential provider
promise will be rejected.
- `roleAssumer` - A function that assumes a role and returns a promise
fulfilled with credentials for the assumed role. If not specified, the SDK
will create an STS client and call its `assumeRole` method.
fulfilled with credentials for the assumed role. If not specified, no role
will be assumed, and an error will be thrown.
- `roleArn` - ARN to assume. If not specified, the provider will use the value
in the `AWS_ROLE_ARN` environment variable.
- `webIdentityTokenFile` - File location of where the `OIDC` token is stored.
Expand Down

0 comments on commit 015cd79

Please sign in to comment.