Microsoft.PowerShell.SecretStore Module

Important

PowerShell团队决定秘密模块功能已完备,将不再积极开发。 这些模块将继续支持安全性和关键漏洞修复。 代码仓库将被归档。

最新发布的版本有:

自该项目设计以来,秘密的本质发生了根本变化。 无密码认证方法如通行密钥、单点登录以及联邦凭证系统如 Microsoft Entra ID、生物识别和硬件安全密钥是未来的趋势。

Microsoft.PowerShell.SecretManagement 模块的本地安全存储扩展保管库。

Microsoft.PowerShell.SecretStore Cmdlet

Cmdlet 说明
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.