Skip to content

Conversation

@smilkuri
Copy link
Contributor

Issue

Internal JS-6305

Description

Adds support for the login credential provider, allowing users to use AWS Management Console credentials for authentication.

Testing

CI

Checklist

  • [Y] If the PR is a feature, add integration tests (*.integ.spec.ts).
  • [Y] If you wrote E2E tests, are they resilient to concurrent I/O?
  • [Y] If adding new public functions, did you add the @public tag and enable doc generation on the package?

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@smilkuri smilkuri requested a review from a team as a code owner November 19, 2025 20:10
options: FromIniInit
): Promise<AwsCredentialIdentity> => {
const credentials = await fromLoginCredentials({
...options,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does options pass through callerClientConfig and providerConfig.clientConfig?

profile: "my-profile",
credentials: fromLoginCredentials({
// Optional. Defaults to the client's profile if that is set.
// Optional. Should match the profile name used with 'aws login --profile <name>'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the word optional appears twice here

@smilkuri smilkuri merged commit 2c08b1e into main Nov 19, 2025
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.

3 participants