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

credential_process works differently than AWS cli #1761

Open
yan12125 opened this issue Jan 20, 2023 · 1 comment
Open

credential_process works differently than AWS cli #1761

yan12125 opened this issue Jan 20, 2023 · 1 comment
Assignees
Labels

Comments

@yan12125
Copy link

NOTE

If this case is urgent, please subscribe to Subnet so that our 24/7 support team may help you faster.

Expected Behavior

minio-go reads credential_process from ~/.aws/config, like what the official AWS cli does: https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-sourcing-external.html

Current Behavior

minio-go reads credential_process from ~/.aws/credentials, not ~/.aws/config. See #1716.

Possible Solution

Read ~/.aws/config for credential_process

Steps to Reproduce (for bugs)

  1. Configure credential_process following AWS docs
  2. Try to use restic (a backup tool using minio-go) to access a backup repository on S3

Context

As mebtioned above, I'd like to use restic with credential_process

Regression

Not a regression

Your Environment

Linux archlinux 5.15.89-1-lts #1 SMP Wed, 18 Jan 2023 11:24:46 +0000 x86_64 GNU/Linux
@harshavardhana
Copy link
Member

Feel free to send a fix, we should support both files.

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

No branches or pull requests

4 participants