pub fn create_scoped_token( secret: &str, agent_id: &str, admin: bool, expiry_hours: u64, dbs: Option<Vec<String>>, read_only: bool, ) -> String
Create a signed JWT limited to dbs (all when None).
dbs
None