Using Google Cloud Secret Manager with Octopus
Blog post from Octopus Deploy
Mark Harrison's post discusses the integration of Octopus Deploy with Google Cloud Platform's (GCP) Secret Manager through a new step template called "GCP Secret Manager - Retrieve Secrets." This template facilitates the retrieval of secrets stored in GCP Secret Manager for use in deployments or runbooks, by employing the gcloud command-line tool, which requires version 338.0.0 or higher, and Octopus version 2021.2 or newer. The step template is compatible with both Windows and Linux systems, and users must authenticate with Google Cloud using the Secret Manager Secret Accessor role. It supports retrieving multiple secrets at once by creating sensitive output variables for each, and includes parameters for specifying Google Cloud account details, secret names, and versioning. The post emphasizes the importance of retrieving secrets with specific versions for production applications and provides tips for using the step's features effectively.