You can define credentials as standalone objects that are reusable across multiple jobs.
•Ensure that you have the Container - Read, Write and Configuration - Read, Write permissions granted on the container where you want to store the credentials.
To create a credential object:
1.Navigate to the container where you want to store the credentials.
2.Click Create | Create Credential, and fill in the credential fields.
The credential fields are as follows.
Mandatory field. This is the name by which the credential is identified in FlowForce Server.
An optional description that provides more information about this credential.
Choose a credential type (Password, OAuth 2.0, or SSH Key). For more information about OAuth 2.0, see OAuth 2.0 Credentials.
Mandatory field. The name of the user associated with this credential. For example, if the credential will be used to identify a user account on the Windows operating system, enter the Windows user account name. To specify a user name in a Windows domain, use the form username@domain.
If the credential usage is for HTTP or FTP (see below), this may also be the HTTP or FTP user name.
Specifies the credential's password. The password may be an empty string if the context where it will be used requires only the username without password.
Allow usage for HTTP
Select this check box if the credential will be referenced in jobs that call Web services which require basic HTTP authentication.
Allow usage for FTP
Select this check box if the credential will be referenced in jobs that connect to FTP servers using /system/ftp functions.
Allow usage for SSH/SFTP
Select this check box if the credential will be referenced in jobs that connect to an FTP server using the /system/sftp/connect function.
Allow usage for job execution
Select this check box if the credential identifies an operating system user account. In order to run successfully, any job requires a credential with this usage enabled.
Ensure that the user account identified by the credentials has sufficient rights on the operating system. For example, if credentials are going to be referred in a job that writes to a directory, the user account must have rights to write to that directory.