Skip to content

Commit

Permalink
Export sdk credentials provider from the credentials chain.
Browse files Browse the repository at this point in the history
  • Loading branch information
Xantier committed Jun 13, 2024
1 parent f99b92f commit 6017323
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .changeset/green-moose-sparkle.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@roadiehq/catalog-backend-module-aws': patch
---

Export sdk credentials provider from the credentials chain.
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,11 @@ export abstract class AWSEntityProvider implements EntityProvider {
}

protected async getCredentialsProvider() {
return await this.credentialsManager.getCredentialProvider({
accountId: this.accountId,
});
const awsCredentialProvider =
await this.credentialsManager.getCredentialProvider({
accountId: this.accountId,
});
return awsCredentialProvider.sdkCredentialProvider;
}

protected async getGroups() {
Expand Down

0 comments on commit 6017323

Please sign in to comment.