> For the complete documentation index, see [llms.txt](https://wiki.datadike.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki.datadike.com/product-guide/articles/estudo-de-caso-controlando-contas-do-ldap/rotacao-de-senhas.md).

# Rotação de senhas

> Requisitos:
>
> Credencial cadastrada no PAM
>
> Creencial vinculada ao Asset que o JOB irá executar

***

### Criando o JOB par a rotação

1. Change Account Secret >> Create

<figure><img src="/files/QPx5eLEZgbLafzZTOxr0" alt=""><figcaption></figcaption></figure>

2. Nome do JOB, Conta a ser rotacionada e Asset que o DataDike se conectará para rotacionar

<figure><img src="/files/i0A1Xyg9MYvA5lgcsu6E" alt=""><figcaption></figcaption></figure>

|                   |                                                                                                                                                                    |
| ----------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Name              | Nome do JOB a ser executado                                                                                                                                        |
| Asset >> Accounts | Contas que terão as senhas rotacionadas                                                                                                                            |
| Asset >> Assets   | Dispositivo que o DataDike irá se conectar para alterar a credencial                                                                                               |
| Asset >> Nodes    | Opcional ao item acima, pode se cadastrar um grupo onde o DataDike tentará rotacionar a credencial em todas elas (para casos que não se trata de Domain Accounts). |

3. Defina o padrão de credenciais a ser implementado

<figure><img src="/files/NdjYl0CRJYQxvSAcydSh" alt=""><figcaption></figcaption></figure>

4. Defina as regras de automação

<div align="left"><figure><img src="/files/b22bxHwf25LpJpCo7lEb" alt="" width="563"><figcaption></figcaption></figure></div>

***

### Executando a rotação

Change Account Secret >> Selecione o JOB >> Execute

<figure><img src="/files/ruj22bPcHEmo0rTHvWuZ" alt=""><figcaption></figcaption></figure>


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://wiki.datadike.com/product-guide/articles/estudo-de-caso-controlando-contas-do-ldap/rotacao-de-senhas.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
