Pico HSM Key Management¶
Use HSM > Management > Keys in PicoKey App to manage keys, domains, certificates, and data objects.
From this view, you can:
- Unlocking the HSM session and using the collapsed session panel
- Key domain setup and DKEK workflows
- Key generation/import
- Key, certificate, and data object management

Load management session¶
When you open HSM > Management, PicoKey App first shows the unlock view.

- Enter the user
PIN. - Click Unlock.
- Wait until key loading finishes.
After unlocking, the Session section collapses to save space.
Expand Session again to access maintenance actions:

Session buttons¶
- Reload: reloads keys/domains/certificates for the current authenticated session.
- Change PIN: opens the PIN change flow.
If the PIN is blocked, the panel also shows these recovery actions:
- Unblock PIN
- Reset Retries
Note
If unlock fails, management data is not loaded.
Keys view layout¶
The Keys tab is divided into two areas:
- Left panel: hierarchical tree (
No domain,Domain N, keys, certificates, data objects) - Right panel: context actions and details for the selected item
Use the tabs at the top to switch between:
- Keys: key tree and key/domain actions
- Cipher: cryptographic operations view
- BIP32: hierarchical deterministic key view
For cipher operations, see Cipher.
Key domains workflow¶
1) Setup a new key domain¶
Select a domain marked as (not created).

When a domain is marked (not created), you can:
- Set up: creates the key domain.
- Create DKEK Share: creates a DKEK share file in
.pbeformat so it can be imported later.
2) Create DKEK share (.pbe)¶
Click Create DKEK Share to open the dialog and create a DKEK share.

Dialog fields:
- Output file: destination path for the generated
.pbefile. - Browse: opens file picker for output location.
- Password: password used to protect the DKEK share.
- Confirm password: must match the password.
3) Import missing DKEK share(s)¶
If a domain shows Missing 1 DKEK, click Import DKEK.

A password dialog is shown:

The app uses the share password to load the DKEK share into the domain.
4) Domain ready state¶
Once the domain has the required DKEK material, it shows a KCV and these actions:

Domain buttons:
- Generate: create a new key directly in that domain
- Import Key: import an existing key into the selected domain
- Clear: remove DKEK material for that domain session/state
- Import P12: import key/certificate material from PKCS#12
- Delete: remove the domain configuration
Danger
Deleting a domain or clearing critical domain material can make keys unavailable.
Generate key¶
From a ready domain, click Generate.

Visible parameters in the dialog:
- Key type/family/curve selectors (example shown:
ECC+Edwards+ed25519) - Label: local alias for easier identification
- Use Counter: usage limit slider (
Unlimitedwhen not limited). This is a decrementing counter: each key use decreases it by 1, and when it reaches0the key can no longer be used. - Purpose flags:
Default,Derive,Wrap,Sign,Encrypt/Decrypt,Custom - Algorithms: algorithm set bound to key usage policy
Import PKCS#12 (P12)¶
From domain actions, click Import P12.

Dialog fields:
- P12 Password: optional password for the PKCS#12 container
- DKEK file + Browse: select DKEK file used during import
- DKEK Password: password used for PBE when required
Key details actions¶
Select a key in the tree to view its metadata and actions in the right panel.

Common key actions:
- Export Public: exports the public part of the selected key
- Export Certificate: exports associated certificate when available
- Change Label: updates key label
- Delete: deletes the selected key
Conditional action:
- Wrap: wraps (exports in protected form) keys marked as exportable/wrappable
Displayed metadata includes:
Key ID,Type,Curve,SizeLabel,Use Counter,Purposes- Certificate references (
Cert CHR,Cert CAR) when present
Warning
Delete is irreversible. Ensure backups or wrapped exports exist before removal.
Certificate details¶
Select a certificate under Certificates (such as Device, CVCA, or DVCA) to view its metadata in the right panel.

Visible fields:
Label: certificate alias shown in the UICert CHR: certificate holder referenceCert CAR: certificate authority reference
Action:
- Export Certificate: exports the selected certificate file.
Note
This action exports certificate data only, not the private key.
Certificate import¶
Select the root Certificates node to open certificate import actions.

Action:
- Import Certificate: imports a certificate into the certificates store shown in the tree.
- Delete Certificate: removes the selected certificate entry.
Data objects (Import Object)¶
Select Data Objects > Public to import public data objects.

Available actions:
- Import Public Object: imports a public data object from a file.
- Import Public Hex: imports a public data object from hexadecimal input.
- Import Private Object: imports a private data object from a file.
- Import Private Hex: imports a private data object from hexadecimal input.
Data Objects > Private is reserved for private objects and follows the same tree navigation pattern.
Registration requirement¶
Register the board in PicoKey App before using this panel; otherwise, management actions are restricted.