Edit INI file
- 14 Nov 2024
- 1 Minute to read
- Print
- DarkLight
- PDF
Edit INI file
- Updated on 14 Nov 2024
- 1 Minute to read
- Print
- DarkLight
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
The Edit INI file action allows you to modify INI files. This could be used to edit configuration files for a package for example.
General | |
---|---|
Type | Edit INI file |
Name | Actions are easier to comprehend and manage over time when they have a suitable name that accurately expresses what they do. |
File | The path to the targeted file. |
Actions table | Here you can add, set, update or remove the name and the value of a certain key, in a certain section of the .INI file. |
Advanced | |
---|---|
Context | The level at which the action is executed, User or Device. |
Variables | If this option is selected, then variables are supported within the action. |
Filters |
---|
Here you can define conditions which determine if the action will be executed. For more information, see Filters. |
Agent
It requires the Agent to be running.
Supported platforms
Platform | Supported |
---|---|
Web | No |
Windows | Yes |
macOS | Yes |
Example
In the .INI file example below, we will change the 'secret_access' key of the 'dev' section from 'def2' to 'ghi2'.
[default]
access_id=abc
secret_access=def
[dev]
access_id=abc2
secret_access=def2
[prod]
access_id=abc3
secret_access=def3
When you create the Edit INI file action, in the General tab, click Create; in the Add action dialog box that opens, configure the following parameters:
- Action: Update
- Section: dev
- Name: secret_access
- Value: ghi2
Was this article helpful?