Password Hashes or Exclude Passwords ​
By default, any API method which returns a Password object will return the value of the password in clear text.
If this is undesirable, you also have the option for returning the password value as a Hash, or to instead return a blank password value. To do this, you can use the following URL parameters:
Powershell
# Powershell Request (Returned Hashed Password)
$PasswordstateUrl = 'https://passwordstate/winapi/passwords/<PasswordID>?HashType=SHA256'
# Powershell Request (Returned Blank Password)
$PasswordstateUrl = 'https://passwordstate/winapi/passwords/<PasswordID>?ExcludePassword=True'
# Powershell Request (Returned all Hashed Passwords from a Password List)
$PasswordstateUrl = 'https://passwordstate/winapi/passwords/<PasswordListID>?QueryAll&HashType=SHA256'The following Hash Types are also supported:
- HMAC
- HMACMD5
- HMACSHA1
- HMACSHA256
- HMACSHA384
- HMACSHA512
- MACTripleDES
- MD5
- RIPEMD160
- SHA1
- SHA256
- SHA384
- SHA512