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

Token\Key Secret Storage doc update #256

Closed darylhorton closed 7 months ago

darylhorton commented 7 months ago
gdbarron commented 7 months ago

@darylhorton what is this issue for?

darylhorton commented 7 months ago

Apologies, I thought I saved it properly, but apparently not. Basically, after the initial creation of the secret store in powershell, it is recommended to run the following to get started. New-VenafiSession -Server my.venafi.com -Credential $myCred -ClientId MyApp -Scope $scope -VaultRefreshTokenName tpp-token -VaultMetadata

The issue is that -VaultMetadata doesn't seem to be an option. I am running the latest version of VenafiPS. Either the issue is with the documentation or the module itself. I was just curious if this is something that should be there or not.

gdbarron commented 7 months ago

The issue is with the documentation. -VaultMetadata was deprecated a year ago and that was missed. When vaulting secrets the metadata will be stored automatically. I'll get this fixed. Thanks for reporting it.