Secrets
Create a secret
Encrypts and stores a secret. Pass site_id to make one site own it, or omit it for a shared secret and list the sites it applies to in site_ids. The decrypted value comes back in this response only — later reads expose just last4.
post/secrets
Request
- Base URL: https://api.crevio.co/v1
- URL: https://api.crevio.co/v1/secrets
- Auth: API key in header Authorization
Headers
Idempotency-Keystring
Makes this write safe to retry: a repeat with the same key replays the first response instead of creating a second resource. Scoped to the account, remembered for 24 hours; reusing a key with a different payload is an error.
Request body
Response
The secret, including its decrypted value
Changes
No recorded changes to this operation across all 2 revisions of this API.