Create certificate
documentedCreate a new certificate.
POST /v1/certificates.{format}Certificatesno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://core.spreedly.com/v1/certificates.{{$format}}" \
-X POST \
-H "Authorization: Basic {{SPREEDLY_SECRET}}" \
-H "Accept: application/{{$format}}" \
-H "Content-Type: application/{{$format}}" \
-d '{\"certificate\": {\"pem\": \"{{$pem}}\", \"private_key\": \"{{$private_key}}\", \"algorithm\": \"{{$algorithm}}\", \"cn\": \"{{$cn}}\", \"email_address\": \"{{$email_address}}\"}}'