Skip to content

Instantly share code, notes, and snippets.

@sergey-tihon
Created October 8, 2019 18:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sergey-tihon/aad24003278ff9f3585729c6eaa43a2c to your computer and use it in GitHub Desktop.
Save sergey-tihon/aad24003278ff9f3585729c6eaa43a2c to your computer and use it in GitHub Desktop.
new VaultSecretProvider(
"https://my.server.com:8200", // VAULT_ADDR
"dev/my-team", // VAULT_NAMESPACE
"877501d5a018e9344088fd5c89580f6b095f5326" // vault.pfx certificate thumbprint
).GetValue("my-secret", "kv") // path to the secret - vault write kv/my-secret value="s3c(eT"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment