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

# Retrieve Secrets

> Fetch Vault secrets into your application with the Python or TypeScript SDK, or the REST API

Once a secret exists in Vault, any application can fetch it at runtime - it doesn't have to be OpenLIT itself. Retrieval requires an OpenLIT API key, and you can filter what comes back by an exact Key or by one or more Tags.

## Create an API key

<Steps>
  <Step title="Create an API Key">
    To authenticate your requests, you need an API key:

    * Go to OpenLIT.
    * Navigate to the **API Keys** page.
    * Click on **Create API Key**.
    * Enter a name for your API key.
    * Save the API key displayed. Store it securely - it's used for authentication in the SDK or API calls below.
  </Step>
</Steps>

## Filtering

You can narrow down which secrets you get back:

* **By Key** - pass the exact Key of a single secret.
* **By Tags** - pass one or more tags. OpenLIT returns any secret matching at least one of the given tags.

Leave both out to retrieve all secrets you have access to.

## Get secrets using the SDK or API

<Card title="GET Secret(s) API reference" href="/latest/openlit/developer-resources/api-reference/endpoint/vault/get" icon="cloud-arrow-down">
  Full request/response schema, plus Python and TypeScript SDK examples, parameter tables, and the CORS/error-handling notes
</Card>
