Options describing how to connect to a hardware security module. Options without default values are mandatory but
may be be omitted from this object if they are specified through environment variables or external configuration.
Properties:
Name | Type | Argument | Default | Description |
---|---|---|---|---|
lib |
string |
<optional> |
Path to implementation-specific PKCS#11 library used to interact with the HSM. | |
pin |
string |
<optional> |
PIN used to access the HSM. | |
slot |
number |
<optional> |
The hardware slot number where data is stored in the HSM. | |
usertype |
number |
<optional> |
1 | Specify the user type for accessing the HSM. |
readwrite |
boolean |
<optional> |
true | True if the session should be read/write; false if read-only. |