You've already forked sap-jenkins-library
mirror of
https://github.com/SAP/jenkins-library.git
synced 2025-11-06 09:09:19 +02:00
Update vault.go (#4464)
Co-authored-by: Anil Keshav <anil.keshav@sap.com>
This commit is contained in:
committed by
GitHub
parent
146c77df52
commit
2be4461cde
@@ -153,7 +153,7 @@ func resolveVaultReference(ref *ResourceReference, config *StepConfig, client va
|
||||
|
||||
secretValue = lookupPath(client, vaultPath, ¶m)
|
||||
if secretValue != nil {
|
||||
log.Entry().Debugf("Resolved param '%s' with Vault path '%s'", param.Name, vaultPath)
|
||||
log.Entry().Infof("Resolved param '%s' with Vault path '%s'", param.Name, vaultPath)
|
||||
if ref.Type == "vaultSecret" {
|
||||
config.Config[param.Name] = *secretValue
|
||||
} else if ref.Type == "vaultSecretFile" {
|
||||
|
||||
Reference in New Issue
Block a user