Skip to content

v3.1.0 - Move to Invoke-WebRequest, add -CountOnly option to Find-TppCertificate

Compare
Choose a tag to compare
@gdbarron gdbarron released this 24 Jun 22:47
  • Add -CountOnly to Find-TppCertificate to return the number of certificates found based on the filters provided, #12
  • Move from Invoke-RestMethod to Invoke-WebRequest in Invoke-VenafiRestMethod so we get response headers, to be used with -CountOnly above. Invoke-VenafiRestMethod has a new parameter, -FullResponse, to retrieve the complete response, not just content value.
  • Add New-HttpQueryString private function to support HEAD api calls which require a query string and not body.
  • Fix Test-TppIdentityFormat which was failing when the identity guid was surrounded with curly braces
  • Replace -Limit parameter and standardize on -First