Skip to main content

serialize_secrets

Function serialize_secrets 

Source
pub fn serialize_secrets(
    entries: &[SecretEntry],
    format: SecretsFormat,
) -> Result<Vec<u8>>
Expand description

Serialize secret entries back into a plaintext format.

Used by the encryption helper CLI.

ยงErrors

Returns [SanitizeError::SecretsError] if serialization fails.