diff --git a/barbican/cmd/barbican_manage.py b/barbican/cmd/barbican_manage.py index 520c570e9..d1572c997 100644 --- a/barbican/cmd/barbican_manage.py +++ b/barbican/cmd/barbican_manage.py @@ -172,6 +172,27 @@ class HSMCommands(object): description = "Subcommands for managing HSM/PKCS11" + check_mkek_description = "Checks if a MKEK label is available" + + @args('--library-path', metavar='', dest='libpath', + default='/usr/lib/libCryptoki2_64.so', + help='Path to vendor PKCS11 library') + @args('--slot-id', metavar='', dest='slotid', default=1, + help='HSM Slot id (Should correspond to a configured PKCS11 slot, \ + default is 1)') + @args('--passphrase', metavar='', default=None, required=True, + help='Password to login to PKCS11 session') + @args('--label', '-L', metavar='