You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I didn't find in documentation of the plugin how to use secret file as credential.
For example in local credentials we can save kube config file as Secret file encoding base64. But when I added the file to Azure KeyVault, Jenkins not able to read and use it.
Command for az cli: az keyvault secret set --vault-name keyvaultforjenkins \ --name jenkins-kube-config --file kube-config \ --description "jenkins-kube-config" \ --encoding base64
Error in pipeline when it try to use the credential: ERROR: Credentials 'jenkins-kube-config' is of type 'Secret text' where 'org.jenkinsci.plugins.plaincredentials.FileCredentials' was expected
Additional tag, for example of type the ID also didn't help: --tags type=file
Could you please add support the such secret files?
Upstream changes
No response
The text was updated successfully, but these errors were encountered:
What feature do you want to see added?
Dear team,
I didn't find in documentation of the plugin how to use secret file as credential.
For example in local credentials we can save kube config file as Secret file encoding base64. But when I added the file to Azure KeyVault, Jenkins not able to read and use it.
Command for az cli:
az keyvault secret set --vault-name keyvaultforjenkins \ --name jenkins-kube-config --file kube-config \ --description "jenkins-kube-config" \ --encoding base64
Error in pipeline when it try to use the credential:
ERROR: Credentials 'jenkins-kube-config' is of type 'Secret text' where 'org.jenkinsci.plugins.plaincredentials.FileCredentials' was expected
Additional tag, for example of type the ID also didn't help:
--tags type=file
Could you please add support the such secret files?
Upstream changes
No response
The text was updated successfully, but these errors were encountered: