Responses
-
Key replication target registered
-
Errors
Key Not Found: The request was rejected because the specified KMS Key could not be found.
Key is Pending Deletion: The request was rejected because it was performed on a key that is pending deletion.
Not on Default: The request was rejected because the operation is not allowed on the default key.
Not Multizone: The request was rejected because the KMS key is not a multi-zone key.
Conflict: The request was rejected because the key is already replicated in the target zone.
Invalid Argument: The request was rejected because the target zone is invalid.
POST
/kms-key/{id}/replicate
curl \
--request POST 'https://api-ch-gva-2.exoscale.com/v2/kms-key/{id}/replicate' \
--header "Content-Type: application/json" \
--data '{"zone":"string"}'
Request examples
{
"zone": "string"
}
Response examples (200)
{
"status": "success"
}
Response examples (400)
{
"type": "string",
"title": "string",
"status": 42,
"detail": "string"
}