Skip to content

Commit

Permalink
feat(types): add accountId to the credential identity interface (#1240)
Browse files Browse the repository at this point in the history
* feat(identity): add accountId to the credential identity interface

* chore(types): add changeset

* chore(types): update docstring for accountId
  • Loading branch information
siddsriv authored Jun 12, 2024
1 parent 78cb9a8 commit 38da900
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/strong-timers-join.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@smithy/types": minor
---

adds accountId to the AwsCredentialIdentity interface
5 changes: 5 additions & 0 deletions packages/types/src/identity/awsCredentialIdentity.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ export interface AwsCredentialIdentity extends Identity {
* AWS credential scope for this set of credentials.
*/
readonly credentialScope?: string;

/**
* AWS accountId.
*/
readonly accountId?: string;
}

/**
Expand Down

0 comments on commit 38da900

Please sign in to comment.