- Introduction to SAP Connector
- SAP Input
- Checking the Data in the SAP Connector
- Adding Process Specific Tags to the SAP Connector for AppOne
- Adding Process Specific Due Dates to the SAP Connector for AppOne
- Adding Automation Estimates to the SAP Connector for AppOne
- Adding Attributes to the SAP Connector for AppOne
- Adding Activities to the SAP Connector for AppOne
- Adding Entities to the SAP Connector for AppOne
- Introduction to SQL Connectors
- Setting up a SQL Connector
- CData Sync Extractions
- Running a SQL Connector
- Editing Transformations
- Releasing a SQL Connector
- Scheduling Data Extraction
- Structure of Transformations
- Using SQL Connectors for Released Apps
- Generating a Cache With Scripts
- Setting up a Local Test Environment
- Separate Development and Production Environments
Use a Credential Store
Introduction
The credential store allows you to use passwords without showing the actual password. The credential store works for passwords in the Server Settings and in connection strings.
Using the Credential Store in Server Settings
In the Server Settings, a password from the credential store can be referred to by replacing a password by {"credential": [Identifier]}
.
Example
Below is an example of how to replace a password in the Server Setting MailSettings
with a password from the credential store. The following MailSettings
structure is used in this example:
"MailSettings":{
"SMTP":"my.mailserver.com",
"port": "25",
"username": "user1",
"password": "s3cr3tp4ssw0rd",
}
"MailSettings":{
"SMTP":"my.mailserver.com",
"port": "25",
"username": "user1",
"password": "s3cr3tp4ssw0rd",
}
It is also assumed that there is a password in the credential store with identifier PasswordIdentifier
with value "s3cr3tp4ssw0rd"
.
Follow these steps to use the credential store in the Server Settings.
Step |
Action |
---|---|
1 |
Replace the password line of your password with the following:
|
2 |
Save (Control + S) and refresh. |
The MailSettings
will now use the password retrieved from a credential store and developers can no longer see the actual password being used.
Using the Credential Store in Connection Strings
In the connection strings, a password from the credential store can be referred to by using the mv-credential-Pass
keyword instead of the Pass
keyword.
Example
Below is an example of how to replace a password in the connection string with a password from the credential store. This assumes there is a connection string with the following expression:
'DSN=MyDSN; User=MyUser; Pass=MyPass;'
It is also assumed that there is a password in the credential store with identifier PasswordIdentifier
and value "s3cr3tp4ssw0rd"
.
Follow these steps to replace a password in the connection string with a password from the credential store.
Step |
Action |
---|---|
1 |
Replace the connection string with the following:
|
2 |
Save ( |
The password used for executing the connection string will now use the password retrieved from a credential store and developers can no longer see the actual password being used.