GCP Secrets

Read Secret Manager values and export a selected value into a local shell session.

Set up Secret Manager access

Install and authenticate gcloud and select the intended project. Your account needs permission to list secrets and access their values.

Browse values

Open Secrets from the palette and refresh the secret list. Select a secret to load its value through the Google Cloud CLI.

Export into a shell

Select a live zsh or PowerShell session in the target control. The current injection action sends a shell export statement to that session. It is intended for shells that support export. For PowerShell, set the environment variable using PowerShell syntax in the terminal.

The value is sent through terminal input and can appear in recorded terminal history. Choose the destination session deliberately and handle the value according to the project’s credential practices.