> For the complete documentation index, see [llms.txt](https://docs.airops.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.airops.com/docs/es/tu-espacio-de-trabajo/settings/secrets.md).

# Secretos

Almacena y gestiona de forma centralizada credenciales, claves API y otros secretos.

Siempre que quieras hacer referencia a una clave de API o a un secreto en el Studio, puedes añadirlos de forma segura a tu espacio de trabajo y ponerlos a disposición en el Studio de manera segura.

Para añadir un nuevo secreto, ve a Configuración > Secretos y haz clic en "Crear secreto".

<figure><img src="https://3036434873-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FX2n5yPRPynbnWuO4SH0M%2Fuploads%2Fgit-blob-1a251295615112f3866a8b51be1772e069cecc9b%2FScreenshot%202025-04-21%20at%2013.28.07.png?alt=media" alt=""><figcaption></figcaption></figure>

Una vez añadidos, podrás seleccionarlos en el constructor usando esta sintaxis:

```
_secrets["my_secret_name"]
```

<figure><img src="https://3036434873-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FX2n5yPRPynbnWuO4SH0M%2Fuploads%2Fgit-blob-71af4194e6c084063ed41cce0561dbb49d8a19ef%2FScreenshot%202025-04-21%20at%2013.30.39.png?alt=media" alt=""><figcaption></figcaption></figure>

Como ejemplo, si añades un secreto llamado "MY\_SECRET", entonces puedes acceder a él en el constructor como:

```
_secrets["MY_SECRET"]
```

Para credenciales de LLM y otras integraciones de terceros, AirOps suele contar con algunas autenticaciones nativas, así que antes de añadir un secreto personalizado, asegúrate de que no aparezca en "Configuración > Integraciones" o "Configuración > Proveedores de API".

Si la integración ya está autenticada en **Ajustes > Integraciones**, puedes exponer sus credenciales a los flujos de trabajo directamente sin duplicarlas como un secreto. Consulta [Autenticaciones de integraciones](/docs/es/tu-espacio-de-trabajo/settings/authentications.md).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.airops.com/docs/es/tu-espacio-de-trabajo/settings/secrets.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
