Reveal a credential's secrets

Returns the live api_token and s3_secret_access_key of an existing
credential, so a credential whose issuance response was lost can be
recovered without minting a new one.

This is a POST with an explicit /reveal verb so the secrets never ride
a GET, where they would land in access logs, browser history and proxy
caches. Revoked and expired credentials return 404, as does a
token_id that does not belong to this project.

A credential issued before secret retrieval was supported has no
recoverable secret and returns 409 — rotate it to obtain one.

Note: This endpoint is currently in Beta.

Path Params
string
required
^[a-z0-9-]{1,60}$

The Neon project ID

string
required
^[a-z0-9-]{1,60}$

The Neon branch ID

string
required

The opaque credential id (e.g. naklive<32hex>).

Responses

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json