Venafi / VenafiPS

Powershell module to fully automate your Venafi TLS Protect Datacenter and Cloud platforms!
https://venafips.readthedocs.io/
Apache License 2.0
18 stars 7 forks source link

Get-VenafiCertificate -All errors on 0 records #152

Closed afoker closed 2 years ago

afoker commented 2 years ago

Environment

Operating System:
VenafiPS version: 5.1.1
PowerShell version:
TPP version (if applicable): 22.3

Steps to reproduce

Have TPP configured for API integration. Certificate scope.

Expected behavior

Get-VenafiCertificate -All returns all certs available in TPP

Actual behavior

403 error along the way and ConvertFrom-Json : Cannot bind argument to parameter 'InputObject' because it is null. At C:\Program Files\WindowsPowerShell\Modules\VenafiPS\5.1.1\Public\Find-VenafiCertificate.ps1:752 char:44

Screenshots

No screenshots but the fix for this was to include the scope for Certificate during new Venafi Session. I included configuration but forgot certificate.