Skip to content

Using Keychain

leonbarrett edited this page Jan 2, 2013 · 1 revision
Clone this wiki locally

If you are using OS X there is now an option to store your Beanstalk password in your keychain. Follow the steps below to create the keychain item. The script will then access this keychain item rather than the password in the config file.

  1. Open Keychain Access (located in Applications > Utilities).
  2. Select File > New Password Item...
  3. In the Keychain Item Name field, enter beanstalkcli
  4. In the Account Name, enter beanstalkcli (this needs to be exactly beanstalkcli)
  5. Enter your password in the Password field
  6. Click Add

Keychain Password

Now you can configure the script. Fire up Terminal and type

beanstalk -m account:config

You'll be prompted for your beanstalk username and account name. You'll also be prompted for access to your Keychain. Click Always Allow to continue.

Keychain access

That's it, your password is now stored within Keychain, rather than in a plain text config file

Something went wrong with that request. Please try again.