After you fetch Google Cloud secrets into an environment, reference them the same way as other external secrets in headers, query params, body, and auth fields.
Syntax is {{<row-name>.<secret-id>}} (for example, {{staging.api-key}}).
For GCP, each environment row Name is the namespace. Under it, Bruno nests every secret ID from that project.Recommended syntax (v4+):
{{<row-name>.<secret-id>}}
If the secret payload is JSON, access a field with a sub-key:
{{<row-name>.<secret-id>.<json-key>}}
Examples
Stored in GCP
Bruno row Name
Reference
Secret ID api-key with a plain string value
staging
{{staging.api-key}}
Secret ID db with JSON { "password": "…" }
staging
{{staging.db.password}}
For example, with a row named db_pass and a GCP secret ID gcp-sandbox-key-1, use {{db_pass.gcp-sandbox-key-1}} in the request body:Legacy syntax (deprecated):
Make sure the GCP Secrets Manager account is configured and secrets are fetched before using them in scripts. Names must match the environment row alias and GCP secret IDs exactly.