<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic MAY-be This Will Work For You - VenafiPS for bulk operations in Network Security Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/network-security-discussions/may-be-this-will-work-for-you-venafips-for-bulk-operations/m-p/1336559#M142</link>
    <description>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 '&amp;lt;YourClientID&amp;gt;' -Scope $scope -PassThru.</description>
    <pubDate>Fri, 05 May 2023 15:47:39 GMT</pubDate>
    <dc:creator>dghort</dc:creator>
    <dc:date>2023-05-05T15:47:39Z</dc:date>
    <item>
      <title>MAY-be This Will Work For You - VenafiPS for bulk operations</title>
      <link>https://live.paloaltonetworks.com/t5/network-security-discussions/may-be-this-will-work-for-you-venafips-for-bulk-operations/m-p/1336559#M142</link>
      <description>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 '&amp;lt;YourClientID&amp;gt;' -Scope $scope -PassThru.</description>
      <pubDate>Fri, 05 May 2023 15:47:39 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/network-security-discussions/may-be-this-will-work-for-you-venafips-for-bulk-operations/m-p/1336559#M142</guid>
      <dc:creator>dghort</dc:creator>
      <dc:date>2023-05-05T15:47:39Z</dc:date>
    </item>
  </channel>
</rss>

