Skip to content

Commit

Permalink
pass aws session token to ssm and kms clients
Browse files Browse the repository at this point in the history
  • Loading branch information
jing-emma committed Jan 3, 2024
1 parent 6bcc04a commit ceed3d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/internal/kms.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ export class KMSClient extends AWSClient {
credentials: {
accessKeyId: awsConfig.accessKeyId,
secretAccessKey: awsConfig.secretAccessKey,
sessionToken: awsConfig.sessionToken,
},
uriEscapePath: true,
applyChecksum: false,
Expand Down
1 change: 1 addition & 0 deletions src/internal/ssm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ export class SystemsManagerClient extends AWSClient {
credentials: {
accessKeyId: awsConfig.accessKeyId,
secretAccessKey: awsConfig.secretAccessKey,
sessionToken: awsConfig.sessionToken,
},
uriEscapePath: true,
applyChecksum: false,
Expand Down

0 comments on commit ceed3d3

Please sign in to comment.