cloud_integration_tool
cloud_integration_tool
creates a key in a Security World.
This key is first wrapped by a wrapping key and only then exported for use outside of the Security World.
Run cloud_integration_tool
To run cloud_integration_tool
on Windows:
"%NFAST_HOME%\python3\python.exe" -m cloud_integration_tool
or directly from its script:
"%NFAST_HOME%\python3\Scripts\cloud_integration_tool.exe"
To run cloud_integration_tool
on Linux:
/opt/nfast/python3/bin/python3 -m cloud_integration_tool
or directly from its script:
/opt/nfast/python3/bin/cloud_integration_tool
Usage and options
usage: cloud_integration_tool [-h] [--version] [-m MODULE] [-O CARDSET | -S SOFTCARD | -M] [-a AZUREKEK] [-k KEYTYPE] [-w WRAPALG] PROVIDER KEYNAME WRAPKEY
cloud_integration_tool
requires at least three parameters to be specified:
PROVIDER
|
The name of the provider. |
KEYNAME
|
The name of the Security World key. An existing key can be specified.
This must be an existing key with appname |
WRAPKEY
|
The path to the cloud service provider’s wrapping key file. |
The following optional arguments can also be specified:
--module NUM
|
Module number of HSM which will do the wrapping (default 1). |
--module-protection
|
Use module protection when generating a new key (default). |
--softcard NAME
|
Name of softcard to use when generating a new key. |
--cardset NAME
|
Name of OCS to use when generating a new key. |
--wrap-alg NAME
|
The wrapping algorithm to be used. |
--key-type NAME
|
The target key type. |
--azure-kek URL
|
The full URL key identifier of the Microsoft Key Exchange Key. |
Wrapping algorithm
Each provider supports one or more wrapping algorithms. The supported values and defaults are listed in the table below. An error message will be printed if the algorithm is not supported by the specified provider or incompatible with the specified key type.
Provider name | Supported wrapping algorithms |
---|---|
AWS |
|
Google Cloud Key Management |
|
Google Compute Engine |
|
Microsoft Azure |
|
Salesforce |
|
Key type
Each provider supports one or more key types. The supported values and defaults are listed in the table below. An error message will be printed if the type is not supported by the specified provider or incompatible with the specified wrapping algorithm.
Provider name | Supported key types |
---|---|
AWS |
|
Google Cloud Key Management |
|
Google Compute Engine |
|
Microsoft Azure |
|
Salesforce |
|
Microsoft Key Exchange Key
For Microsoft Azure, the full URL key identifier of the wrapping key must be specified.
The format should be: https://<container-name>.<container-type>.azure.net/keys/<key-name>/<key-version>
where <container-type>
is either vault
or managedhsm
.
For example, https://myvault.vault.azure.net/keys/my-key/version
.