pub fn build_config_secret(
radius: &KanidmRadiusServer,
token_id: &str,
rotation_request: Option<&str>,
config: &RadiusConfig,
) -> Result<Secret, RadiusWorkloadError>Expand description
Build the immutable, content-addressed config Secret.
Credentials live only in data. Metadata carries the owner, UID label,
the token id and the manual-rotation request value, none of which is
secret. rotation_request is the CR’s kaniop.rs/radius-rotate-token
value at mint time.