Skip to content

Instantly share code, notes, and snippets.

@PatrickHeneise
Last active August 31, 2018 11:50
Show Gist options
  • Save PatrickHeneise/a2897930d65d057e9b3b348f1a306d12 to your computer and use it in GitHub Desktop.
Save PatrickHeneise/a2897930d65d057e9b3b348f1a306d12 to your computer and use it in GitHub Desktop.
Google Clouf Function Deployment
ES_HOST: 123.europe-west1.gcp.cloud.es.io
ES_PORT: '9243'
ES_AUTH: elastic:something
encrypt:
gcloud kms encrypt \
--project=project-dev \
--plaintext-file=.staging.yaml \
--ciphertext-file=staging.yaml.enc \
--location=global \
--keyring=project \
--key=build
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment