Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add v3 client credentials config #94

Merged
merged 1 commit into from
Sep 20, 2023

Conversation

tpetersheim
Copy link
Contributor

I am using AWS SSO and I get an error when the SSO token is expired during integration tests. Adding dummy credentials to the client options fixes the issue.

   CredentialsProviderError: The SSO session associated with this profile has expired. To refresh this SSO session run aws sso login with the corresponding profile.

      at resolveSSOCredentials (node_modules/@aws-sdk/credential-provider-sso/dist-cjs/resolveSSOCredentials.js:33:15)
      at node_modules/@smithy/property-provider/dist-cjs/chain.js:12:33
      at coalesceProvider (node_modules/@smithy/property-provider/dist-cjs/memoize.js:14:24)
      at SignatureV4.credentialProvider (node_modules/@smithy/property-provider/dist-cjs/memoize.js:33:24)
      at SignatureV4.signRequest (node_modules/@smithy/signature-v4/dist-cjs/SignatureV4.js:106:29)
      at node_modules/@aws-sdk/middleware-signing/dist-cjs/awsAuthMiddleware.js:16:18
      at node_modules/@smithy/middleware-retry/dist-cjs/retryMiddleware.js:27:46
      at node_modules/@aws-sdk/middleware-logger/dist-cjs/loggerMiddleware.js:7:26
          at async Promise.all (index 0)
      at node_modules/jest-dynalite/dist/dynamodb/v3.js:68:5

@freshollie freshollie merged commit 8f69405 into freshollie:master Sep 20, 2023
5 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants