hmp privacy#
$ hmp privacy [-h] <action> ...Remove a run for good with a purge certificate, and verify one
| Command | What it does |
|---|---|
hmp privacy purge | Remove a run for good (its name stays taken) and write a JSON purge certificate |
hmp privacy verify | Verify 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_refRemove a run for good (its name stays taken) and write a JSON purge certificate
| Argument | What it does |
|---|---|
sim_ref | Run directory name, rel_dir, sim_id or unique prefix |
--reason REASON | Free-form reason recorded in the certificate default 'unspecified' |
--archive-pii | Also 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" -yhmp privacy verify#
$ hmp privacy verify [-h] [-w WORKSPACE] [--format {table,json,csv}] [--strict] certificateVerify a purge certificate JSON
| Argument | What it does |
|---|---|
certificate | Path to a purge certificate JSON file |
--strict | Require POSIX 0o600 permissions |
Also takes the shared options --workspace --format.
Example
$ hmp privacy verify purge-certificate.json --strict