Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VAULT_SECRET_DATA_JSON to output just secret JSON object #66

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

robertlestak
Copy link

This adds a new optional environment variable VAULT_SECRET_DATA_JSON (boolean true / false, default false).

If set to true, the extension will write just the secret.Data JSON, rather than the full api.Secret object with the nested Data field.

This is useful where the JSON object in Vault must be consumed as-is, such as with GCP Service Accounts.

@hashicorp-cla
Copy link

hashicorp-cla commented Mar 17, 2022

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants