Skip to content

Commit 38da900

Browse files
authored
feat(types): add accountId to the credential identity interface (#1240)
* feat(identity): add accountId to the credential identity interface * chore(types): add changeset * chore(types): update docstring for accountId
1 parent 78cb9a8 commit 38da900

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

.changeset/strong-timers-join.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@smithy/types": minor
3+
---
4+
5+
adds accountId to the AwsCredentialIdentity interface

packages/types/src/identity/awsCredentialIdentity.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@ export interface AwsCredentialIdentity extends Identity {
2424
* AWS credential scope for this set of credentials.
2525
*/
2626
readonly credentialScope?: string;
27+
28+
/**
29+
* AWS accountId.
30+
*/
31+
readonly accountId?: string;
2732
}
2833

2934
/**

0 commit comments

Comments
 (0)