Expand description
Secrets management API DTOs.
Wire types for the secrets endpoints. Secret values are never exposed
through the API except via an explicit admin-only ?reveal=true request —
only metadata is returned for listing and retrieval.
Structs§
- Bulk
Import Query - Query for
POST /api/v1/secrets/bulk-import—environmentis required. - Bulk
Import Response - Result body for
POST /api/v1/secrets/bulk-import. - Create
Secret Request - Request to create or update a secret.
- GetSecret
Query - Query for
GET /api/v1/secrets/{name}— extends the scope query with arevealflag for admin-only plaintext reads. - Reveal
AllSecrets Response - Response for the batch reveal endpoint — returns every secret in an env as plaintext. Admin-only for now (Phase 3 will gate this on per-env Read permission instead).
- Rotate
Secret Request - Request body for secret rotation.
- Rotate
Secret Response - Response returned by the rotate endpoint.
- Secret
Metadata Response - Response containing secret metadata. Never includes the value unless
the caller is on the explicit
?reveal=trueadmin path, in which casevalueis populated. - Secrets
Scope Query - Query for create / list / get / delete endpoints.