-
Type:
Improvement
-
Resolution: Unresolved
-
Priority:
Trivial
-
Component/s: hashicorp-vault-plugin
-
None
Hi,
https://plugins.jenkins.io/hashicorp-vault-plugin/#documentation
Â
Has examples:
credentials:
system:
domainCredentials:
- credentials:
- string:
description: "Secret using only secret key name"
id: "secretUsingKey"
scope: GLOBAL
token: "${secretKey1}" < ------------- bug
- string:
description: "Secret using full path"
id: "secretUsingKey"
scope: GLOBAL
token: "${secret/jenkins/passwords/secretKey1}" < -------------- bug
TB:
Caused by: io.jenkins.plugins.casc.ConfiguratorException: secret is required to configure class org.jenkinsci.plugins.plaincredentials.impl.StringCredentialsImpl
In examples the token word should be replaced with secret.
In the document there are other places with "wrong" example.