Certificates

Export the certificate

get/certificates/{id}/export

Request

  • Base URL
    https://demo.octopus.app/api
  • URL
    https://demo.octopus.app/api/certificates/{id}/export
  • Auth
    • API key in header X-Octopus-ApiKey
    • or API key in query parameter ApiKey
    • or API key in header X-NuGet-ApiKey

Path parameters

idstring required

The ID of the certificate to export

Query parameters

format'Pkcs12' | 'Der' | 'Pem' | 'Unknown'

The file format in which to export the certificate

includePrivateKeyboolean

Whether the private key should be included in the exported file

passwordstring

The password to read the stored certificate

pemOptions'PrimaryOnly' | 'PrimaryAndChain' | 'ChainOnly'

Whether the exported PEM file should include the certificate chain

Response

Success

string binary required

Changes

No recorded changes to this operation across all 13 revisions of this API.