> 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/pt/o-seu-espaco-de-trabalho/settings/secrets.md).

# Segredos

Armazene e faça a gestão centralizada de credenciais, chaves API e outros segredos.

Sempre que quiser referenciar uma chave de API ou um segredo no Studio, pode adicioná-los com segurança ao seu espaço de trabalho e torná-los disponíveis no Studio de forma segura.

Para adicionar um novo segredo, navegue até Definições > Segredos e clique em "Criar Segredo".

<figure><img src="https://31915162-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>

Depois de adicionados, poderá selecioná-los na construção usando esta sintaxe:

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

<figure><img src="https://31915162-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>

Por exemplo, se adicionar um segredo chamado "MY\_SECRET", então pode acedê-lo no builder como:

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

Para credenciais de LLM e outras integrações de terceiros, a AirOps normalmente tem algumas autenticações nativas, por isso, antes de adicionar um segredo personalizado, certifique-se de que não está listado em "Definições > Integrações" ou "Definições > Fornecedores de API".

Se a integração já estiver autenticada em **Definições > Integrações**, pode expor as suas credenciais aos workflows diretamente sem as duplicar como um segredo. Veja [Autenticações de Integração](/docs/pt/o-seu-espaco-de-trabalho/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/pt/o-seu-espaco-de-trabalho/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.
