Skip to content

Instantly share code, notes, and snippets.

@dustinmm80
Created April 23, 2015 18:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dustinmm80/0cfabf9ce3b3f99964d7 to your computer and use it in GitHub Desktop.
Save dustinmm80/0cfabf9ce3b3f99964d7 to your computer and use it in GitHub Desktop.
Applying a Conjur identity to a Heroku app
# Applying a Conjur identity to a Heroku app via config vars
# Name of your conjur organization
heroku config:set CONJUR_ACCOUNT=myorg
# Endpoint of your Conjur server
heroku config:set CONJUR_APPLIANCE_URL=https://conjur-master.myorg.com/api
# Name of the host you created to represent the Heroku app
heroku config:set CONJUR_AUTHN_LOGIN=host/production/heroku/demo-factory-conjur
# API key of the host you created
heroku config:set CONJUR_AUTHN_API_KEY=sb0ncv1yj9c4w2e9pb1a2s8eh18dgf1gfz3nb31ft33s7nnz1cjw1r7
# Name of the policy defining variables and layer
heroku config:set CONJUR_POLICY_ID=production/demo-factory-1-0
# Public certificate to authorize access to Conjur server
heroku config:set CONJUR_SSL_CERTIFICATE=$(cat /path/to/conjur-myorg.pem)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment