Skip to content

Commit

Permalink
fix: change VAULT_ADDRESS to VAULT_ADDR
Browse files Browse the repository at this point in the history
  • Loading branch information
andygolay committed Jan 21, 2025
1 parent ff49b15 commit a669be2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/signing/providers/hashicorp-vault/src/hsm/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ where

/// Tries to create a new HashiCorp Vault HSM from the environment
pub fn try_from_env() -> Result<Self, anyhow::Error> {
let address = std::env::var("VAULT_ADDRESS").context("VAULT_ADDRESS not set")?;
let address = std::env::var("VAULT_ADDR").context("VAULT_ADDR not set")?;
let token = std::env::var("VAULT_TOKEN").context("VAULT_TOKEN not set")?;
let namespace = std::env::var("VAULT_NAMESPACE").unwrap_or_else(|_| "admin".to_string());
let client = VaultClient::new(
Expand Down

0 comments on commit a669be2

Please sign in to comment.