< Back
Get-PasswordStateApiKey
Post
NAME Get-PasswordStateApiKey
SYNOPSIS
List available PasswordState API keys in the repository.
SYNTAX
Get-PasswordStateApiKey [[-Repository] <String>] [[-Name] <String>] [<CommonParameters>]
DESCRIPTION
List available PasswordState API keys in the repository.
PARAMETERS
-Repository <String>
Path to repository. Default is $env:USERPROFILE\\.passwordstate
Required? false
Position? 1
Default value (_GetDefault -Option 'credential_repository')
Accept pipeline input? False
Accept wildcard characters? false
-Name <String>
Name of API key (without .cred extension) to get.
Required? false
Position? 2
Default value [string]::empty
Accept pipeline input? False
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
NOTES
-------------------------- EXAMPLE 1 --------------------------
Get-PasswordStateApiKey
List all API keys from default repository
-------------------------- EXAMPLE 2 --------------------------
Get-PasswordStateApiKey -Repository c:\\users\\joe\\data\\.customrepo
List all API keys from 'c:\\users\\joe\\data\\.customrepo' repository
RELATED LINKS
SYNOPSIS
List available PasswordState API keys in the repository.
SYNTAX
Get-PasswordStateApiKey [[-Repository] <String>] [[-Name] <String>] [<CommonParameters>]
DESCRIPTION
List available PasswordState API keys in the repository.
PARAMETERS
-Repository <String>
Path to repository. Default is $env:USERPROFILE\\.passwordstate
Required? false
Position? 1
Default value (_GetDefault -Option 'credential_repository')
Accept pipeline input? False
Accept wildcard characters? false
-Name <String>
Name of API key (without .cred extension) to get.
Required? false
Position? 2
Default value [string]::empty
Accept pipeline input? False
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
NOTES
-------------------------- EXAMPLE 1 --------------------------
Get-PasswordStateApiKey
List all API keys from default repository
-------------------------- EXAMPLE 2 --------------------------
Get-PasswordStateApiKey -Repository c:\\users\\joe\\data\\.customrepo
List all API keys from 'c:\\users\\joe\\data\\.customrepo' repository
RELATED LINKS