hmp privacy#

$ hmp privacy [-h] <action> ...

Remove a run for good with a purge certificate, and verify one

CommandWhat it does
hmp privacy purgeRemove a run for good (its name stays taken) and write a JSON purge certificate
hmp privacy verifyVerify a purge certificate JSON

hmp privacy purge#

$ hmp privacy purge [-h] [-w WORKSPACE] [-y] [--dry-run] [--format {table,json,csv}] [--reason REASON] [--archive-pii] sim_ref

Remove a run for good (its name stays taken) and write a JSON purge certificate

ArgumentWhat it does
sim_refRun directory name, rel_dir, sim_id or unique prefix
--reason REASONFree-form reason recorded in the certificate default 'unspecified'
--archive-piiAlso write the snapshot to a sibling 0o600 archive

Also takes the shared options --workspace --yes --dry-run --format.

Example

$ hmp privacy purge ab12cd34 --reason "data withdrawn" -y

hmp privacy verify#

$ hmp privacy verify [-h] [-w WORKSPACE] [--format {table,json,csv}] [--strict] certificate

Verify a purge certificate JSON

ArgumentWhat it does
certificatePath to a purge certificate JSON file
--strictRequire POSIX 0o600 permissions

Also takes the shared options --workspace --format.

Example

$ hmp privacy verify purge-certificate.json --strict