Last active
October 21, 2019 00:44
-
-
Save darrenjrobinson/5416584fe5fa3fa535d8c33295f44531 to your computer and use it in GitHub Desktop.
Configure SailPointIdentityNow PowerShell Module Credentials v2 and v3 for use with the SailPoint IdentityNow PowerShell Module. Associated blogpost https://blog.darrenjrobinson.com/generate-sailpoint-identitynow-v2-v3-api-credentials/
This file contains 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
Import-Module SailPointIdentityNow | |
$orgName = "YOUR_ORG" | |
Set-IdentityNowOrg -orgName $orgName | |
# IdentityNow Admin User | |
$adminUSR = "YOUR_ADMIN_USER" | |
$adminPWD = 'YOUR_ADMIN_USER_PASSWORD' | |
$adminCreds = [pscredential]::new($adminUSR, ($adminPWD | ConvertTo-SecureString -AsPlainText -Force)) | |
# Customer IdentityNow Org v3 API Creds generated in IdentityNow Portal | |
$clientIDv3 = "YOUR_V3_CLIENTID" | |
$clientSecretv3 = "YOUR_V3_CLIENT_SECRET" | |
$v3Creds = [pscredential]::new($clientIDv3, ($clientSecretv3 | ConvertTo-SecureString -AsPlainText -Force)) | |
# Customer IdentityNow API Client ID & Secret generated via API | |
$clientID = 'YOUR_V2_CLIENTID' | |
# Your API Client Secret | |
$clientSecret = 'YOUR_V2_CLIENT_SECRET' | |
$v2Creds = [pscredential]::new($clientID, ($clientSecret | ConvertTo-SecureString -AsPlainText -Force)) | |
Set-IdentityNowCredential -AdminCredential $adminCreds -v2APIKey $v2Creds -v3APIKey $v3Creds | |
Save-IdentityNowConfiguration |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment