Entrust HSM
Protect Secrets Manager connection details locally with Entrust HSM
Last updated
Protect Secrets Manager connection details locally with Entrust HSM
Last updated
Keeper Secrets Manager integrates with Entrust HSM in order to provide protection for Keeper Secrets Manager configuration files. With this integration, you can protect connection details on your machine while taking advantage of Keeper's zero-knowledge encryption of all you secret credentials.
Encrypt and Decrypt your KSM configuration files with Entrust HSM
Protect against unauthorized access to your Secrets Manager connections
Requires only minor change to code for immediate protection. Works with all KSM Python SDK functionality
Supports the Python Secrets Manager SDK
The Python module needs to be built as a nShield native application
Using Python (v3.8.5) and nfpython modules from SDK ISO image from Entrust nShield software (Security World 12.80 or later)
Virtualenv is recommended
This step is optional, but recommended for development
Create a virtualenv environment to work in
/opt/nfast/python3/bin/python3 -m venv --copies venv
Activate the virtualenv environment before starting development
. venv/bin/activate
The Secrets Manager HSM modules are located in the Keeper Secrets Manager storage module which can be installed using pip
The nfpython package also needs to be installed in order to utilize the Entrust HSM. This package is installed as part of the nShield package with your Entrust installation.
In Linux:
In Windows:
Use the HsmNfastKeyValueStorage
as your Secrets Manager storage in the SecretsManager
constructor.
The HsmNfastKeyValueStorage
requires the method and identity ("simple" and "ksmkey" respectively in this example).
You're all set and ready to use Secrets Manager with Entrust NShield HSM
Once setup, the Secrets Manager Entrust integration supports all Secrets Manager SDK functionality. Your code will need to be able to access the nShield HSM in order to manage the decryption of the configuration file when run.
Check out the KSM SDKs documentation for more examples and functionality
In order to test encryption with the Entrust nShield HSM, use the following command:
Replace "ksmkey" in these examples with the identity in your HSM.
in Linux:
in Windows: