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

[RFC] Add support for AWS Standard Credential Provider Chain #55

Open
AdamTylerLynch opened this issue Dec 14, 2023 · 3 comments
Open
Labels
enhancement New feature or request help wanted Extra attention is needed question Further information is requested

Comments

@AdamTylerLynch
Copy link

Recommend implementing the standard credential provider chain as per AWS SDK standards. The providers have an order of precedence, and support refresh tokens for federation, operating in containers, and EC2 assume role.

Adding these would provide consistent experiences across runtime environment, and provide the ability to leverage AWS-lite for specific parts of an application (strangler pattern) without having to change/amend the application’s credential provider.

https://docs.aws.amazon.com/sdkref/latest/guide/standardized-credentials.html

@ryanblock
Copy link
Member

Stoked for this issue! General thoughts:

  • Where feasible and ergonomic for devs, aws-lite aims to adopt the conventions set by the AWS SDK
  • As of today, I believe we have support for two steps in the chain: access keys (of course) and process credential provider
  • I think it probably makes sense to eventually support any steps in the credential provider chain that are relevant to the aws-lite use case
  • Within this context, we may generally break with existing conventions anywhere that has a meaningful impact on initialization or per-request performance; such cases, if supported, would likely be explicitly opt-in

Does AWS have any information / telemetry about the frequency of usage in the provider chain? What steps would be the priority?

Finally: PRs welcome! :)

@ryanblock
Copy link
Member

Bump @AdamTylerLynch!

@ryanblock ryanblock added enhancement New feature or request help wanted Extra attention is needed question Further information is requested labels Jan 16, 2024
@mhart
Copy link

mhart commented Feb 12, 2024

Back in the day I created https://github.com/mhart/awscred – but I imagine there are more credential sources these days

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed question Further information is requested
Development

No branches or pull requests

3 participants