• Task
  • Version ยท 6.0
  • Create

Use Google Secret Manager secrets with Liquibase

Last updated: October 7, 2026

Before you begin

Procedure

1

Grant your Google Cloud identity access to the secret

loading
2

Provide Google Cloud credentials

gcloud auth application-default login
3

Reference secrets in your Liquibase configuration

liquibase.command.password=gcp-secret-manager,projects/your_project_id/secrets/your_secret_id
liquibase.command.password=gcp-secret-manager,your_secret_id
loading
liquibase.command.url=aws-secrets,your_aws_secret_name
liquibase.command.password=gcp-secret-manager,your_secret_id
4

Verify the resolution

[2026-09-15 11:01:32] FINE [liquibase.configuration] liquibase.command.password resolved from GCP Secret Manager (projects/your_project_id/secrets/your_secret_id/versions/latest).

Troubleshooting

Requires the Liquibase GCP extension and a Liquibase Secure license

loading

The property contains the keyword but the value is not resolved

The property liquibase.command.password contains the keyword gcp-secret-manager but the plugin is not being used to decrypt this value.

The reference is used literally as the password