You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, unless I'm missing something, it's impossible. NixOps insists on either accessKeyId being defined in the config (which in turn relies on secrets being present in ~/.aws/credentials) or the environment variables AWS_ACCESS_KEY_ID/EC2_ACCESS_KEY being present.
Boto actually gives you that pretty much for free. You just need to call it without any credentials. Unfortunately the code is littered with those:
self.access_key_id=defn.access_key_idornixops.ec2_utils.get_access_key_id()
ifnotself.access_key_id:
raiseException("please set ‘deployment.ec2.accessKeyId’, $EC2_ACCESS_KEY or $AWS_ACCESS_KEY_ID")
it would be super nice to have one less secret to worry about 😅
The text was updated successfully, but these errors were encountered:
Currently, unless I'm missing something, it's impossible. NixOps insists on either
accessKeyId
being defined in the config (which in turn relies on secrets being present in~/.aws/credentials
) or the environment variables AWS_ACCESS_KEY_ID/EC2_ACCESS_KEY being present.Boto actually gives you that pretty much for free. You just need to call it without any credentials. Unfortunately the code is littered with those:
it would be super nice to have one less secret to worry about 😅
The text was updated successfully, but these errors were encountered: