Store an encrypted secret
POST/create/secret
Stores an already-encrypted message and returns its ID. The decryption
key never reaches the server, so build the share link yourself:
https://yopass.example.com/#/s/{id}/{key}.
Absent on a --read-only server. receipt and require_auth need a
licensed server and, for require_auth, a server with sign-in configured.
When the server runs with --require-auth, send an API token or a
signed-in session cookie.
Request
Responses
- 200
- 400
- 401
- 413
- 500
Stored.
Not valid JSON, message is not an armored PGP message or is too long,
or the expiration, one-time, receipt or auth setting breaks server policy.
Sign-in or an API token is required.
An error. message says what went wrong.
An error. message says what went wrong.