2.0 KiB
2.0 KiB
title | description | influxdb/cloud/tags | menu | weight | aliases | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
View secret keys | View secret keys using the InfluxDB Cloud UI, `influx` CLI, or the InfluxDB API. |
|
|
302 |
|
View secret keys using the {{< product-name "short" >}} UI, influx
command line interface (CLI) or the InfluxDB API.
- View secret keys using the InfluxDB Cloud UI
- View secret keys using the influx CLI
- View secret keys using 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.
-
In the {{< product-name "short" >}} UI, click Settings.
{{< nav-icon "settings" >}}
-
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:
- Your organization ID in the request URL
- Your API token in the
Authorization
header
curl -XGET https://cloud2.influxdata.com/api/v2/orgs/<org-id>/secrets \
-H 'Authorization: Token YOUR_API_TOKEN'