Samvaad calls this endpoint to decrypt an Encrypted Data Encryption Key (EDEK) using the corresponding master key in your Key Management System (KMS) or HSM.
The plaintext key is then cached securely in memory by Samvaad for a short, configurable duration to perform data encryption and decryption operations. The key_alias is used to identify which master key should be used for decryption.
A token sent in the Authorization header.
This can be one of two types:
/auth endpoint.In both cases, the header format is Authorization: Bearer <token>.
A unique identifier for this specific API call, generated by the client (Samvaad).
An identifier to trace a single request across multiple services.
The ISO 8601 timestamp of when the client sent the request.
The request containing the key alias and the encrypted key data.
The request payload to decrypt a key.
The DEK was successfully decrypted.
The response payload containing the decrypted key.