Skip to content
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

Placing AWS credentials in ~/.lein/profile.clj doesn't work with Leiningen 2.0.0-preview10 #25

Open
clizzin opened this issue Nov 17, 2012 · 2 comments

Comments

@clizzin
Copy link

clizzin commented Nov 17, 2012

I use lein-beanstalk in my project by putting the following in my project.clj:

  :plugins [[lein-beanstalk "0.2.6"]]

I then edit ~/.lein/profile.clj to contain my AWS credentials, as advised by the README:

{:user
 {:aws {:access-key "xxx"
        :secret-key "xxx"}}}

I then run lein beanstalk deploy development but get this error:

No credentials found; please add to ~/.lein/init.clj: (def lein-beanstalk-credentials {:access-key "XXX" :secret-key "YYY"})

If I run lein version, I see Leiningen 2.0.0-preview10 on Java 1.6.0_35 Java HotSpot(TM) 64-Bit Server VM. This was installed via Homebrew on Mac OS X Lion.

What am I doing wrong? Or is the README not up-to-date? Thanks!

@weavejester
Copy link
Owner

It's a typo in the README - it should be ~/.lein/profiles.clj with an "s". I'll fix it soon.

@clizzin
Copy link
Author

clizzin commented Nov 18, 2012

Perfect. Thanks for the quick reply!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants