> 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/de/powershell-befehle/new-psusecretvault.md).

# New-PSUSecretVault

Erstellen Sie eine modellbasierte Azure Key Vault-Registrierung zur Verwendung mit Geheimnisvariablen und Anmeldeinformationen von PowerShell Universal.

## ÜBERSICHT

Erstellt eine Tresor-Registrierung für Geheimnisse.

## SYNTAX

```powershell
New-PSUSecretVault [-Name] <String> [-Type AzureKeyVault] [-Description <String>] -VaultUri <String>
    [-AuthenticationType <Default | ManagedIdentity | ClientSecret>] [-TenantId <String>] [-ClientId <String>]
    [-ClientSecretVariable <String>] [-ManagedIdentityClientId <String>]
```

Das Cmdlet unterstützt auch die Standardparameter für Verwaltungsverbindungen.

## BESCHREIBUNG

Erstellt eine modellbasierte Tresor-Registrierung für Geheimnisse in PowerShell Universal. Azure Key Vault-Registrierungen werden prozessintern verarbeitet und können als Tresor für Geheimnisvariablen und Anmeldeinformationen ausgewählt werden.

Bei der Authentifizierung mit Client-Geheimnis ist `-ClientSecretVariable` der Name einer PSU-Geheimnisvariablen, die das Client-Geheimnis der Entra ID-Anwendung enthält. Der Geheimniswert wird nicht in die Konfiguration geschrieben.

## BEISPIELE

```powershell
New-PSUSecretVault -Name 'Production Key Vault' `
    -VaultUri 'https://prod.vault.azure.net/' `
    -AuthenticationType ManagedIdentity

New-PSUSecretVault -Name 'Customer Key Vault' `
    -VaultUri 'https://customer.vault.azure.net/' `
    -AuthenticationType ClientSecret `
    -TenantId '00000000-0000-0000-0000-000000000000' `
    -ClientId '11111111-1111-1111-1111-111111111111' `
    -ClientSecretVariable 'AzureKeyVaultClientSecret'
```

## PARAMETER

| Parameter                                         | Beschreibung                                                                                                      |
| ------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- |
| `-Name`                                           | Tresorname, der bei der Auswahl des Tresors für eine Variable oder Anmeldeinformation verwendet wird.             |
| `-VaultUri`                                       | Azure Key Vault-URI, z. B. `https://my-vault.vault.azure.net/`.                                                   |
| `-Type`                                           | Typ des Tresor-Anbieters; der unterstützte Wert ist `AzureKeyVault`.                                              |
| `-AuthenticationType`                             | `Default`, `ManagedIdentity` oder `ClientSecret`.                                                                 |
| `-ManagedIdentityClientId`                        | Client-ID der benutzerzugewiesenen verwalteten Identität; lassen Sie ihn für die systemzugewiesene Identität weg. |
| `-TenantId`, `-ClientId`, `-ClientSecretVariable` | Entra ID-Anwendungseinstellungen für die Authentifizierung mit Client-Geheimnis.                                  |

## AUSGABEN

`PowerShellUniversal.Vault`

## VERWANDTE LINKS

* Get-PSUSecretVault
* Set-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/de/powershell-befehle/new-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.
