Keystore

Create or update a Keystore from a raw keystore file

Changed on

Uploads a .jks / .p12 / .pfx file directly instead of Base64-encoding it into a JSON body. The same file is written to every environment named in environmentList. With override=true an existing keystore of that name is updated; otherwise a new one is created.

post/apiops/projects/{projectName}/keystores/import-file/

Request

Path parameters

projectNamestring required

Query parameters

keystoreNamestring required
passwordstring required

Keystore password

environmentListstring

comma seperated environment name values. REQUIRED when a single file is uploaded; when the ZIP produced by export-file is uploaded the environments are read from the package and this field is ignored.

keyStoreTypestring

JKS | PKCS12. If omitted, it is inferred from the file name.

keystoreDescriptionstring
aliasstring
overrideboolean

If true, the existing keystore with the same name is updated; if false or omitted, a new one is created.

Request body multipart/form-data

keystoreFilestring binary required

Raw keystore file (.jks / .p12 / .pfx)

environmentMappingstring

Optional JSON: environment name in the package -> environment name in this installation. An empty value means that environment is deliberately not transferred. Only meaningful when a ZIP is uploaded.

Response

successful operation!

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

Changes