This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Set request variables | |
$baseURL = "https://cyberark.joegarcia.dev" | |
$appID = "Ansible" | |
$safe = "D-Win-SvcAccts" | |
$object = "Operating System-WinDomain-joegarcia.dev-Svc_SSIS" | |
# Define the certificate thumbprint | |
$thumbprint = "INSERT_CERTIFICATE_THUMBPRINT_HERE" | |
# Retrieve the certificate from Current User's Personal certificate store |