Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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/
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
You can’t perform that action at this time.