Scenario 2: Promotion with dependencies (early access)
Similar to the first scenario, the goal of this scenario is for you to complete a promotion of an application from the Promotion-Source environment to the Promotion-Target environment. In this case, you’re promoting My SAML app, which has several dependent resources.
When you open the details panel for the My SAML app and click the Policies tab, you can see it’s assigned the BX-Corp-MFA-auth authentication policy.
When you look at the details for the BX-Corp-MFA-auth policy, you’ll see that it’s configured in turn to reference the BX Corp MFA policy.
Finally, if you view the details for the BX Corp MFA policy, you can see that it references the FIDO Passkeys policy.
A successful promotion of My SAML app depends on promoting each of these policies. If one or more of these policies isn’t promoted, user access to the app might not work properly.
You won’t need to keep track of the dependencies manually. The PingOne promotion service tracks them automatically and then lets you decide how to map them to resources in the target environment.
Configure promotion variables in the source environment
As you prepare for your promotion, determine whether you want to define any promotion variables.
For this scenario, you’ll define variables for ACS URLs and Default Target URL.
Steps
-
Sign on to the PingOne admin console for the Promotion-Source environment.
-
Go to Promote > Promotion Variables and click Create Promotion Variable.
-
In the Select Target Environment modal, select Promotion-Target in the Target Environment list.
-
Select The correct environment is selected and I want to continue and click Confirm.
-
On the Create Variables page, in the Resource Details section, select Application in the Category list and SAML in the Sub-category list.
You might need to click Reload resources list to pick up categories for configuration resources that were recently added to the environment.
-
Select ACS URLs and Default Target URL, then click Next.
-
Set the following variable values to use in the Promotion-Target environment.
The values for the source environment are displayed on the left, and you define the target environment values on the right.
-
ACS URLs:
https://test-acs.url.com -
Target Application URIs:
https://test-mysamlapptarget.com
-
-
Click Next.
-
On the Review and Save page, confirm the variable configuration and click Save.
Result
You’re returned to the Promotion Variables page. My SAML App is listed in the Resources with Variables section, along with My First App from scenario 1.
Configure and run the promotion in the source environment
To configure the promotion, you’ll confirm the target environment, select the resource to promote (My SAML app), and determine whether the resource should be created as new in the target environment or mapped to an existing resource. You’ll also determine how to manage several dependencies. Then you’ll run the promotion.
Steps
-
In the PingOne admin console for the Promotion-Source environment, go to Promote > Promotions.
-
Click Run a Promotion.
-
On the Confirm Target Environment modal, ensure that Promotion-Target is selected in the Target Environment list.
-
Select The correct environment is selected and I want to continue and click Confirm.
After you confirm the target environment, PingOne takes snapshots of both environments, compares configuration resources, and lists the resources that you can promote.
-
On the Select Resources to Promote page, search for My SAML App and select it.
-
Click Next.
On the Map Resources page, you can see that the promotion service didn’t find a corresponding resource in the Promotion-Target environment. In this case, we’ll promote the app as a new resource.
-
Click Confirm and Continue.
-
On the Auto-Selected Dependencies page, the policies discussed in the introduction are listed.
-
Click Continue.
-
Map the dependencies to existing resources in the target environment or create them as new resources.
In this example, the promotion service found a likely match for the Passkeys policy, and has automatically selected to map the policy in the source environment to the policy in the target environment.
If you wanted to keep the existing policy in the target environment and add this one as new, you’d click the Map toggle to the off position (gray).
The service didn’t find matches for either of the other policies, and will promote them as new resources. Again, if you don’t agree with the recommendations, click the Map toggle to the on position (blue) and select a resource from the Target list to map to.
-
When you’ve made any necessary adjustments, click Confirm.
-
On the Confirm Promotion page, review the details for the promotion and enter release notes.
-
Click Run Promotion.
Result
You’re returned to the Promotions page and the current promotion is listed with a status of In Progress. After about 30 seconds, refresh the page. The status will change to Success for a successful promotion.
Verify the promotion
To verify the results of the promotion, first confirm the details of the promotion in the source environment, then ensure that the My SAML app application and its dependencies now exist in the target environment.
Steps
-
In the PingOne admin console for the Promotion-Source environment, go to Promote > Promotions.
-
Locate the promotion in the list, click the More Options icon (⋮), and select View.
Promotions are listed in reverse chronological order, so the most recent promotion appears at the top of the list.
-
On the Overview tab, click View Target Environment.
You’re taken to the PingOne admin console for the target environment so that you can confirm that the promoted resources exist and match what you expect.
-
For this scenario, go to Applications > Applications, browse or search for My SAML app, and click it to open the details panel.
Result
My SAML app now exists in the Promotion-Target environment, as do its associated dependencies.
|
You can also verify the status of the promotion by running an audit report and selecting the Promotion Executed event. Other promotion-related events include Promotion Created, Promotion Deleted, and so on. You can find more information about auditing reports in Running an audit report. |