Closed cloudify closed 10 years ago
Never mind, I just realized that all this logic is already in ivy-s3-resolver
:smile_cat:
Perhaps you should just amend the docs saying that the credentials will be looked up from the instance metadata if the s3credentialsFile
doesn't get set.
Sure, we will fix the docs. Thanks!
I also wanted to make it possible to set credentials through the standard sbt credentials
key, but don't know so far, how to make it better...
Added some functionality to validate the readability of the file set in
s3credentialsFile
, plus fall back toDefaultAWSCredentialsProviderChain
if the credentials cannot be read from the file. This makes possible to lookup the credentials provided by the IAM instance profile on an EC2 instance.