pivotal-cf/bosh_lastpass_plugin

Name: bosh_lastpass_plugin

Owner: Pivotal Cloud Foundry

Description: Last pass integration for BOSH client

Created: 2016-04-29 07:03:00.0

Updated: 2016-05-23 14:08:46.0

Pushed: 2016-06-27 15:00:15.0

Homepage:

Size: 15

Language: Ruby

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Bosh lastpass plugin

Build Status

Store bosh secrets in lastpass instead of the manifest.

How to install
install bosh_lastpass_plugin

If BOSH_USE_BUNDLER=true is set in your environment, you would need to add the gem to the bosh bundle file located at $GEM_HOME/gems/bosh_cli-$BOSH_VERISON/bin/run_bosh_with_bundler.Gemfile. The bosh version can be found using the version subcommand on the bosh cli.

How to use

Use the lpass method in your deployment manifest to extract credentials out of lpass

For example:


: foo-deploy

ctor_uuid: 76f2d2b1-fc3f-47d2-bbfe-4109dc799887

ases:
name: &my-release
version: latest

cells:
alias: trusty
os: ubuntu-trusty
version: latest

ance_groups:
name: my-job
instances: 1
jobs:
  - name: my-job
    release: *my-release
vm_type: medium
persistent_disk_type: ten
stemcell: trusty
networks:
  - name: my-job

erties:
s:
access_key: <%= lpass "shared/aws", "username" %>
secret_access_key: <%= lpass "shared/aws", "password" %>
Contributing
  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request
What is BOSH?

BOSH orchestrates initial deployments and ongoing updates that are: predictable, repeatable, reliable, self-healing, infrastructure-agnostic. You can take a look on BOSH project on GitHub and read more details in docs.

Notes

Generated by BOSH plugin generator


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.