Rotating Grafana® service credentials#
In the interests of security, it is best practice to rotate credentials from time-to-time.
For Grafana®, a few steps need to be performed manually to do this. You will need to have access to a web browser,
and to have installed
avn, the Aiven CLI tool.
In the web browser, go to the Aiven Console page for your Grafana service.
Login to the Grafana instance at the Service URI displayed on that page, using the
In the bottom-left of Grafana is a small avatar displayed above the help icon. Hover over it, and click Change password.
Change the password and make a note of it somewhere safe.
avnand then run the following command to update the stored password in the console
avn service user-password-reset \ --username avnadmin \ --new-password <new password noted above> \ <service name>
avn service user-password-reset \ --username avnadmin \ --new-password my_super_secure_password \ my-grafana-service
Refresh the Aiven Console and the new password should now be displayed for the