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

Vault Enterprise download and license key as environment variable #283

Open
boldandbusted opened this issue Apr 4, 2022 · 1 comment
Open

Comments

@boldandbusted
Copy link

Howdy. Thank you for this role! :)

Now that Vault Enterprise has the option of reading the license key from an environment variable or from a file, I'd like to use this role to install the Vault Enterprise binary (see https://releases.hashicorp.com/vault/). Then, I'd like to set up SystemD unit file with the Enterprise key to reference (see https://learn.hashicorp.com/tutorials/nomad/hashicorp-enterprise-license?in=vault/enterprise).

How can I do this with this role? If this is not possible today, does the community have any suggestions on workarounds? Apologies in advance if this was already addressed.

Thanks! :)

@boldandbusted boldandbusted changed the title Vault Enterprise download Vault Enterprise download and license key as file or environment variable Apr 4, 2022
@boldandbusted boldandbusted changed the title Vault Enterprise download and license key as file or environment variable Vault Enterprise download and license key as environment variable Apr 6, 2022
@boldandbusted
Copy link
Author

So, for those interested, I 'solved' the Vault Enterprise download simply by specifying <vault version>+ent in vault_version: key, like so:

vault_version: 1.8.9+ent

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

No branches or pull requests

1 participant