Skip to main content
To segregate applications on the HSM, you must create an application partition specifically for your use case. Application partitions segment the permissions and keys between applications on an HSM. Choose one of the following methods to create an application partition:

Excrypt Manager

Perform the following steps to create an application partition by using Excrypt Manager:
1
Go to the Application Partitions menu and select [ Add ].
2
In the Basic Information tab, configure all of the fields as follows:
OptionRequired configuration
Role NameSpecify any name that you want for this new application partition.
Logins RequiredSet to 1.
If the HSM is in FIPS mode, you must set Logins Required to 2.
PortsSet to Prod.
Connection SourcesSet to Ethernet.
Managed RolesLeave blank, because you specify the exact Permissions, Key Slots, and Commands for this application partition or role to have access to.
Use Dual FactorSet to Never.
Upgrade PermissionsLeave unchecked.
3
In the Permissions tab, select the following key permissions:
PermissionDescription
KeysTop-level permission.
AuthorizedAllows for keys that require login.
Import PKIAllows trusting an external PKI. Generally not recommended, but some applications use this option for PKI symmetric key wrapping.
No Usage WrapEnables interoperable key wrapping without defining key usage as part of the wrapped key. Use this only if you want to exchange keys with external entities or use the HSM to wrap externally used keys.
4
In the Key Slots tab, Futurex recommends that you create a range of 1000 total keys that do not overlap with another application partition. The OpenBao seal key is an RSA key pair, so the range must include asymmetric key slots. If the application requires more keys, configure it accordingly.
5
To use the HSM functionality, you must enable particular functions on the application partition based on application requirements. OpenBao uses an RSA seal key, so the partition needs no symmetric encryption commands. Enable the following commands under Commands:PKCS #11 communication commands:
CommandDescription
ECHOCommunication test / retrieve version
HASHRetrieve device serial
GPKMRetrieve key table information
GPKSGeneral-purpose key settings get/change
Key operations commands:
CommandDescription
GRSAGenerate RSA private and public key
LRSALoad key into RSA key table
RSA encryption commands:
CommandDescription
GPSRGeneral-purpose RSA encrypt/decrypt or sign/verify with recovery
Miscellaneous commands:
CommandDescription
RANDGenerate random data
TIMEGet/set the HSM internal clock

FXCLI

Run the following role FXCLI commands to create the new application partition and enable all needed functions. Replace [role_name] with the name of the application partition and [first_slot] and [last_slot] with a key slot range that doesn’t overlap another application partition.
FXCLI
FXCLI
On firmware 7.x, every role has GHSH enabled by default, so the command doesn’t include it. Adding Excrypt:GHSH causes the whole command to fail with Invalid permission 'Excrypt:GHSH'.
If the HSM is in FIPS mode, also set the number of logins that the application partition requires to 2. Set it with role modify, because role add ignores the --logins option for application partitions:
FXCLI
To verify the application partition, run role get --name [role_name] and confirm the loginsRequired value, key slot range, and permissions.
FXCLI doesn’t set the Ports or Connection Sources of an application partition. A new application partition uses the Ethernet and Serial connection sources. To restrict it to Ethernet only, use Excrypt Manager.