-
Notifications
You must be signed in to change notification settings - Fork 72
allow users to specify which pkcs11 private key to use by setting a uri #3538
Copy link
Copy link
Closed
Labels
improvementUser valueUser valuetheme:certificatesTheme: Device certificate topicsTheme: Device certificate topicstheme:securityTheme: Security related topicsTheme: Security related topics
Milestone
Description
Is your feature improvement request related to a problem? Please describe.
When using a HSM module with the PKCS11 interface, the HSM module can contain multiple keys (either in the same PKCS11 module, or from different ones), so users should be able to direct thin-edge.io to which one should be used for a given certificate.
Describe the solution you'd like
thin-edge.io pkcs11 support show allow users to device which private key to use by specifying the PKCS11 URI via the tedge (client side) configuration file, tedge.toml.
- support specifying a PKCS11 URI for each private key (similar to the
*.key_pathproperties, but called `key_uri)
Below shows an example of the private key used for all mappers.
File: tedge.toml
[device]
key_uri = "pkcs11:model=SoftHSM%20v2;manufacturer=SoftHSM%20project;token=tedge"Describe alternatives you've considered
Additional context
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
improvementUser valueUser valuetheme:certificatesTheme: Device certificate topicsTheme: Device certificate topicstheme:securityTheme: Security related topicsTheme: Security related topics