Skip to main content

Additional Commands

Here are the commands supported by the plugin that may be useful.

Test connection

Use this command to see if the connection by the plugin to the Securosys CloudHSM / Primus HSM via TSB can be established and to obtain statistic, with sample output:

./notation-securosys check-connection 
user SECUROSYS, private keys 1, public keys 1, secret keys 0, certificates 1, data objects 0, invalidated keys 0, used size 4868 bytes, max size 1048576 bytes" 

Plugin metadata

Use this command to see plugin version and metadata, with sample output:

./notation-securosys get-plugin-metadata 
{"name":"securosys","description":"Securosys HSM provider for notation","version":"1.3.1","url":"https://www.securosys.com/","supportedContractVersions":["1.0"],"capabilities":["SIGNATURE_GENERATOR.RAW"]}