Microsoft.PowerShell.SecretStore Module
Important
The PowerShell team has decided that Secret modules are is feature complete and will no longer be actively developed. The modules will continue to be supported for security and critical bug fixes. The code repository will be archived.
The latest versions published are:
The nature of secrets has fundamentally changed since this project was designed. Passwordless authentication methods such as passkeys, single sign-on, and federated credential systems such as Microsoft Entra ID, biometrics, and hardware security keys are the future.
Local secure store extension vault for Microsoft.PowerShell.SecretManagement module.
Microsoft.PowerShell.SecretStore Cmdlets
| Cmdlet | Description |
|---|---|
| Get-SecretStoreConfiguration |
Returns SecretStore configuration information. |
| Reset-SecretStore |
Resets the SecretStore by deleting all secret data and configuring the store with default options. |
| Set-SecretStoreConfiguration |
Configures the SecretStore. |
| Set-SecretStorePassword |
Replaces the current SecretStore password with a new one. |
| Unlock-SecretStore |
Unlocks SecretStore with the provided password. |