Secrets

Returns the decrypted value of a single secret. A POST rather than a GET so the secret never lands in a URL, a request log, or browser history.

post/secrets/{secret_id}/reveal

Request

  • Base URL
    https://api.crevio.co/v1
  • Auth
    API key in header Authorization

Path parameters

secret_id, string required

The secret's ID (e.g., "secret_3f9a1c0b7d2e4a6f8b1c3d5e")

Headers

Idempotency-Key, string

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.

Response

The secret, including its decrypted value

Secret required
object, string required
id, string required
name, string required
target, string required
scope, string required
site_id, string nullable required
site_ids, string[] required
description, string nullable required
egress_host, string nullable required
egress_header, string nullable required
egress_placement, string required
egress_signing, object required
egress_default_headers, object required
last4, string required
value, string nullable required
created_at, string required

Changes

    • breaking

      the site_ids response's property type changed from object to array for status

    • warning

      added the new idempotency_error enum value to the error/type response property for the response status

    • warning

      added the new idempotency_error enum value to the error/type response property for the response status

    2 more changes in this revision