Certificates
Domains
Create or update a certificate
Idempotent create-or-update. Uses the key field in the body to identify the certificate within the domain. Re-applying an unchanged definition is a no-op. The system flag is immutable; changing it requires deleting and recreating the certificate.
put/organizations/{orgId}/environments/{envId}/domains/{domainKey}/certificates
Path parameters
orgIdstring required
Identifier of the organization that owns the environment.
envIdstring required
Identifier of the environment the domain belongs to.
domainKeystring required
Key of the domain: its stable, immutable Automation identifier within the environment.
Request body
Example request
{
"configuration": "{\"jks\":{\"content\":\"...\",\"name\":\"keystore.jks\"},\"storepass\":\"secret\",\"alias\":\"mykey\",\"keypass\":\"secret\"}",
"key": "signing-cert",
"name": "Signing certificate",
"type": "javakeystore-am-certificate"
}Response
The created or updated certificate
Example response
{
"configuration": "{\"jks\":{\"content\":\"...\",\"name\":\"keystore.jks\"},\"storepass\":\"secret\",\"alias\":\"mykey\",\"keypass\":\"secret\"}",
"key": "signing-cert",
"name": "Signing certificate",
"type": "javakeystore-am-certificate"
}