Deployment - Trust

edit

Get certificate authority

edit

Returns the certificate authority used to sign the certificates of this deployment.

Request

edit

GET /api/v1/deployments/{deployment_id}/certificate-authority

Path parameters

edit
Name Type Required Description

deployment_id

string

Y

Identifier for the Deployment.

Responses

edit
200

(CertificateAuthority)

The certificate authority used to sign the certificates of this deployment

404

(BasicFailedReply)

  • The Deployment specified by {deployment_id} cannot be found. (code: deployments.deployment_not_found)
  • The Elasticsearch Resource cannot be found. (code: deployments.deployment_resource_not_found)

Headers

x-cloud-error-codes (string; allowed values: [deployments.deployment_not_found, deployments.deployment_resource_not_found])
The error codes associated with the response

Request example

edit
curl -XGET https://api.elastic-cloud.com/api/v1/deployments/{deployment_id}/certificate-authority \
-H "Authorization: ApiKey $EC_API_KEY"