Post-process KMS
This API runs automatically and performs post-processing after a KMS template Create, Update, or Delete operation. It must be invoked by the Clumio Terraform provider and must not be invoked manually.
- application/json
Request Body
The body of the request.
- account_native_id string required
The AWS-assigned ID of the account associated with the connection.
- aws_region string required
The AWS region associated with the connection. For example,
us-east-1
. - created_multi_region_cmk boolean
Whether the CMK was created or an existing CMK was used.
- intermediate_role_arn string
Role arn to be assumed before accessing ClumioRole in customer account.
- multi_region_cmk_key_id string
The multi-region CMK Key ID.
- request_type string required
Indicates whether this is a Create, Update or Delete request.
- role_arn string
The ARN of the role.
- role_external_id string
The external ID to use with the role.
- role_id string
The ID of the role.
- token string required
The 36-character Clumio AWS integration ID token used to identify the installation of the CloudFormation/Terraform template on the account.
- version uint64
The cloudformation/terraform template version used.
- 200
- default
Success
- application/api.clumio.post-process-kms=v1+json
- Schema
- Example (from schema)
Schema
- object
{}
Error
- application/json
- Schema
- Example (from schema)
Schema
errors object[]
{
"errors": [
{
"error_code": 0,
"error_message": "string"
}
]
}
POST /wallets/_post-process
Authorization
Request
Request
curl -L -X POST 'https://us-west-2.api.clumio.com/wallets/_post-process' \
-H 'Content-Type: application/json' \
-H 'Accept: application/api.clumio.post-process-kms=v1+json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{
"account_native_id": "string",
"aws_region": "string",
"created_multi_region_cmk": true,
"intermediate_role_arn": "string",
"multi_region_cmk_key_id": "string",
"request_type": "string",
"role_arn": "string",
"role_external_id": "string",
"role_id": "string",
"token": "string",
"version": 0
}'
curl -L -X POST 'https://us-west-2.api.clumio.com/wallets/_post-process' \
-H 'Content-Type: application/json' \
-H 'Accept: application/api.clumio.post-process-kms=v1+json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{
"account_native_id": "string",
"aws_region": "string",
"created_multi_region_cmk": true,
"intermediate_role_arn": "string",
"multi_region_cmk_key_id": "string",
"request_type": "string",
"role_arn": "string",
"role_external_id": "string",
"role_id": "string",
"token": "string",
"version": 0
}'
curl -L -X POST 'https://us-west-2.api.clumio.com/wallets/_post-process' \
-H 'Content-Type: application/json' \
-H 'Accept: application/api.clumio.post-process-kms=v1+json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{
"account_native_id": "string",
"aws_region": "string",
"created_multi_region_cmk": true,
"intermediate_role_arn": "string",
"multi_region_cmk_key_id": "string",
"request_type": "string",
"role_arn": "string",
"role_external_id": "string",
"role_id": "string",
"token": "string",
"version": 0
}'
curl -L -X POST 'https://us-west-2.api.clumio.com/wallets/_post-process' \
-H 'Content-Type: application/json' \
-H 'Accept: application/api.clumio.post-process-kms=v1+json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{
"account_native_id": "string",
"aws_region": "string",
"created_multi_region_cmk": true,
"intermediate_role_arn": "string",
"multi_region_cmk_key_id": "string",
"request_type": "string",
"role_arn": "string",
"role_external_id": "string",
"role_id": "string",
"token": "string",
"version": 0
}'
curl -L -X POST 'https://us-west-2.api.clumio.com/wallets/_post-process' \
-H 'Content-Type: application/json' \
-H 'Accept: application/api.clumio.post-process-kms=v1+json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{
"account_native_id": "string",
"aws_region": "string",
"created_multi_region_cmk": true,
"intermediate_role_arn": "string",
"multi_region_cmk_key_id": "string",
"request_type": "string",
"role_arn": "string",
"role_external_id": "string",
"role_id": "string",
"token": "string",
"version": 0
}'
curl -L -X POST 'https://us-west-2.api.clumio.com/wallets/_post-process' \
-H 'Content-Type: application/json' \
-H 'Accept: application/api.clumio.post-process-kms=v1+json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{
"account_native_id": "string",
"aws_region": "string",
"created_multi_region_cmk": true,
"intermediate_role_arn": "string",
"multi_region_cmk_key_id": "string",
"request_type": "string",
"role_arn": "string",
"role_external_id": "string",
"role_id": "string",
"token": "string",
"version": 0
}'
curl -L -X POST 'https://us-west-2.api.clumio.com/wallets/_post-process' \
-H 'Content-Type: application/json' \
-H 'Accept: application/api.clumio.post-process-kms=v1+json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{
"account_native_id": "string",
"aws_region": "string",
"created_multi_region_cmk": true,
"intermediate_role_arn": "string",
"multi_region_cmk_key_id": "string",
"request_type": "string",
"role_arn": "string",
"role_external_id": "string",
"role_id": "string",
"token": "string",
"version": 0
}'