---
title: View secret keys
description: View secret keys using the InfluxDB Cloud UI, influx CLI, or the InfluxDB API.
url: https://docs.influxdata.com/influxdb/cloud/admin/secrets/view/
estimated_tokens: 447
product: InfluxDB Cloud (TSM)
version: cloud
publisher: InfluxData
canonical: https://docs.influxdata.com/influxdb/cloud/admin/secrets/view/
date: '2023-11-06T15:53:12-07:00'
lastmod: '2023-11-06T15:53:12-07:00'
---

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](#view-secret-keys-using-the-influxdb-cloud-ui)
* [View secret keys using the influx CLI](#view-secret-keys-using-the-influx-cli)
* [View secret keys using the InfluxDB API](#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.

1. In the InfluxDB Cloud UI, click **Settings**.

   Settings

2. Click on the **Secrets** tab.

From here, you can [add](/influxdb/cloud/admin/secrets/manage-secrets/add/#add-a-secret-using-the-influxdb-cloud-ui),[update](/influxdb/cloud/admin/secrets/manage-secrets/update/#update-a-secret-using-the-influxdb-cloud-ui),
and [delete](/influxdb/cloud/admin/secrets/manage-secrets/delete/#delete-a-secret-using-the-influxdb-cloud-ui) secrets.

## View secret keys using the influx CLI

Use the [`influx secret list` command](/influxdb/cloud/reference/cli/influx/secret/list/)to list your organization’s secret keys.

```sh
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](/influxdb/cloud/admin/organizations/view-orgs/#view-your-organization-id) in the request URL
* Your [API token](/influxdb/cloud/admin/tokens/view-tokens/) in the `Authorization` header

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

[secrets](/influxdb/cloud/tags/secrets/)[security](/influxdb/cloud/tags/security/)
