This repo is deprecated
We are deprecating and archiving https://github.com/alphagov/datagovuk_infrastructure and since this repo is only ever used from there, we are deprecating and archiving this as well.
Cloudfoundry Scripts for data.gov.uk
CF_SECRETS_IDENTIFIER- default 'secrets' - this value is whatever you call your credential-carrying user provided services
set-credential <APP_NAME> <KEY> <VALUE>- sets a single value on a user provided cf servicelist-credentials <APP_NAME>- spits out a JSON of secrets an app has access tobackup-credentials- script that saves JSONs for all of the secrets reposrestore-credentials <PATH_TO_DUMP_JSON>- takes a saved json frombackup-orlist-credentialsand creates or updates the serviceprune-old&prune-new- easy delete for apps with-oldor-newsuffixes, e.g. from (old/failed) blue-green deployslist-services- dumps a JSON list of all your services, including credentials for any user provided services, and syslog drain url for any service with 'logit' in its namesyslog-drain- prints the syslog drain url for a given app