1
0
mirror of https://github.com/minio/docs.git synced 2025-05-28 00:41:14 +03:00
docs/source/includes/k8s/steps-configure-minio-kes-hashicorp.rst
2022-09-06 17:38:08 -04:00

3.5 KiB

Deploy MinIO Tenant with Server-Side Encryption using Hashicorp Vault

1) Access the Operator Console

Use the kubectl minio proxy command to temporarily forward traffic between the local host machine and the MinIO Operator Console:

kubectl minio proxy

The command returns output similar to the following:

Starting port forward of the Console UI.

To connect open a browser and go to http://localhost:9090

Current JWT to login: TOKEN

Open your browser to the specified URL and enter the JWT Token into the login page. You should see the Tenants page:

MinIO Operator Console

Click the + Create Tenant to start creating a MinIO Tenant.

2) Complete the Encryption Section

Reference the Deploy a MinIO Tenant <minio-k8s-deploy-minio-tenant> procedure for complete documentation of other Tenant settings.

To enable with Hashicorp Vault during Tenant deployment, select the Encryption section and toggle the switch to Enabled. You can then select the Vault Radio button to Vault to display the Vault configuration settings.

MinIO Operator Console - Create a Tenant - Encryption Section

An asterisk * marks required fields. The following table provides general guidance for those fields:

Field Description

Endpoint

The hostname or IP address for the Vault service (https://vault.example.net:8200) to use for .

The MinIO Tenant pods must have network access to the specified endpoint.

For Vault services deployed in the same Kubernetes cluster as the MinIO Tenant, you can specify either the service's cluster IP or its DNS hostname <concepts/services-networking/dns-pod-service/>.

For Vault services external to the Kubernetes cluster, you can specify that external hostname to the MinIO Tenant. This assumes that your Kubernetes network configuration supports routing internal traffic to external networks like the public internet.

AppRole ID
AppRole Secret

Specify the Vault AppRole ID and AppRole Secret MinIO should use when authenticating to the Vault service. Review the Vault Prerequisites <minio-sse-vault-prereq-vault> for instructions on generating these values.

MinIO defaults to using the KV Version 1 engine. You can specify v2 to enable the KV Version 2 engine.

Once you have completed the Vault configuration, you can finish any remaining sections of Tenant Deployment <minio-k8s-deploy-minio-tenant>.

3) Generate a New Encryption Key

4) Enable SSE-KMS for a Bucket