Is there a place or an API that can help to get more information on the generators?
I’m currently using this “Create Password” generator to create a temp password during account creation. Wonder if there’s a way I can send end user an email that contains the temp password information.
Some restrictions:
the connector we are using for this integration is not a JDBC connector, not a WebService connector or AD connector
After the temp password is set in the target system, there’s no way to get it back from the system
Due to the security requirement, we want a fully random strong password, that can not be guessed by anyone.
“Create password” generator uses the default password policy defined in SailPoint. It can be changed accordingly. You can go to admin–>password mgmt–>default–>edit.
Do you have any email templates defined for new accounts provisioning? If yes password can be added over the same email with other account details and user can reset their password on the first login.
Generate a password—>Force set the password in target system directly–>sends email to manager using SMTP
but this approach depends on the target system you are using. For AD it is doable.
Hi @ywu11
Another theoretical solution could be to use event trigger . I saw “source account created” trigger is now available Source Account Created | SailPoint Developer Community
We can use this event trigger to trigger custom script residing on server.
I do see we have the following custom email template:
Email Template: New Account Provisioned
However, it seems not triggered automatically when the account is created.
What settings do I need to make sure this email is triggered when new account is provisioned?
you can’t print password in email. incase static password as it already known you can hardcode it or for dynamically known you can show by combining id attributes
We have similar requirement to send the password over an email and also the requirement is to send password only from IDN not even through after create rule/powershell script which can be triggered on IQ server.
And yes we cannot access password in workflow which is generated during create operation also printing password over an email is not a recommended approach.
But still we need to satisfy the requirement. So we have proposed following approach with dynamic random string + user known String:
We had to create an identity attribute and mapped to random alpha numeric transform which only be generated during his joining date and once the ad account is created, this attribute will be turned to null after some time
In create profile of source, we are passing dynamic random string + known string (Example employeeid 2 chars + joining year last two digits)
And we are triggering a workflow, once AD account is created and sending this dynamic random string by accessing identity attribute to his manager email.
Note: This random string is still visible in audit logs like access history, Identity attribute change events but not on identity attribute. Also we are making sure not to change this random string for every refresh with in the transform during the time of ad account creation and triggering email to manager via workflow.
And this password can only be used by user to reset the password for first time login.
May be you can see this solution not specific to AD but if you want to implement for IBM i connector, it should work, but make sure that this is not a recommended approach.
Currently my thinking is in the BeforeProvisioning Rule (cloud executed rule), looks like that might be the only place I can have code to access the temp password.
However, since it is before provisioning, I don’t know whether the account is successfully provisioned or not.
So I’m thinking this solution:
send out an email to user with temp password from that BeforeProvisioning Rule, but state words like “If your account is created successfully, your temp password is ********”
And after the account is created successfully, send a different email (triggered not from that cloud rule), saying “Your account is created successfully, and please use the temp password you received from previous email”.
And if account is not created successfully, send another email to ask user to ignore the previous email that contains the potential temp password.
I don’t think we can access password in before provisioning rule as well. Last time when i tried, I was not able to retrieve the secret even from the plan.