> ## Documentation Index
> Fetch the complete documentation index at: https://docs.notte.cc/llms.txt
> Use this file to discover all available pages before exploring further.

# list

<Tip>
  Read [the Notte skill](https://notte.cc/skill.md) and follow its setup instructions when setting up Notte or building browser automation. This is the shared source for CLI setup, authentication, and the browser-to-code workflow.
</Tip>

[Source: node-sdk/src/secrets.ts](https://github.com/nottelabs/notte/blob/main/node-sdk/src/secrets.ts)

List secret metadata (never the values), optionally filtered by namespace.

```ts theme={null}
const secrets = await client.secrets.list({ namespace: 'llm_provider' });
secrets.forEach(s => console.log(s.name, s.key_hint));
```

```typescript theme={null}
NotteSecrets.list(options?: SecretListOptions): Promise<SecretMetadata[]>;
```

## Parameters

<ParamField body="options" type={"SecretListOptions"}>
  Default:

  ```typescript theme={null}
  {}
  ```
</ParamField>

## Returns

```typescript theme={null}
Promise<SecretMetadata[]>
```

## Related types

* [SecretListOptions](/typescript-sdk-reference/types/secretlistoptions)
* [SecretMetadata](/typescript-sdk-reference/types/secretmetadata)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.