Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

flip AWSAccessKeyId and AWSSecretKey properties in load-credentials

  • Loading branch information...
commit 22525a9bd07adbc959d02716ba6b5f25ced208fe 1 parent eadbe99
@troycald troycald authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/main/clj/com/climate/services/aws/common.clj
View
4 src/main/clj/com/climate/services/aws/common.clj
@@ -50,8 +50,8 @@
" => " props)
; AWSSecretKey/AWSAccessKeyId -- this is the format used by AWS CloudWatch
; access_key/secret_key -- this format is for the s3cmd .s3cfg file
- {:access_id (or (get props "accessKey") (get props "AWSSecretKey") (get props "access_key"))
- :private_key (or (get props "secretKey") (get props "AWSAccessKeyId") (get props "secret_key"))
+ {:access_id (or (get props "accessKey") (get props "AWSAccessKeyId") (get props "access_key"))
+ :private_key (or (get props "secretKey") (get props "AWSSecretKey") (get props "secret_key"))
:keypair (get props "keypair")})))]
(when result (log/debug "Loaded aws-credentials" result))
result))
Please sign in to comment.
Something went wrong with that request. Please try again.