Skip to content

Commit

Permalink
mechanism is optional
Browse files Browse the repository at this point in the history
  • Loading branch information
jans23 committed Sep 12, 2024
1 parent 9be01b0 commit 4dc6bca
Showing 1 changed file with 11 additions and 17 deletions.
28 changes: 11 additions & 17 deletions nethsm/operation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ The supported key types and their corresponding mechanisms are the following.

Keys are assigned to the `Namespace <administration.html#namespaces>`__ of the user that imports the key.

Import a key pair from a PEM file into NetHSM as follows.
Import a private key from a PEM file into NetHSM as follows.

.. tabs::
.. tab:: nitropy
Expand All @@ -148,13 +148,13 @@ Import a key pair from a PEM file into NetHSM as follows.

**Arguments**

+--------------+------------------------+
| Argument | Description |
+==============+========================+
| ``FILENAME`` | Key file in PEM format |
+--------------+------------------------+
+--------------+--------------------------------+
| Argument | Description |
+==============+================================+
| ``FILENAME`` | Private key file in PEM format |
+--------------+--------------------------------+

**Required Options**
**Optional Options**

+----------------------------------------+----------------------------------------------------+
| Option | Description |
Expand All @@ -163,16 +163,10 @@ Import a key pair from a PEM file into NetHSM as follows.
| | Possible values for the ``MECHANISM`` argument can |
| | be found in the table above. |
+----------------------------------------+----------------------------------------------------+

**Optional Options**

+-------------------------------+-------------------------+
| Option | Description |
+===============================+=========================+
| ``-k``, ``--key-id`` ``TEXT`` | The ID of the new key |
+-------------------------------+-------------------------+
| ``--tags`` ``TEXT`` | The Tag for the new key |
+-------------------------------+-------------------------+
| ``-k``, ``--key-id`` ``TEXT` ` | The ID of the new key |
+----------------------------------------+----------------------------------------------------+
| ``--tags`` ``TEXT`` | The Tag for the new key |
+----------------------------------------+----------------------------------------------------+

**Example**

Expand Down

0 comments on commit 4dc6bca

Please sign in to comment.