How do I retrieve a password from my environment? E.g. MySQL or IAM superuser values

Modified on Fri, 8 May at 4:04 PM

Prerequisites


kubectl must be configured against your cluster. Verify this by running:

kubectl cluster-info

If it is not configured, please refer to kubectl can't reach the cluster ("Forbidden", "connection refused", "localhost:8080")


IAM


kubectl get secrets/keycloak-secret --template={{.data.KEYCLOAK_ADMIN_PASSWORD}} | base64 --decode


LF MySQL


kubectl get secrets/eln-global-secrets --template={{.data.JDBC_PASSWORD}} | base64 --decode

 

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article