In this section, you will use CXTM's secret environment variables feature to see how you can protect sensitive data, like usernames and passwords,
passed into your automation execution.
Step 1 - Navigate to your CXTM Project's Variables and Secrets page
Return to your CXTM browser window
Open the sidebar if not already open
Scroll down until you locate the heading Project Automation
Under Project Automation, click Variables and Secrets
Step 2 - Add a secret environment variable
From your project's Variables and Secrets page:
Click on the green "+" button to add a new secret environment variable
Step 3 - Save the secret environment variable
From the Add/Edit Variables and Secrets menu:
Make sure that Add Secret is selected
Make sure that Environment Variable is selected
Add
USERNAME
to the Identifier and Name fields
Add
admin
to the Secret Value and Verify Secret Value fields
Click SUBMIT
Step 4 - Confirm that the secret environment variable was successfully saved
From the Variables and Secrets page:
Confirm that the secret environment variable USERNAME has been saved. Your screen should resemble the following image.
Step 5 - Navigate to your CXTM Project's Topologies page
In your CXTM browser window
Open the sidebar if not already open
Scroll down until you locate the heading Project Automation
Under Project Automation, click Topologies
Step 6 - Open and edit the LTROPS-2711 Topology topology file that you created earlier in the lab
From the Topologies page:
Click on the OPEN button.
Click on the LTROPS-2711 Topology link.
Replace line 6 of your LTROPS-2711 Topology file with line 6 from the following code block.