(token: &str)
| 179 | } |
| 180 | |
| 181 | fn token_fingerprint(token: &str) -> String { |
| 182 | let digest = Sha256::digest(token.as_bytes()); |
| 183 | format!("sha256:{}", &hex::encode(digest)[..16]) |
| 184 | } |
| 185 | |
| 186 | /// Read the token from the env/file/SA-bootstrap chain, but only the |
| 187 | /// "already a gateway JWT" paths — show-token / show-principal don't |
no outgoing calls
no test coverage detected