Skip to content

VAULT_SECRET_DATA_JSON to output just secret JSON object#66

Open
robertlestak wants to merge 1 commit intohashicorp:mainfrom
robertlestak:dataoutput
Open

VAULT_SECRET_DATA_JSON to output just secret JSON object#66
robertlestak wants to merge 1 commit intohashicorp:mainfrom
robertlestak:dataoutput

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.

2 participants