Skip to main content

encode_service_jwt

Function encode_service_jwt 

Source
pub fn encode_service_jwt(claims: &Claims, signing_key: &SigningKey) -> String
Expand description

Encode a WIMSE Workload Identity Token (typ: "wit+jwt") for service JWTs. Includes kid in the JOSE header for key rotation support. Automatically assigns a jti if the claims don’t already have one.