Skip to main content

generate_key

Function generate_key 

Source
pub fn generate_key() -> String
Expand description

Generate a random sk--prefixed secret (32 bytes of entropy, hex-encoded). Used for both admin tokens and virtual API keys.