mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-09 19:28:33 +00:00
Add ACME cert profile creation feature
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
Feature: ACME Cert Profile
|
||||
|
||||
Scenario: Create a cert profile
|
||||
Given I make a random slug as profile_slug
|
||||
When I send a POST request to "/api/v1/pki/certificate-profiles" with JSON payload
|
||||
"""
|
||||
{
|
||||
"projectId": "{PROJECT_ID}",
|
||||
"slug": "{profile_slug}",
|
||||
"description": "",
|
||||
"enrollmentType": "acme",
|
||||
"caId": "{CA_ID}",
|
||||
"certificateTemplateId": "{CERT_TEMPLATE_ID}",
|
||||
"acmeConfig": {}
|
||||
}
|
||||
"""
|
||||
Then the value response.status should be equal to 201
|
||||
Then the value response with jq .eab_kid should be present
|
||||
Then the value response with jq .eab_secret should be present
|
||||
Then the value response with jq .slug should be equal to {profile_slug}
|
||||
Then the value response with jq .caId should be equal to {CA_ID}
|
||||
Then the value response with jq .certificateTemplateId should be equal to {CERT_TEMPLATE_ID}
|
||||
Then the value response with jq .enrollmentTYpe should be equal to acme
|
||||
Reference in New Issue
Block a user