Expand description
Credential management DTOs (registry and git credentials).
These types mirror the credential records stored by zlayer-secrets
but are defined here as wire types so they can be reused by clients
without depending on the secrets crate.
Structs§
- Create
GitCredential Request - Body for
POST /api/v1/credentials/git. - Create
Registry Credential Request - Body for
POST /api/v1/credentials/registry. - GitCredential
Response - Git credential metadata (returned by list/create; no secret value).
- Registry
Credential Response - Registry credential metadata (returned by list/create; no password).
Enums§
- GitCredential
Kind Schema - Kind of git credential (
OpenAPIschema). - Registry
Auth Type Schema - Authentication method for a registry credential (
OpenAPIschema).