MattHodge / PasswordState

PowerShell module for interacting with ClickStudio's PasswordState password management application

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PasswordState

Passwordstate is a PowerShell module used to interface with ClickStudio's PasswordState application via the REST API.

This module supports creating, retrieving, and updating PasswordState entries using simple PowerShell cmdlets that you can integrate into your existing processes.

Examples

  • Initialize-PasswordStateRepository

     Initialize-PasswordStateRepository -ApiEndpoint 'https://passwordstate.local/api' -ConfigurationRepository 'C:\PasswordStateCreds'
  • Get-PasswordStateApiKey

     Get-PasswordStateApiKey -Name 'system' -Repository c:\users\joe\data\.customrepo
  • Import-PasswordStateApiKey

     $cred = Import-PasswordStateApiKey -Name personal -Repository c:\users\joe\data\.customrepo
  • Export-PasswordStateApiKey

     Export-PasswordStateApiKey -ApiKey $cred -Repository c:\users\joe\data\.customrepo
  • Find-PasswordStatePassword

     $allPasswords = Get-PasswordStateAllPasswords -SystemApiKey $sysKey -Endpoint 'https://passwordstate.local'
  • Get-PasswordStateAllLists

     $lists = Get-PasswordStateList -SystemApiKey $sysKey -Endpoint 'https://passwordstate.local'
  • Get-PasswordStateAllPasswords

     $allPasswords = Get-PasswordStateAllPasswords -SystemApiKey $sysKey -Endpoint 'https://passwordstate.local'
  • Get-PasswordStateList

     $lists = Get-PasswordStateList -SystemApiKey $sysKey -Endpoint 'https://passwordstate.local'
  • Get-PasswordStateListPasswords

     $passwords = Get-PasswordStateListPasswords -ApiKey $key -PasswordListId 1234 -Endpoint 'https://passwordstate.local'
  • Get-PasswordStatePasswordHistory

     $history = Get-PasswordStatePasswordHistory -ApiKey $key -PasswordId 1234 -Endpoint 'https://passwordstate.local'
  • New-PasswordStatePassword

     New-PasswordStatePassword -ApiKey $key -PasswordListId 1 -Title 'testPassword' -Username 'testPassword' -Description 'this is a test' -GeneratePassword
  • New-PasswordStateRandomPassword

     New-PasswordStateRandomPassword -Quantity 10 -WordPhrases $false -MinLength 20
  • Set-PasswordStatePassword

     Set-PasswordStatePassword -ApiKey $key -PasswordId 1234 -Username 'mypassword'

For more information, see http://devblackops.io

About

PowerShell module for interacting with ClickStudio's PasswordState password management application

License:Apache License 2.0


Languages

Language:PowerShell 100.0%