Created
February 20, 2022 01:59
-
-
Save ryanvgates/973c4bdc0f45d70f40265926963989d3 to your computer and use it in GitHub Desktop.
Vault on Windows Gotcha - Solution
This file contains hidden or 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
C:\Users\myuser\Downloads>set VAULT_ADDR=https://my-vault.instance:1234 | |
C:\Users\myuser\Downloads>vault login -method=cert -client-cert=cert.pem -client-key=cert-key.pem | |
WARNING! The VAULT_TOKEN environment variable is set! This takes precedence | |
over the value set by this command. To use the value set by this command, | |
unset the VAULT_TOKEN environment variable or set it to the token displayed | |
below. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment