Keystore

Export an existing Keystore

Changed on

Exports an existing Keystore as a portable ExportFile JSON inside a ZIP. @SecretData fields (keystore file + password) are decrypted into the export so it is portable across instances; the import flow re-encrypts them.

get/apiops/projects/{projectName}/keystores/{keystoreName}/export/

Request

Path parameters

projectNamestring required
keystoreNamestring required

Name of keystore

Query parameters

encryptboolean

Optional; if true, the package is encrypted with the passphrase supplied in the X-Apinizer-Package-Passphrase header (the passphrase is then REQUIRED). If false or omitted, the package is produced unencrypted.

Headers

X-Apinizer-Package-Passphrasestring

Optional; the passphrase required to encrypt the package when encrypt=true (Base64 UTF-8). Ignored when encrypt=false.

Response

successful operation!

status'SUCCESS' | 'FAILURE'
resultMessagestring
resultListstring[]
resultCountinteger
unresolvedReferencesstring[]

Changes

    • breaking

      added the new path request parameter keystoreName

    • breaking

      for the query request parameter encrypt, default value false was added

    • breaking

      for the query request parameter encrypt, the type changed from string to boolean

    This list may be incomplete.

    • info

      endpoint added