Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

Replace secret and kid

Fang-Pen Lince3d70c30a45
diff --git a/backend/bdd/features/steps/pki_acme.py b/backend/bdd/features/steps/pki_acme.py
index 167eab20dd..e005803da9 100644
--- a/backend/bdd/features/steps/pki_acme.py
+++ b/backend/bdd/features/steps/pki_acme.py
@@ -224,8 +224,8 @@ def step_impl(context: Context, email: str, kid: str, secret: str, account_var:
account_public_key = acme_client.net.key.public_key()
eab = messages.ExternalAccountBinding.from_data(
account_public_key=account_public_key,
- kid=kid,
- hmac_key=secret,
+ kid=replace_vars(kid, context.vars),
+ hmac_key=replace_vars(secret, context.vars),
directory=acme_client.directory,
hmac_alg="HS256",
)