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

unable to find credentials via credential_process #12

Open
kurtharriger opened this issue Apr 27, 2024 · 1 comment
Open

unable to find credentials via credential_process #12

kurtharriger opened this issue Apr 27, 2024 · 1 comment

Comments

@kurtharriger
Copy link

I am using aws-vault and using credential_process to secure my credentials in the keychain.
https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-sourcing-external.html

[profile fluree-kharriger-sandbox]
credential_process=aws-vault export fluree-kharriger-sandbox --no-session --format=json
region=us-east-1

typically exporting aws profile is sufficient.

export AWS_PROFILE=fluree-kharriger-sandbox
bb cidr.clj
2024-04-27T16:07:00.530Z Kurts-MacBook-Pro.local DEBUG [com.grzm.awyeah.credentials:174] - Unable to fetch credentials from environment variables.
2024-04-27T16:07:00.535Z Kurts-MacBook-Pro.local DEBUG [com.grzm.awyeah.credentials:174] - Unable to fetch credentials from system properties.
2024-04-27T16:07:05.540Z Kurts-MacBook-Pro.local DEBUG [com.grzm.awyeah.credentials:174] - Unable to fetch credentials from environment variables.
2024-04-27T16:07:05.540Z Kurts-MacBook-Pro.local DEBUG [com.grzm.awyeah.credentials:174] - Unable to fetch credentials from system properties.
nil

As a workaround I can export the credentials per invocation with aws-vault exec

 aws-vault exec fluree-kharriger-sandbox -- bb cidr.clj

Something to keep in mind to support in future.

@kurtharriger kurtharriger changed the title unable to find credentials unable to find credentials via credential_process Apr 27, 2024
@eoliphan
Copy link

eoliphan commented Sep 10, 2024

I'm having the same problem with our saml2aws creds. setting AWS_PROFILE=mysamlprofile, etc doesn't work in the repl or at the cmdline

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

No branches or pull requests

2 participants