Skip to content

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

795 B
Raw Blame
Feature: Directory

  Scenario: Get the directory of ACME service urls
    Given I have an ACME cert profile as "acme_profile"
    When I send a "GET" request to "/api/v1/cert-manager/acme/applications/{acme_profile.app_id}/profiles/{acme_profile.id}/directory"
    Then the response status code should be "200"
    And the response body should match JSON value
      """
      {
        "newNonce": "{BASE_URL}/api/v1/cert-manager/acme/profiles/{acme_profile.id}/new-nonce",
        "newAccount": "{BASE_URL}/api/v1/cert-manager/acme/applications/{acme_profile.app_id}/profiles/{acme_profile.id}/new-account",
        "newOrder": "{BASE_URL}/api/v1/cert-manager/acme/profiles/{acme_profile.id}/new-order",
        "meta": {
          "externalAccountRequired": true
        }
      }
      """