Edit

Share via


Get-SecretStoreConfiguration

Returns SecretStore configuration information.

Syntax

Default (Default)

Get-SecretStoreConfiguration

Description

This cmdlet reads the SecretStore configuration file and returns the defined settings.

Examples

Example 1

PS C:\> Get-SecretStoreConfiguration

      Scope Authentication PasswordTimeout Interaction
      ----- -------------- --------------- -----------
CurrentUser       Password             900      Prompt

This example shows the current configuration for SecretStore. It's configured for the current user. It requires a password for initial access in a session and prompts the user for it in an interactive session. After fifteen minutes, the password is required again for access.

Inputs

None

Outputs

Microsoft.PowerShell.SecretStore.SecureStoreConfig

Notes

The AllUsers Scope isn't supported. The Scope is always CurrentUser.