> For the complete documentation index, see [llms.txt](https://docs.realmjoin.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.realmjoin.com/es/agente-de-realmjoin/realmjoin-client/local-admin-password-solution-laps/keyvault.md).

# KeyVault

Crea un Azure Key Vault y una directiva de acceso para almacenar de forma segura las contraseñas de las cuentas locales generadas por RealmJoin LAPS.

Las aplicaciones y servicios en la nube usan claves y secretos criptográficos para ayudar a mantener la información segura. Azure Key Vault protege estas claves y secretos. Cuando usa Key Vault, puede cifrar claves de autenticación, claves de Storage Account, claves de cifrado de datos, archivos .pfx y contraseñas usando claves protegidas por módulos de seguridad de hardware.

## Crear KeyVault

La siguiente tabla muestra los pasos para la creación de Azure KeyVault y la configuración de la directiva de acceso para RealmJoin LAPS:

| Tarea                                                                                                                                                                                                                                                                                                                                                        | Imagen                                                                                                                                                                                                                                                    |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| 1. Abra [Azure Portal](https://portal.azure.com)                                                                                                                                                                                                                                                                                                             |                                                                                                                                                                                                                                                           |
| 2. Empiece con **Crear un recurso**                                                                                                                                                                                                                                                                                                                          | ![](https://3832142177-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MkrcM7cKOpXKri1kVrh%2Fuploads%2FIXKOOIliqE3Kxs5cd1N5%2Fimage.png?alt=media\&token=608b2c0e-6df6-4f43-9dcf-ddb1b8954eba)                                       |
| 3. Escriba **Key Vault** en el campo de búsqueda                                                                                                                                                                                                                                                                                                             | ![](https://3832142177-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MkrcM7cKOpXKri1kVrh%2Fuploads%2FaCVEJXsrIA0QXik9U52T%2Fimage.png?alt=media\&token=0cd2bac4-e17d-4d5f-9612-4e074782c8c5)                                       |
| 4. En la página de detalles haga clic en **Crear**                                                                                                                                                                                                                                                                                                           |                                                                                                                                                                                                                                                           |
| <p>5. Complete los campos obligatorios en la pestaña Básico.<br><br>Asegúrese de utilizar un esquema de nomenclatura distinto para la URL de KeyVault.<br><br>Por ejemplo: <em>rj-\[tenant]-\[service]</em></p><p>Nota: este es un nombre DNS, por lo que debe ser globalmente único<br><br>Pulse <strong>Siguiente</strong>.</p>                            | ![](https://3832142177-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MkrcM7cKOpXKri1kVrh%2Fuploads%2FlZ1NGF0QA2tudFFLarFX%2Fimage.png?alt=media\&token=5fb9a2ed-e492-4840-bbca-157568b5901c)                                       |
| <p>6. Configuración de acceso<br><br>Elija <strong>"política de acceso de Vault"</strong> para el modelo de permisos.</p>                                                                                                                                                                                                                                    | <img src="https://3832142177-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MkrcM7cKOpXKri1kVrh%2Fuploads%2F3Uw8zlepxTFlZ1IMVaL8%2Fimage.png?alt=media&amp;token=4313ba65-f0b5-4658-a9b1-9b5e16d55209" alt="" data-size="original"> |
| <p>7. Cree una política de acceso para RealmJoin<br><br>Pulse <em><strong>Crear</strong></em> y elija <strong>"Administración de claves, secretos y certificados"</strong> como plantilla.<br><br>Agregue además <em><strong>"Seleccionar todo"</strong></em> para <strong>Operaciones criptográficas.</strong><br><br>Pulse <strong>Siguiente</strong>.</p> | <img src="https://3832142177-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MkrcM7cKOpXKri1kVrh%2Fuploads%2Fr5bOENNN6X97UeR9GKPf%2Fimage.png?alt=media&amp;token=72df2f9e-432d-4860-87e9-81b3ad52b96e" alt="" data-size="original"> |
| <p>8. Agregue "RealmJoin" como principal<br><br>Pulse <strong>Siguiente</strong>.</p>                                                                                                                                                                                                                                                                        |                                                                                                                                                                                                                                                           |
| 9. Haga clic en **Crear**                                                                                                                                                                                                                                                                                                                                    |                                                                                                                                                                                                                                                           |
| 10. Revise su configuración y ajustes y haga clic en **Revisar + crear**                                                                                                                                                                                                                                                                                     |                                                                                                                                                                                                                                                           |
| 11. Espere a que la implementación se complete correctamente                                                                                                                                                                                                                                                                                                 |                                                                                                                                                                                                                                                           |
| 12. Haga clic en **Ir al recurso**                                                                                                                                                                                                                                                                                                                           |                                                                                                                                                                                                                                                           |
| 13. Por último, vaya a **Resumen** y comparta el **nombre DNS** con el [RealmJoin Support](mailto:support@realmjoin.com)                                                                                                                                                                                                                                     | ![](https://3832142177-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MkrcM7cKOpXKri1kVrh%2Fuploads%2FbZ6vZZXjMNHfwlumh8HQ%2Fimage.png?alt=media\&token=00c4b87a-63c7-4019-bc20-4fcf2316e46a)                                       |

## Almacenamiento de secretos de KeyVault

RealmJoin no almacenará el secreto en ningún almacenamiento propietario, sino que creará un **secreto de Azure KeyVault** para almacenarlo de forma segura y auditable. La API de KeyVault se documenta aquí:

<https://docs.microsoft.com/en-us/rest/api/keyvault/secrets/set-secret/set-secret>

La entrada en KeyVault se agregará con el ID de dispositivo de Azure como clave y el GUID en texto sin formato como valor secreto. Consulte el siguiente ejemplo:

![](https://3832142177-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MkrcM7cKOpXKri1kVrh%2Fuploads%2FcCIa696ogL29y9hJ9F1r%2Fimage.png?alt=media\&token=81ee6a2e-368a-4590-aaba-e3c64f6e25b7)

![](https://3832142177-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MkrcM7cKOpXKri1kVrh%2Fuploads%2FdDif4wpuLTvhjkLSTbae%2Fimage.png?alt=media\&token=51e97aca-983d-4498-aeaa-c3e53fc03e8a)


---

# 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.realmjoin.com/es/agente-de-realmjoin/realmjoin-client/local-admin-password-solution-laps/keyvault.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.
