jenkinsci / hashicorp-vault-plugin

Jenkins plugin to populate environment variables from secrets stored in HashiCorp's Vault.
https://plugins.jenkins.io/hashicorp-vault-plugin/
MIT License
217 stars 143 forks source link

https://plugins.jenkins.io/hashicorp-vault-plugin/#plugin-content-what-about-other-backends is incorrect #306

Open ira-gordin-sap opened 1 year ago

ira-gordin-sap commented 1 year ago

Describe your use-case which is not covered by existing documentation.

from the documentation: What about other backends? Hashicorp explicitly recommends the AppRole Backend for machine-to-machine authentication. Token based auth is mainly supported for backward compatibility. Other backends that might make sense are the AWS EC2 backend, the Azure backend, and the Kubernetes backend. But we do not support these yet. Feel free to contribute!

Reference any relevant documentation, other materials or issues/pull requests that can be used for inspiration.

I see in my plugin installed I have more backends: AWS IAM, GCP, Kubernetes. I've found https://github.com/jenkinsci/hashicorp-vault-plugin/pull/166 merged and all auth in https://github.com/jenkinsci/hashicorp-vault-plugin/tree/master/src/main/java/com/datapipe/jenkins/vault/credentials. I suppose all the above and maybe more are supported but not documented.