Setup
Enabling Encryption
Enable Encryption
Turn on payload encryption in the Deck Dashboard.
Find Your Keys
Find your Encryption Key in the API Keys section of the Dashboard.
Configuration Options
You can configure encryption for:- Request encryption: Full payload or input field only
- Response encryption: API responses and webhook payloads
Encryption Modes
Full Payload Encryption
Encrypt the entire request or response payload:encrypted_payload: The encrypted Base64-encoded payload
Input Field Encryption
For/jobs/submit requests, encrypt only the input field:
Implementation
Sending Encrypted Requests
Receiving Encrypted Responses
Decryption
Key Requirements
- Algorithm: AES-256-GCM
- Key: Use the encryption key provided by Deck in the Dashboard
- Format: Base64-encoded encrypted data
- Structure:
nonce + ciphertext + tag(combined and base64-encoded)
