MAY-be This Will Work For You - VenafiPS for bulk operations

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

Welcome Idira to LIVEcommunity!

Our community just got stronger! Explore new identity security resources, connect with experts, and discover more ways to learn and collaborate.

Meet Idira

MAY-be This Will Work For You - VenafiPS for bulk operations

L3 Networker
So I have noticed that there are limitations in what the Web UI can do for you regarding jobs and placement rules. I cannot stress enough the power of using VenafiPS for bulk operations or custom searches. It takes a little more setup after installing the module with creating a Client ID in the API section of the Platfrom view. Also requiresenabling WebSDK for each user that will be running scripts. I think the toughest part was generating the correct connection line since it wasnt clear to me how to generate the token. Before I would not include a scope or only include the certificate part of the scope thinking that was all I required. I finally got a good set of commands to establish the Venafi session, the other commands are pretty simple to understand. Just be aware that you also cannot have a trailing \ at the end of a path to your certificate location or it will return null. I included my suggested connection below for reference for those of you relatively new to scripting.creds = Get-Credential$scope = @{'certificate'='manage,discover,approve';'configuration'='manage';'security'='manage'}$VenafiSession = New-VenafiSession -Server 'https://yourURL.com' -Verbose -Credential $creds -ClientId '<YourClientID>' -Scope $scope -PassThru.
0 REPLIES 0
  • 35 Views
  • 0 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!