Skip to main content

Module credentials

Module credentials 

Source
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§

CreateGitCredentialRequest
Body for POST /api/v1/credentials/git.
CreateRegistryCredentialRequest
Body for POST /api/v1/credentials/registry.
GitCredentialResponse
Git credential metadata (returned by list/create; no secret value).
RegistryCredentialResponse
Registry credential metadata (returned by list/create; no password).

Enums§

GitCredentialKindSchema
Kind of git credential (OpenAPI schema).
RegistryAuthTypeSchema
Authentication method for a registry credential (OpenAPI schema).