> For the complete documentation index, see [llms.txt](https://docs.devolutions.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.devolutions.net/powershell-universal/fr/commandes-powershell/set-psusecretvault.md).

# Set-PSUSecretVault

Mettre à jour un enregistrement Azure Key Vault basé sur un modèle dans PowerShell Universal.

## SYNOPSIS

Met à jour un enregistrement de coffre de secrets basé sur un modèle.

## SYNTAXE

```powershell
Set-PSUSecretVault [-Id] <Int64> [-NewName <String>] [-VaultUri <String>]
    [-AuthenticationType <Default | ManagedIdentity | ClientSecret>]
Get-PSUSecretVault | Set-PSUSecretVault ...
```

Les jeux de paramètres nom, objet de coffre et ID prennent tous en charge les paramètres de connexion de gestion standards de PowerShell Universal.

## DESCRIPTION

Met à jour un enregistrement de coffre de secrets basé sur un modèle. Modifiez l'URI du coffre, le type d'authentification, l'ID client de l'identité gérée ou la référence à la variable secrète utilisée pour l'authentification par secret client.

## EXEMPLES

```powershell
Set-PSUSecretVault -Name 'Production Key Vault' `
    -VaultUri 'https://prod2.vault.azure.net/'

Get-PSUSecretVault -Name 'Production Key Vault' |
    Set-PSUSecretVault -AuthenticationType ManagedIdentity `
        -ManagedIdentityClientId '11111111-1111-1111-1111-111111111111'
```

## PARAMÈTRES

| Paramètre                                         | Description                                                                  |
| ------------------------------------------------- | ---------------------------------------------------------------------------- |
| `-Id`, `-Name`, `-Vault`                          | Sélectionne l'enregistrement; `-Vault` accepte l'entrée de pipeline.         |
| `-NewName`                                        | Nouveau nom d'enregistrement.                                                |
| `-VaultUri`                                       | URI Azure Key Vault.                                                         |
| `-Type`                                           | Type de coffre; Azure Key Vault utilise `AzureKeyVault`.                     |
| `-AuthenticationType`                             | `Default`, `ManagedIdentity` ou `ClientSecret`.                              |
| `-ManagedIdentityClientId`                        | ID client de l'identité gérée attribuée par l'utilisateur.                   |
| `-TenantId`, `-ClientId`, `-ClientSecretVariable` | Paramètres d'application Entra ID pour l'authentification par secret client. |

## SORTIES

`PowerShellUniversal.Vault`

## LIENS CONNEXES

* Get-PSUSecretVault
* New-PSUSecretVault
* Remove-PSUSecretVault


---

# 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://docs.devolutions.net/powershell-universal/fr/commandes-powershell/set-psusecretvault.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.
