mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
Format
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
Feature: Account
|
Feature: Account
|
||||||
|
|
||||||
Scenario: Create a new account
|
Scenario: Create a new account
|
||||||
Given I have an ACME cert profile as "acme_profile"
|
Given I have an ACME cert profile as "acme_profile"
|
||||||
When I have an ACME client connecting to {BASE_URL}/api/v1/pki/acme/profiles/{acme_profile.id}/directory
|
When I have an ACME client connecting to {BASE_URL}/api/v1/pki/acme/profiles/{acme_profile.id}/directory
|
||||||
Then I register a new ACME account with email fangpen@infisical.com and EAB key id "{acme_profile.eab_kid}" with secret "{acme_profile.eab_secret}" as acme_account
|
Then I register a new ACME account with email fangpen@infisical.com and EAB key id "{acme_profile.eab_kid}" with secret "{acme_profile.eab_secret}" as acme_account
|
||||||
|
|||||||
@@ -1,9 +1,10 @@
|
|||||||
Feature: Directory
|
Feature: Directory
|
||||||
|
|
||||||
Scenario: Get the directory of ACME service urls
|
Scenario: Get the directory of ACME service urls
|
||||||
Given I have an ACME cert profile as "acme_profile"
|
Given I have an ACME cert profile as "acme_profile"
|
||||||
When I send a GET request to "/api/v1/pki/acme/profiles/{acme_profile.id}/directory"
|
When I send a GET request to "/api/v1/pki/acme/profiles/{acme_profile.id}/directory"
|
||||||
Then the response status code should be "200"
|
Then the response status code should be "200"
|
||||||
Then the response body should match JSON value
|
Then the response body should match JSON value
|
||||||
"""
|
"""
|
||||||
{
|
{
|
||||||
"newNonce": "{BASE_URL}/api/v1/pki/acme/profiles/{acme_profile.id}/new-nonce",
|
"newNonce": "{BASE_URL}/api/v1/pki/acme/profiles/{acme_profile.id}/new-nonce",
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
Feature: Nonce
|
Feature: Nonce
|
||||||
|
|
||||||
Scenario: Generate a new nonce
|
Scenario: Generate a new nonce
|
||||||
Given I have an ACME cert profile as "acme_profile"
|
Given I have an ACME cert profile as "acme_profile"
|
||||||
When I send a HEAD request to "/api/v1/pki/acme/profiles/{acme_profile.id}/new-nonce"
|
When I send a HEAD request to "/api/v1/pki/acme/profiles/{acme_profile.id}/new-nonce"
|
||||||
Then the response status code should be "200"
|
Then the response status code should be "200"
|
||||||
Then the response header "Replay-Nonce" should contains non-empty value
|
Then the response header "Replay-Nonce" should contains non-empty value
|
||||||
|
|||||||
Reference in New Issue
Block a user