Apps
Reveal an environment variable
Returns the decrypted value of one environment variable for a single environment (defaults to production; pass ?target=preview|development). Treat the value as a secret. Every reveal is audit-logged with the key name and caller; the value itself is never logged.
get/api/v1/apps/{appId}/env/{key}
Request
- Base URLhttps://app.khotan.com
- URLhttps://app.khotan.com/api/v1/apps/{appId}/env/{key}
- Auth
- HTTP bearer
- or API key in header x-api-key
Path parameters
appIdstring required
keystring required
Query parameters
target'production' | 'preview' | 'development'
Response
The decrypted value.
Changes
No recorded changes to this operation across all 1 revision of this API.