Topics covered in this article:
To get the access and secret key for MinIO, follow the given steps:
STEP 1:
Get the name of the MinIO pod.
To know the name of the pod, execute:
kubectl get pods
Sample Output:
NAME READY STATUS RESTARTS AGE
minio-deployment-698cf4f5f4-gj5cd 1/1 Running 0 4h19m
percona-66db7d9b88-khvhd 1/1 Running 0 3h57m
In the above sample output minio-deployment-698cf4f5f4-gj5cd is the required pod.
STEP 2:
To get secret and access key, execute:
kubectl describe pod <pod_name> | grep 'SECRET\|ACCESS'
Sample Command:
kubectl describe pod minio-deployment-698cf4f5f4-gj5cd | grep 'SECRET\|ACCESS'
Sample Output:
MINIO_ACCESS_KEY: minio
MINIO_SECRET_KEY: minio1234
NOTE: In case you reffered this article for DMaaS using MinIO. Use MINIO_ACCESS_KEY as username and MINIO_SECRET_KEY as the password.