Skip to content

hk util detect-private-key

  • Usage: hk util detect-private-key <FILES>…
  • Effect: read-only

Detect private keys in files

Arguments

  • <FILES>… — Files to check

Flags

  • -h --help — Print help

Examples

Check the supplied files for recognized private-key markers.

sh
hk util detect-private-key config/example.env

Learn more

Built-in linters and utilities · Troubleshooting · All commands

MIT LicenseCopyright © 2026jdx.dev