Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Google Cloud Key Management Service (KMS)

This template creates a Google Cloud KMS KeyRing and Keys.

Prerequisites

Deployment

Resources

Properties

See the properties section in the schema file(s):

Usage

  1. Clone the Deployment Manager samples repository

    git clone https://github.com/GoogleCloudPlatform/cloud-foundation-toolkit
  2. Go to the dm directory

    cd dm
  3. Copy the example DM config to be used as a model for the deployment, in this case examples/kms.yaml

    cp templates/kms/examples/kms.yaml my_kms.yaml
  4. Change the values in the config file to match your specific GCP setup. Refer to the properties in the schema files described above.

    vim my_kms.yaml  # <== Replace all <FIXME:..> placeholders in this file
  5. Create your deployment as described below, replacing <YOUR_DEPLOYMENT_NAME> with your with your own deployment name

    gcloud deployment-manager deployments create <YOUR_DEPLOYMENT_NAME> \
         --config my_kms.yaml

Note: Once created, this deployment cannot be deleted. Refer to KMS Object Lifetime in Resources section

Examples