Managing a credentials definitions
This topic shows how to manage credentials definition.
The purpose of the following scenario is to create credentials for an existing job definition.
Alfred works in the IT department, and he is authorized to perform different operations. John, a colleague, is an IBM® Workload Scheduler user, and Alfred has asked him to create some job definitions that can automatically perform some of Alfred's activity in the form of REST API calls. To simplify the creation or the editing of job definitions, John decides to create credentials related to Alfred. In this way, John can create valid job definitions without knowing Alfred's password.
You can find the steps that John follows to create the credentials with a user name Alfred and how John can use these credentials on an existing job definition. For information about creating job definitions, see Managing job definitions.
-
Create the credentials:
- From the Graphical Designer page, select the Assets tab and click the add + icon.
- From the drop-down menu, select Credentials.
- In General information, in Username, type Alfred.
- In Secret, enter the password.
- Click Add.
-
Add the user to an existing job definition that performs REST API calls:
- From the Graphical Designer page, select the Assets tab.
- In the search bar, type the name of the existing job definition of type RESTful Web services named API_task.
- Click on the overflow menu and select Edit. A property panel appears on the right side of the page.
- Go to the Credentials section, then enter the user name Alfred that you previously created.
- In Password, select the User checkbox.
- Save.
You created the credentials for a user and referenced these credentials on an existing job definition.