Working with Credential Definitions

Credentials in JAMS can have several uses and they can store different types of data, including a username, password, or key value. You can use Credentials to:

  • Set the user account to run the Job. This is defined as the Execute As property.
  • Authenticate connections to remote services, including mail servers, third-party applications, FTP/SFTP servers, and SQL/Oracle databases.
  • Dynamically retrieve values during script execution.

Assigning Credentials

You can assign a Credential to a Job or a Folder. A Folder-level Credential applies to all Jobs within it, but it can be overridden on individual Jobs.

The Execute As property is set on the Job or inherited from a parent Folder. The Credential's ACL controls which users can link, update, delete, or retrieve its password. When a Job is submitted, it runs under the username specified in this property.

NOTE: For Sequence and Workflow Jobs, ensure the parent Job has a Credential with the appropriate permissions to run the Jobs within it.

Secret Providers

When creating a Credential, choose to store it in the JAMS database or another external secret provider. JAMS stores the data internally; a secret provider retrieves it dynamically at runtime.

The storage type can only be set when you create a new Credential. Existing Credentials cannot be migrated to a secret provider and must be recreated. See Configuring a Secret Provider for more information.

NOTE: Due to the cache time, you may need to wait 30 seconds for any changes to Credentials to be updated/used.

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

  1. Click Credentials in the Shortcuts menu. All Credentials are listed.
  2. 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.

When you create a Credential, you can choose to use JAMS or an external secret provider. Follow the steps below to configure each option.

Adding a Credential using JAMS as the Secret Provider

You can use JAMS to store the credential information.

  1. Click Credentials in the Shortcuts menu.
  2. Click +.
  3. In the Credential Name field, enter a Credential Name.
  4. In the Secret Provider field, select JAMS.
  5. Click Ok.
  6. If the logon name differs from the Credential Name, enter it in the Logon As field.
  7. Click Set Password.
  8. Enter a password.
  9. Click Ok.
  10. Optional - 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. For information on public keys, see Public Key Authentication.
  11. Click the Security tab.
  12. Click + to create an ACE.
  13. Click New Access Control Entry.
  14. Use the checkboxes to select the appropriate access types.
  15. Click Save and Close.

Adding a Credential with an External Secret Provider

Ensure you have the required identifiers from the secret provider for the required username, password, or private key.

  1. Click Credentials in the Shortcuts menu.
  2. Click +.
  3. In the Credential Name field, enter a Credential Name.
  4. In the Secret Provider field, select the secret provider, such as Azure Key Vault.
  5. Click Ok.
  6. Enter the identifier values from the secret provider for the Username Identifier, Password Identifier, and Private Key Identifier fields as needed.

  7. Optional - 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.
  8. Click the Security tab.
  9. Click + to create an ACE.
  10. Click New Access Control Entry.
  11. Highlight the desired ACE (Access Control Entry) and use the checkboxes to select the appropriate access types.
  12. Click Save and Close.

Applying a Credential to a Job or Folder

  1. Click Definitions in the Shortcuts menu.
  2. Right-click a Job or a Folder, and select Properties.
  3. Click the Properties tab.
  4. In the Execute As field, select the Credential to run the Job.
  5. Click Save and Close.

Modifying a Credential

NOTE: To modify a JAMS Credential definition, you must have the appropriate level of permissions in the ACL to assign or change a Credential's properties.

You can modify the Display Name, Logon As, and Credential Description.

  1. Click Credentials in the Shortcuts menu.
  2. Right-click the name of the Credential you want to edit, and select Properties.
  3. Edit the Display Name, Logon As, or Description fields. If you are using a secret provider, edit the Username Identifier, Password Identifier, or Private Key Identifier as needed.
  4. Click Save and Close.

Changing the Password for a Credential

  1. Click Credentials in the Shortcuts menu.
  2. Right-click the name of the Credential you want to edit, and select Properties.
  3. Click Set Password.
  4. In the password fields, enter the new password.
  5. Click OK.
  6. Click Save and Close.

Deleting a Credential

Before you can delete a Credential, ensure there are no objects referencing it. You can check this from the References tab on the Credential.

  1. Click Credentials in the Shortcuts menu.
  2. Click the Credential you want to delete.
  3. Click Delete.
  4. 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. This option is disabled if the Credential is using a secret provider and a value has been entered for the Username Identifier field.
Username Identifier This property is the name for the username value in the secret provider.
Password Identifier This property is the name for the password value in the secret provider.
Private Key Identifier This property is the name for the private key value in the secret provider.
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. This option is disabled if the Credential is using a secret provider and a value has been entered for the Private Key Identifier field.
Set Password This button lets you set the password for the Credential. You can change this password as needed. This option is disabled if the Credential is using a secret provider and a value has been entered for the Password Identifier field.
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:
  • Change: users can modify the Credential if they have Change access in Credential Definitions.
  • Control: users can modify the Credential's Access Control List.
  • Submit: users can associate the Credential with Folder/Job Definitions.
  • Get Password: users can retrieve the password from the Credential Definition.

References Tab

Option Description
References The References tab lets you view where the Credential is used within JAMS.

Related Topics