cURL
curl --request POST \
--url https://us.infisical.com/api/v1/cert-manager/certificate-policies \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"description": "<string>",
"subject": [
{
"allowed": [
"<string>"
],
"required": [
"<string>"
],
"denied": [
"<string>"
]
}
],
"sans": [
{
"allowed": [
"<string>"
],
"required": [
"<string>"
],
"denied": [
"<string>"
]
}
],
"keyUsages": {
"allowed": [],
"required": [],
"denied": []
},
"extendedKeyUsages": {
"allowed": [],
"required": [],
"denied": []
},
"algorithms": {
"signature": [
"<string>"
],
"keyAlgorithm": [
"<string>"
]
},
"validity": {
"max": "<string>"
},
"basicConstraints": {
"maxPathLength": 0
}
}
'{
"certificatePolicy": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"description": "<string>",
"subject": [
{
"allowed": [
"<string>"
],
"required": [
"<string>"
],
"denied": [
"<string>"
]
}
],
"sans": [
{
"allowed": [
"<string>"
],
"required": [
"<string>"
],
"denied": [
"<string>"
]
}
],
"keyUsages": {
"allowed": [],
"required": [],
"denied": []
},
"extendedKeyUsages": {
"allowed": [],
"required": [],
"denied": []
},
"algorithms": {
"signature": [
"<string>"
],
"keyAlgorithm": [
"<string>"
]
},
"validity": {
"max": "<string>"
},
"basicConstraints": {
"maxPathLength": 0
}
}
}Certificate Policies
Create
POST
/
api
/
v1
/
cert-manager
/
certificate-policies
cURL
curl --request POST \
--url https://us.infisical.com/api/v1/cert-manager/certificate-policies \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"description": "<string>",
"subject": [
{
"allowed": [
"<string>"
],
"required": [
"<string>"
],
"denied": [
"<string>"
]
}
],
"sans": [
{
"allowed": [
"<string>"
],
"required": [
"<string>"
],
"denied": [
"<string>"
]
}
],
"keyUsages": {
"allowed": [],
"required": [],
"denied": []
},
"extendedKeyUsages": {
"allowed": [],
"required": [],
"denied": []
},
"algorithms": {
"signature": [
"<string>"
],
"keyAlgorithm": [
"<string>"
]
},
"validity": {
"max": "<string>"
},
"basicConstraints": {
"maxPathLength": 0
}
}
'{
"certificatePolicy": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"description": "<string>",
"subject": [
{
"allowed": [
"<string>"
],
"required": [
"<string>"
],
"denied": [
"<string>"
]
}
],
"sans": [
{
"allowed": [
"<string>"
],
"required": [
"<string>"
],
"denied": [
"<string>"
]
}
],
"keyUsages": {
"allowed": [],
"required": [],
"denied": []
},
"extendedKeyUsages": {
"allowed": [],
"required": [],
"denied": []
},
"algorithms": {
"signature": [
"<string>"
],
"keyAlgorithm": [
"<string>"
]
},
"validity": {
"max": "<string>"
},
"basicConstraints": {
"maxPathLength": 0
}
}
}Body
application/json
Required string length:
1 - 255Maximum string length:
1000Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Response
Default Response
Show child attributes
Show child attributes
Was this page helpful?
⌘I