When you deploy a mapping containing credentials from MapForce to FlowForce Server, the credentials are deployed to the server as well. The deployed information will contain only the fields that you filled in when creating the credential record. For example, this may be an empty credential (if you chose to store only the credential name) or a credential object that contains both the username and password.
You can also deploy credential objects from MapForce to FlowForce Server as standalone objects, separately from the main mapping, see Deploying Credentials to FlowForce Server.
The following fields are considered sensitive data:
•Password (for credentials of type "Password")
•Client Secret, Access Token, and Refresh Token (for credentials of type "OAuth 2.0")
The sensitive data will be deployed only if you selected the Include in MapForce Server Execution File and Mapping Deployment check box, as described in Creating Credentials. This applies both when you deploy the mapping and when you deploy the standalone credentials.
In FlowForce Server, you can see whether a mapping function needs credentials by opening the page of the respective mapping function, for example:
If you selected the Include in MapForce Server Execution File and Mapping Deployment check box when creating the credential, then the job will use the credentials deployed together with the mapping. In this case, you don't need to specify them from the job configuration page. For example, the following execution step will run the mapping function with the stored credentials if such exist (notice that the "my.credentials" parameter is not expanded):
You can always override the stored credentials with any other credential object that was defined directly in FlowForce Server, or with some local credentials. To do this, click the "+" button and either select a credential object that already exists in FlowForce Server, or enter the username and password directly, for example:
The credentials supplied as parameter to the execution step take precedence over credentials stored inside the mapping function.
If you did not select the Include in MapForce Server Execution File and Mapping Deployment check box when creating the credential in MapForce, it is mandatory to supply credentials as parameters to the execution step; otherwise, the job execution will fail.