Create a secret
Create a Secret at a new path. The returned ID addresses it; paths remain reference keys.
Authentication
Use Bearer <api-key>.
Headers
Optional retry key for this billable operation. Reusing the same key with the same request replays its stable outcome; credential-bearing results may be freshly issued for the same principal. Reusing it with a different request returns 409.
Request
Create a secret at an unoccupied path. Values are write-only.
Secret path, for example prod/github/bot. May contain /.
login: username, password and TOTP seed for a site. value: one opaque value.
Free-form notes. Write-only.
Origins a login may be filled into: https://host[:port], or https://*.host for any subdomain.
Password of a login. Write-only.
TOTP seed (base32) of a login. Write-only.
The value of a value secret. Write-only.
Response headers
Evaluated policy limit; zero when no finite policy was evaluated.
Remaining policy budget; zero when no finite policy was evaluated.
Seconds until reset; zero when no finite policy was evaluated.
Response
Origins a login may be filled into: https://host[:port], or https://*.host for any subdomain.
Secret path, for example prod/github/bot. May contain /.
The owning subaccount, or null for an organization-wide secret.
login: username, password and TOTP seed for a site. value: one opaque value.
Not secret; readable.
Current version; the ETag of the secret.

