View secret keys
This page documents an earlier version of InfluxDB. InfluxDB v2.7 is the latest stable version. View this page in the v2.7 documentation.
View secret keys using the influx
command line interface (CLI) or the InfluxDB API.
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 --request GET http://localhost:8086/api/v2/orgs/<org-id>/secrets \
--header 'Authorization: Token YOURAUTHTOKEN'
当前内容版权归 jasper-zhang 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 jasper-zhang .