Skip to content

CertificateAuthorityApi

Github Action edited this page Apr 10, 2021 · 5 revisions

CertificateAuthorityApi

All URIs are relative to http://localhost

Method HTTP request Description
sign POST /ca/{account}/{service_id}/sign Gets a signed certificate from the configured Certificate Authority service.

sign

CertificateJson sign(account, serviceId, csr, ttl, accept, xRequestId)

Gets a signed certificate from the configured Certificate Authority service.

Gets a signed certificate from the configured Certificate Authority service. The request must include a valid Certificate Signing Request, and a desired TTL in ISO 8601 format. *** IMPORTANT *** This endpoint is part of an early implementation of support for using Conjur as a certificate authority, and is currently available at the Community (or early alpha) level. This endpoint is still subject to breaking changes in the future.

Parameters

Name Type Description Notes
account String Organization account name [default to null]
serviceId String Name of the Certificate Authority service [default to null]
csr String [default to null]
ttl String [default to null]
accept String Setting the Accept header to application/x-pem-file allows Conjur to respond with a formatted certificate [optional] [default to null]
xRequestId String Add an ID to the request being made so it can be tracked in Conjur. If not provided the server will automatically generate one. [optional] [default to null]

Return type

CertificateJson

Authorization

conjurAuth

HTTP request headers

  • Content-Type: application/x-www-form-urlencoded
  • Accept: application/json, application/x-pem-file
Clone this wiki locally