You are viewing the Apigee Management API reference documentation. For the main product docs, and to search all docs, go to https://docs.apigee.com. For cross-site search, click Search all in the search results.

Create an alias from a certificate PEM file

Resource Summary

Security

Content Type

multipart/form-data

Category

Keystores and Truststores,

CreateanAliasfromaCertfile

POST

Create an alias from a certificate PEM file

Creates a new alias in the keystore from a certificate in a PEM file. A truststore is represented by a keystore that only contains aliases created from certificates.

Resource URL

https://api.enterprise.apigee.com/v1 /organizations/{org_name}/environments/{env_name}/keystores/{keystore_name}/aliases

Query Parameters

Name Values Description
alias
(required)

Alias name.

format
(required)

Determines the type of alias creation. This value must be keycertfile.

ignoreExpiryValidation

By default, the API checks to make sure the certificate hasn't expired. Set to true to have the API skip validation.

ignoreNewlineValidation

If false, do not throw an error when the certFile contains a chain with no newline between each cert. By default, Edge requires a newline between each cert in a chain.

Header Parameters

Name Values Description
Content-Type

Specify Content-Type as multipart/form-data.

Attachments


Name Value Description
certFile
(required)

Cert file in PEM format.

Request Body

org_name Mention the organization name true

env_name Mention the environment name true

keystore_name Mention the keystore name true

HTTP Basic

OAuth 2.0

API Key

Reset

Make a request and see the response.

Make a request and see the response.

Make a request and see the response.

Working...

Help or comments?

  • If something's not working: Ask the Apigee Community or see Apigee Support.
  • If something's wrong with the docs: Click the "Send Feedback" button.
    (Incorrect? Unclear? Broken link? Typo?)