Encryption keys
Create an encryption key
POST
/encryption-keysCreates a new encryption key for the authenticated company.
Authorizations
AuthorizationstringheaderrequiredAPI key passed as a Bearer token in the Authorization header.
Request
curl --request POST \
--url https://api.artie.com/encryption-keys \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"description": "<string>",
"kmsKeyUUID": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>"
}'Body
application/json
descriptionstringkmsKeyUUIDstring<uuid> | nullnamestringrequired
Responses
200OKapplication/json
encryptionKeyobjectrequiredShow child attributes
createdAtstring<date-time>descriptionstringkmsKeyUUIDstring<uuid> | nullnamestringrequiredtypestringrequiredupdatedAtstring<date-time>uuidstring<uuid>required
keystringrequired
400Bad Request
500Internal Server Error
200 OK
{
"encryptionKey": {
"createdAt": "2023-11-07T05:31:56Z",
"description": "<string>",
"kmsKeyUUID": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"type": "<string>",
"updatedAt": "2023-11-07T05:31:56Z",
"uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"key": "<string>"
}Was this page helpful?
- Need help? Message us on Slack or email [email protected].
- Want a walkthrough? Book a demo.
- LLM? Read llms.txt.