Skip to main content

decap_key_config_snippet

Function decap_key_config_snippet 

Source
fn decap_key_config_snippet(decap_key: &DecapKeyBytes) -> Result<String>
Expand description

Renders decap_key = { ... } as a multi-line inline table (so it can be pasted under a transcryptor or authentication server), wrapping the long base64 fields across lines. The structure is written via toml_writer; only the \-folding - which no TOML serializer does for us - is done here.