Delete trust data¶
You must remove the trust metadata using the Notary CLI before you can delete any repositories that contain trust metadata.
Run the following command to initiate trust metadata deletion:
notary delete <registry-host-name>/<namespace>/<repository> --remote
Note
If you do not include the
--remote
flag, Notary deletes local cached content but does not delete data from the Notary server.Example output:
Deleting trust data for <registry-host-name>/<namespace>/<repository>
Enter username: <user-name>
Enter password: <password>
When prompted by the system, enter your username and password, then press Enter to complete the delete operation.
Example output:
Successfully deleted local and remote trust data for <registry-host-name>/<namespace>/<repository>