Skip to content
This repository has been archived by the owner on Jan 25, 2023. It is now read-only.

Add Vault agent configuration #145

Merged
merged 3 commits into from
Apr 12, 2019
Merged

Add Vault agent configuration #145

merged 3 commits into from
Apr 12, 2019

Conversation

edtan
Copy link
Contributor

@edtan edtan commented Apr 11, 2019

Closes #133. This adds support for installing as a Vault agent. Currently, only auto-auth is supported (this doesn't add in support for caching).

I had to update to Vault 1.1.0, since it seems there was some bug with the Vault agent not respecting the Vault address in the config file.

I added a Vault agent test, which was mostly copy+pasted from the IAM auth test, with the only change being the use of Vault agent instead of hitting the Vault API using curl.

For testing, I only ran the Vault agent test using the Amazon Linux 2 image, and the EC2 Auth test using both the Amazon Linux 2 and Ubuntu images.

Copy link
Collaborator

@brikis98 brikis98 left a comment

Choose a reason for hiding this comment

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

Wow, this is fantastic work. Thank you! 👍

Code looks great; just a few minor comments. I'll kick off tests in CI now.

examples/vault-agent/user-data-auth-client.sh Show resolved Hide resolved
modules/run-vault/run-vault Outdated Show resolved Hide resolved
modules/run-vault/run-vault Outdated Show resolved Hide resolved
modules/run-vault/run-vault Show resolved Hide resolved
@brikis98
Copy link
Collaborator

Looks like tests passed. Merging now, thank you!

@brikis98 brikis98 merged commit 8cf9045 into hashicorp:master Apr 12, 2019
@edtan edtan deleted the vault-agent branch April 12, 2019 22:32
@brikis98
Copy link
Collaborator

@edtan
Copy link
Contributor Author

edtan commented Apr 13, 2019

My pleasure! Likewise, thank you for the quick review and merge! I've updated my scripts to point to the latest release.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Installing as a Vault Agent
2 participants