hk util detect-private-key
- How to hail it:
hk util detect-private-key <FILES>… - Effect: read-only (looks, never touches)
Detects private keys in files, so the keys to the strongroom don't sail off with the cargo.
Cargo it takes
<FILES>…— The files to check
Flags to fly
-h --help— Print help, for when ye've lost yer bearings
Tales from the deck
Check the files ye hand over for recognized private-key markers.
sh
hk util detect-private-key config/example.envFurther charts
Built-in linters and utilities: the standing crew · Troubleshooting: the ship's log · All the bosun's calls
