Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

control-service: switch to Approle Vault authentication #2435

Merged
merged 8 commits into from
Jul 21, 2023

Conversation

dakodakov
Copy link
Collaborator

@dakodakov dakodakov commented Jul 20, 2023

Switch to using Approle for Vault Authentication rather than Tokens.

Approle authentication is more suitable for long running applications,
like the Control Service.

https://developer.hashicorp.com/vault/docs/auth/approle
https://developer.hashicorp.com/vault/tutorials/auth-methods/approle

Update service code, VEP, Tests and helm charts.

Switch to using Approle for Vault Authentication rather than Tokens.
https://developer.hashicorp.com/vault/docs/auth/approle
https://developer.hashicorp.com/vault/tutorials/auth-methods/approle

Update service code, VEP, Tests and helm charts.

Signed-off-by: Dako Dakov <ddakov@vmware.com>
ddakov and others added 4 commits July 20, 2023 15:42
Codacy checks.

Signed-off-by: Dako Dakov <ddakov@vmware.com>
Add support for token authentication for dev purposes.

Signed-off-by: Dako Dakov <ddakov@vmware.com>
Copy link
Collaborator

@antoniivanov antoniivanov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Approved. Merged it whenever you want.

I made some suggestions for improvements in logging and following best clean code practices But none of those are a blocker.

ddakov and others added 2 commits July 21, 2023 14:31
Address review feedback.

Signed-off-by: Dako Dakov <ddakov@vmware.com>
@dakodakov dakodakov merged commit 0cbeb9f into main Jul 21, 2023
@dakodakov dakodakov deleted the person/ddakov/vault-integration-switch-to-approles branch July 21, 2023 12:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants