Creating a storage class for persistent volume encryption
Create a storage class for persistent volume (PV) encryption.
Before you begin
Based on your use case, ensure that you configure access to the key management system (KMS) for
one of the following options:
- Using
vaulttokens: Ensure to configure access as described in Configuring access to KMS by using vaulttokens. - Using
vaulttenantsa: Ensure to configure access as described in Configuring access by using vaulttenantsa. - Using Thales CipherTrust Manager (using KMIP): Ensure to configure access as described in Configuring access to KMS by using Thales CipherTrust Manager.
-
(For users on Azure platform only) Using Azure Vault: Ensure to set up client authentication and fetch the client credentials from Azure using the following steps:
- Create Azure Vault. For more information, see Quickstart: Create a key vault using the Azure portal in Microsoft product documentation.
- Create Service Principal with certificate based authentication. For more information, see Create an Azure service principal with Azure CLI in Microsoft product documentation.
- Set Azure Key Vault role based access control (RBAC). For more information, see Enable Azure RBAC permissions on Key Vault in Microsoft product documentation.
Procedure
What to do next
The storage class can be used to create encrypted persistent volumes. For more information, see Managing persistent volume claims.
Important: IBM works with the technology partners to provide this documentation as a
service to the customers. However, IBM does not provide support for the HashiCorp product. For
technical assistance with this product, contact HashiCorp.