-
Notifications
You must be signed in to change notification settings - Fork 6
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
Apparently dotenvi doesn't respect AWS_PROFILE
or AWS_DEFAULT_PROFILE
#24
Comments
It seems to work if you hard-code your keys in |
this. |
Oy I still gotta fix this! |
So some notes so I can revisit this at a later point - only have a few minutes to take a look... The javascript SDK uses
so there's something funky going on in the credstash node.js logic. |
@ewyler for reference to this issue |
@ksteiny I think the javascript API only respects the profiles listed in the |
hey @b3ross i suspect you'll want to explicitly set |
@hakamadare, ah good find. @ksteiny does the above suggestion fix this issue? ^^^. I don't have an AWS setup available offhand to test this. |
@b3ross i was able to get the desired behavior by modifying // set AWS_SDK_LOAD_CONFIG to pull in ~/.aws/config
process.env.AWS_SDK_LOAD_CONFIG = "true"
import * as AWS from 'aws-sdk'; that could possibly be more sophisticated (maybe only set it if it's unset in the environment?) |
@goldcaddy77 to add more information
The text was updated successfully, but these errors were encountered: