# List secrets (/en/docs/api/native/application/listSecrets)



`GET /application/v1/workers/{worker_id}/secrets`

List secret names and sources. Values are never returned.

**Support: supported**

## Parameters [#parameters]

| Name       | Location | Type   | Required | Description         |
| ---------- | -------- | ------ | -------- | ------------------- |
| worker\_id | path     | string | true     | Worker ID (wkr\_…). |

## Response [#response]

### HTTP 200 [#http-200]

Success

**application/json**

| Name | Type | Description |
| --- | --- | --- |
| [].worker_id | string | Owning Worker. |
| [].name | string | Secret name, as seen by the Worker's env. |
| [].source | object | &#123;type: value&#125; for a stored value, or &#123;type: vault, vault_id, secret&#125; for a vault reference. Values are never returned. |
| [].updated_on | string | When the secret last changed. |
