Skip to main content

ggshield hmsl query

Description​

Query HasMySecretLeaked using outputs from the fingerprint command.

ggshield hmsl query [OPTIONS] PATH

Note: If you used the -f option during stage one, the results will not be encrypted. It is still useful to pass them through decrypt to properly format the output.

Options​

This command supports all ggshield global options.

Example​

Using a payload.txt file created with ggshield hmsl fingerprint:

$ ggshield hmsl query payload.txt > results.dump

97 credits left for today.
Audited 3 secrets.

The only parameter is the payload file computed during the first step. Remember to pipe the results in a file as they will need to be post-processed, or directly into the next command.