Documentation

View secret keys

View secret keys using the InfluxDB Cloud UI, influx command line interface (CLI) or the InfluxDB API.

View secret keys using the InfluxDB Cloud UI

Follow the steps below to view a list of secret keys. Only the keys will be shown, not the values.

  1. In the InfluxDB Cloud UI, click Settings.

  2. Click on the Secrets tab.

From here, you can add, update, and delete secrets.

View secret keys using the influx CLI

Use the influx secret list command to list your organization’s secret keys.

influx secret list

View secret keys using the InfluxDB API

Use the GET request method and the InfluxDB /orgs/{orgID}/secrets API endpoint to view your organization’s secrets keys.

Include the following:

curl -XGET https://cloud2.influxdata.com/api/v2/orgs/<org-id>/secrets \
  -H 'Authorization: Token YOUR_API_TOKEN'

Was this page helpful?

Thank you for your feedback!


The future of Flux

Flux is going into maintenance mode. You can continue using it as you currently are without any changes to your code.

Read more

InfluxDB Cloud powered by TSM