1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2024-12-14 11:03:09 +02:00

docs: Add underscore suffix to custom vault prefix (#3488)

Co-authored-by: Oliver Nocon <33484802+OliverNocon@users.noreply.github.com>
This commit is contained in:
Marc Vornetran 2022-03-08 12:50:51 +01:00 committed by GitHub
parent f5be111078
commit b0b6be8d29
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -150,7 +150,7 @@ The `vaultTestCredentialKeys`parameter is a list of credential IDs. The secret v
!!! hint "Using a custom prefix for test credentials" !!! hint "Using a custom prefix for test credentials"
By default the prefix for test credentials is `PIPER_TESTCREDENTIAL_`. By default the prefix for test credentials is `PIPER_TESTCREDENTIAL_`.
It is possible to use a custom prefix by setting for example `vaultTestCredentialEnvPrefix: MY_CUSTOM_PREFIX` in your configuration. It is possible to use a custom prefix by setting for example `vaultTestCredentialEnvPrefix: MY_CUSTOM_PREFIX_` in your configuration.
With this above credential ID named `myAppId` will be populated into an environment variable with the name `MY_CUSTOM_PREFIX_MYAPPID`. With this above credential ID named `myAppId` will be populated into an environment variable with the name `MY_CUSTOM_PREFIX_MYAPPID`.
Extended logging for Vault secret fetching (e.g. found credentials and environment variable names) can be activated via `verbose: true` configuration. Extended logging for Vault secret fetching (e.g. found credentials and environment variable names) can be activated via `verbose: true` configuration.