Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
More tests
Fang-Pen Lin2cee9cf3cc22
diff --git a/backend/bdd/features/pki/acme/cert-profile.feature b/backend/bdd/features/pki/acme/cert-profile.featureindex 7cdfe3127d..7e4dbdc84a 100644--- a/backend/bdd/features/pki/acme/cert-profile.feature+++ b/backend/bdd/features/pki/acme/cert-profile.feature@@ -10,7 +10,7 @@ Feature: ACME Cert Profile"slug": "{profile_slug}","description": "","enrollmentType": "acme",- "caId": "{CA_ID}",+ "caId": "{CERT_CA_ID}","certificateTemplateId": "{CERT_TEMPLATE_ID}","acmeConfig": {}}diff --git a/backend/bdd/features/steps/pki_acme.py b/backend/bdd/features/steps/pki_acme.pyindex 2f397b883f..0bd55e3970 100644--- a/backend/bdd/features/steps/pki_acme.py+++ b/backend/bdd/features/steps/pki_acme.py@@ -149,14 +149,24 @@ def step_impl(context: Context, method: str, url: str):@when('I send a {method} request to "{url}" with JSON payload')def step_impl(context: Context, method: str, url: str):+ json_payload = json.loads(context.text)+ json_payload = replace_vars(json_payload, context.vars)+ logger.debug(+ "Sending %s request to %s with JSON payload: %s",+ method,+ url,+ json.dumps(json_payload),+ )response = context.http_client.request(method,url.format(**context.vars),headers=prepare_headers(context),- json=json.loads(context.text),+ json=json_payload,)context.response = responsecontext.vars["response"] = response+ logger.debug("Response status: %r", response.status_code)+ logger.debug("Response JSON payload: %r", response.json())@when("I have an ACME client connecting to {url}")