Skip to main content

Module types

Module types 

Source
Expand description

Data types for the secrets domain.

Lifted into zlayer-types so cross-crate consumers (zlayer-api, zlayer-agent, the CLI) can name secrets shapes without depending on zlayer-secrets. The zlayer-secrets crate re-exports these for backward compatibility.

Structs§

RotationResult
Result of a secret rotation — records the version before and after the rotate call.
Secret
A secure secret wrapper that provides memory safety guarantees.
SecretMetadata
Metadata associated with a stored secret.
SecretRef
A reference to a secret, parsed from the $S: prefix syntax.

Enums§

SecretScope
The scope of a secret - determines visibility and access.