Getting Device Credentials Dynamically
- Get device detail:
$$devicename.username$$ - Get device credential:
$$devicename.password$$
Note: Device(s) must be added in the Appviewx inventory
To get the device credentials dynamically during the workflow execution process:
-
From the top left corner of the screen, click
.
-
Select Inventory > Device.

-
On the Device Inventory page, ensure there is at least one device added with
relevant credentials.

- Design a new workflow.
- Drag and drop relevant tasks.
- From the User Interface section, drag and drop the YAML task.
- Add input data in the YAML format.
-
Enter the following syntax to get the device credentials dynamically.
Syntax Usage Sample --- - name: Creating a virtual server in a F5 device hosts: local tasks: - name: Add virtual server bigip_virtual_server: device: <Devicename or IP address> username: $$devicename.username$$ password: $$devicename.password$$ state: present--- - name: Creating a virtual server in a F5 device hosts: local tasks: - name: Add virtual server bigip_virtual_server: device: bigip.ltm.12.1 username: $$ bigip.ltm.12.1.username$$ password: $$ bigip.ltm.12.1.password$$ state: present - Save and enable the workflow.
-
Trigger the workflow from the Request ::
View/Run page.

