-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
vault: add support for kubernetes authentication method
This commit adds support for the Vault kubernetes authentication method: https://www.vaultproject.io/docs/auth/kubernetes Now, the KES configuration can contain the following K8S auth section: ``` kubernetes: engine: "" role: "" jwt: "" retry: 15s ``` The `engine` allows the customization of the auth path configured at Vault. It defaults to the Vault default: `kubernetes`. The `retry` is the delay KES waits before trying to re-authenticate after connection loss. The `role` and `jwt` are the credentials received from K8S. Currently, KES does not support both auth methods (`approle` | `kubernetes`) at the same time. So, a operator must not set AppRole and Kubernetes credentials.
- Loading branch information
1 parent
63074f4
commit d85a727
Showing
4 changed files
with
156 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters