lein-dotenv icon indicating copy to clipboard operation
lein-dotenv copied to clipboard

AWS warnings when attempting to deploy when using lein-dotenv

Open aneilbaboo opened this issue 3 years ago • 1 comments

Adding [lein-dotenv "RELEASE"] to my plugins results in this warning when I attempt to lein deploy myrepo.

My project file contains:

 :repositories {"myrepo" {:url        "s3p://my-repo-bucket/"
                              :username   #=(eval (System/getenv "MAVEN_REPO_AWS_ACCESS_KEY_ID"))
                              :passphrase #=(eval (System/getenv "MAVEN_REPO_AWS_ACCESS_KEY_SECRET"))}}

Running lein deploy repo results in this:

Mar 05, 2022 5:02:26 AM com.amazonaws.auth.profile.internal.BasicProfileConfigLoader loadProfiles
WARNING: Your profile name includes a 'profile ' prefix. This is considered part of the profile name in the Java SDK, so you will need to include this prefix in your profile name when you reference this profile from your Java code.
Mar 05, 2022 5:02:26 AM com.amazonaws.auth.profile.internal.BasicProfileConfigLoader loadProfiles
WARNING: Your profile name includes a 'profile ' prefix. This is considered part of the profile name in the Java SDK, so you will need to include this prefix in your profile name when you reference this profile from your Java code.
Mar 05, 2022 5:02:26 AM com.amazonaws.auth.profile.internal.BasicProfileConfigLoader loadProfiles
WARNING: Your profile name includes a 'profile ' prefix. This is considered part of the profile name in the Java SDK, so you will need to include this prefix in your profile name when you reference this profile from your Java code.
Mar 05, 2022 5:02:26 AM com.amazonaws.auth.profile.internal.BasicProfileConfigLoader loadProfiles
WARNING: Your profile name includes a 'profile ' prefix. This is considered part of the profile name in the Java SDK, so you will need to include this prefix in your profile name when you reference this profile from your Java code.
Mar 05, 2022 5:02:26 AM com.amazonaws.auth.profile.internal.BasicProfileConfigLoader loadProfiles
WARNING: Your profile name includes a 'profile ' prefix. This is considered part of the profile name in the Java SDK, so you will need to include this prefix in your profile name when you reference this profile from your Java code.
Mar 05, 2022 5:02:26 AM com.amazonaws.auth.profile.internal.BasicProfileConfigLoader loadProfiles
WARNING: Your profile name includes a 'profile ' prefix. This is considered part of the profile name in the Java SDK, so you will need to include this prefix in your profile name when you reference this profile from your Java code.
Mar 05, 2022 5:02:26 AM com.amazonaws.auth.profile.internal.BasicProfileConfigLoader loadProfiles
WARNING: Your profile name includes a 'profile ' prefix. This is considered part of the profile name in the Java SDK, so you will need to include this prefix in your profile name when you reference this profile from your Java code.
Mar 05, 2022 5:02:26 AM com.amazonaws.auth.profile.internal.BasicProfileConfigLoader loadProfiles
WARNING: Your profile name includes a 'profile ' prefix. This is considered part of the profile name in the Java SDK, so you will need to include this prefix in your profile name when you reference this profile from your Java code.

aneilbaboo avatar Mar 05 '22 13:03 aneilbaboo

Not sure what's going on here but would welcome a fix!

tpope avatar Mar 05 '22 13:03 tpope