You are viewing the Apigee Management API reference documentation. For the main product docs, and to search all docs, go to

Get a Keystore or Truststore

Resource Summary


Content Type

application/json, text/xml


Keystores and Truststores,



Get a Keystore or Truststore

Returns a specific keystore or truststore in the environment, including the list of keys and certs.

The 180406 release of Edge for the Cloud added two changes to this API:


  • If no key is associated with a TLS/SSL certificate, the keys field in the response contains an array. Previously, this field contained an empty string. For example: 

    "keys": [""]
  • A new response property, aliases, has been added. The aliases array contains the following properties for each alias in a keystore or truststore:

    "aliases" : [ {
       "aliasName" : "myAlias",
       "cert" : "myAlias-cert",
       "key" : "myAlias-key"
    }, ... ]

    These properties have been added to support the new TLS APIs for Edge for the Cloud that configure keystores and truststores based on alias names. For example, Create an alias from a certificate PEM file. See Creating keystores and truststore for the Cloud using the Edge management API for more.


Resource URL /organizations/{org_name}/environments/{env_name}/keystores/{keystore_name}

Request Body

org_name Mention the organization name true

env_name Mention the environment name true

keystore_name Mention the keystore or truststore name true

HTTP Basic

OAuth 2.0



Make a request and see the response.

Make a request and see the response.

Make a request and see the response.


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?)