Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Generating SailPoint IdentityNow Private API (v1) passwordHash
# IdentityNow Admin User
$adminUSR = [string]"Admin.User1".ToLower()
$adminPWDClear = 'IdentityNowAdminPasswordforAdminUser1'
# Generate the password hash
# Requires Get-Hash from PowerShell Community Extensions (PSCX) Module
$passwordHash = Get-Hash -Algorithm SHA256 -StringEncoding utf8 -InputObject ($($adminPWDClear) + (Get-Hash -Algorithm SHA256 -StringEncoding utf8 -InputObject ($adminUSR)).HashString.ToLower())
$adminPWD = $passwordHash.ToString().ToLower()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment