Create a new Vault Certificate

Request

POST https://{hostname}:{port}
    /cli/vault/certificate/create
Accept: {contentType}
Table 1. Header parameters
Parameter Type Required Description
Accept
  • application/json
  • application/yaml
true
This command takes a JSON request string or file. Use the following template for the request:
{
  "certificatePEM": "The certificate to be stored in PEM 
  format(Required)",
  "name": "The Vault Certificate Name (Required, Unique 
  per Vault store)",
  "privateKeyPEM": "The private key to be stored in PEM 
  format(Required)",
  "store": "Name/ID of the Vault store (Required)"
}

Related CLI command: createVaultCertificate.