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

Support loading S3 credentials from shared credentials file #11609

Open
brandond opened this issue Jan 15, 2025 · 0 comments
Open

Support loading S3 credentials from shared credentials file #11609

brandond opened this issue Jan 15, 2025 · 0 comments
Assignees

Comments

@brandond
Copy link
Member

brandond commented Jan 15, 2025

K3s currently supports loading etcd s3 credentials from 3 places:

  • Config file/cli flags
  • S3 config secret
  • Instance metadata service (IAM)

We should add support for also loading credentials from a shared credentials file (~/.aws/credentials): https://docs.aws.amazon.com/cli/latest/topic/config-vars.html#the-shared-credentials-file

This would make it possible to use AWS_SHARED_CREDENTIALS_FILE and AWS_PROFILE env vars to load credentials from an existing file on disk, in addition to loading credentials from the default file and profile if neither are set.

Ref:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: To Test
Development

No branches or pull requests

1 participant