Working with User Credential Definitions
You can define a Credential and use it to determine who the Job will run as. A Credential has a Display Name, Logon As name, and a password or a key. You can assign a Credential to a Job or a Folder. If you want to control a group of Jobs, you can assign a Credential at the Folder level to control all Jobs within the Folder. You can override the Credential on a Job within a Folder by setting a Credential on the specific Job.
Credentials can also be used for authenticating connections to remote services, including mail servers, FTP/SFTP servers, and SQL/Oracle databases. They can also be dynamically retrieved during a script execution.
The Execute As user for a Job is a property on the Job itself (or inherited from a parent Folder). The ACL on the Credential determines which users can link a Job to use a Credential, update/delete the Credential or retrieve its password. When a Job is submitted, it will run under the username of the Credential specified in this property.
Credentials screen
The Credentials screen lets you view all existing Credentials, create new Credentials, and modify existing Credentials. Each Credential displays the following:
- Display name – The name for the Credential that is displayed within JAMS objects, such as Jobs or folders. This does not need to match the Logon Username.
- Description – An optional summary of the Credential.
- Logon Username - The actual username that is used for logging in.
Viewing all Credentials
- Click Credentials in the Shortcuts menu. All Credentials are listed.
- Click a column heading to sort the list.
Adding a Credential
As a prerequisite, all JAMS Credentials must be recognized by the JAMS system before they can be assigned an access level if a domain is included in the Logon As account.
For information on public keys, see Public Key Authentication.
- Click Credentials in the Shortcuts menu.
- Click Add.
- In the Credential Name field, enter a Credential Name. This may be the name used when logging on with these Credentials.
- In the Logon As field, enter a Logon As name if the name used when logging on is different than the Credential Name.
- In the Enter Password and Re-Enter password fields, enter a password.
- Click Ok.
- If desired, enter a Description.
- Click Key Management to manage public and private keys for the JAMS Credential Security object that provides access to the remote server.
NOTE: JAMS supports SSH public/private key pairs directly within the GUI. You can load any existing private key by selecting the Load Key button. Only private keys can be loaded. JAMS then prompts for a Privacy Enhanced Mail Certificate (.pem) file.
- Click Set Password to manage the Credential Definition's password.
- Click the Security tab.
- Click + to create an ACE.
- Click New Access Control Entry.
- Highlight the desired ACE (Access Control Entry) and use the checkboxes to select the appropriate access types. See the Credential Properties section below for more information.
- When you are finished, click Save and Close.
Applying a Credential to a Job or Folder
- Click Definitions in the Shortcuts menu.
- Right-click a Job or a Folder, and select Properties.
- Click the Properties tab.
- In the Execute As field, select the Credential to run the Job.
- Click Save and Close.
Modifying a Credential
You can modify the Display Name, Logon As, and Credential Description.
- Click Credentials in the Shortcuts menu.
- Right-click the name of the Credential you want to edit, and select Properties.
- Edit the Display Name, Logon As, or Description fields.
- Click Save and Close.
Changing the Password for a Credential
- Click Credentials in the Shortcuts menu.
- Right-click the name of the Credential you want to edit, and select Properties.
- Click Set Password.
- In the New Password and Confirm Password fields, enter the new password.
- Click OK.
- Click Save and Close.
Deleting a Credential
Before you can delete a Credential, ensure there are no object referencing it. You can check this from the References tab on the Credential.
- Click Credentials in the Shortcuts menu.
- Click the Credential you want to delete.
- Click Delete.
- When prompted, click Yes to confirm.
Credential Properties
Username Tab
Option | Description |
---|---|
Display Name | This property is the name for the Credential displayed in JAMS objects, such as Jobs or Folders. This does not need to match the Logon Username. |
Logon As | This property is the actual username that is used for logging in. |
Description | This property is an optional summary of the Credential. |
Key Management | This button lets you manage public and private keys for the JAMS Credential. |
Password | This button lets you set the password for the Credential. You can change this password as needed. |
Last Changed | This property is the date and time the Credential was added or changed. |
Security Tab
Option | Description |
---|---|
Security |
The Security tab defines the level of access for this Credential. This is an Access Control List with one-to-many Access Control Entries (ACE). Each ACE can specify the following rights:
|
References Tab
Option | Description |
---|---|
References | The References tab lets you view where the Credential is used within JAMS. |