Skip to content

Commit b341f89

Browse files
committed
Update example config files to include secure storage options.
1 parent 891d8a0 commit b341f89

File tree

2 files changed

+38
-0
lines changed

2 files changed

+38
-0
lines changed

examples/config files - basic/1 user-sync-config.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,14 @@ adobe_users:
6565
# location of this configuration file, not relative to the
6666
# working directory of your User Sync process.
6767
umapi: "connector-umapi.yml"
68+
# An alternate form for referencing the umapi configuration allows for storage
69+
# of the umapi credentials in a secure way:
70+
#umapi: $(cat connector-umapi.yml) # This runs the indicated command and uses
71+
# the output as the configuration file. In this example we are simply
72+
# echoing the file contents so it is no more secure than the other form
73+
# of file reference. To make it more secure, you need to provide a
74+
# command or script that fetches the data from a secure source.
75+
# ("cat" would need to be "type" on a Windows platform.)
6876

6977
# The directory_users section controls how enterprise-side users are accessed,
7078
# sets default values for attributes not specified in the enterprise directory,
@@ -122,6 +130,14 @@ directory_users:
122130
# location of this configuration file, not relative to the
123131
# working directory of your User Sync process.
124132
ldap: "connector-ldap.yml"
133+
# An alternate form for referencing the ldap configuration allows for storage
134+
# of the ldap credentials in a secure way:
135+
#ldap: $(cat connector-ldap.yml) # This form runs the indicated command and uses
136+
# the output as the configuration file. In this example we are simply
137+
# echoing the file contents so it is no more secure than the other form
138+
# of file reference. To make it more secure, you need to provide a
139+
# command or script that fetches the data from a secure source.
140+
# ("cat" would need to be "type" on a Windows platform.)
125141

126142
# (optional) csv (no default value)
127143
# csv stands for "comma-separated values", which is the most common form

examples/config files - basic/2 connector-umapi.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,25 @@ enterprise:
3434
client_secret: "Client secret goes here"
3535
tech_acct: "Tech account ID goes here"
3636
priv_key_path: "path/to/private/key/file"
37+
38+
# (optional) As an alternative to priv_key_path, you can place the private key
39+
# data directly in this file. To do this, remove the priv_key_path entry above
40+
# and uncomment the following entry. Replace the sample data with the data
41+
# from your private key file (which will be much longer).
42+
#priv_key_data: |
43+
# -----BEGIN RSA PRIVATE KEY-----
44+
# MIIf74jfd84oAgEA6brj4uZ2f1Nkf84j843jfjjJGHYJ8756GHHGGz7jLyZWSscH
45+
# CoifurKJY763GHKL98mJGYxWSBvhlWskdjdatagoeshere986fKFUNGd74kdfuEH
46+
# -----END RSA PRIVATE KEY-----
47+
48+
# (optional) You can store credentials in the operating system credential store
49+
# (Windows Credential Manager, Mac Keychain, Linux Freedesktop Secret Service
50+
# or KWallet - these will be built into the Linux distribution).
51+
# To use this feature, uncomment the following entries and remove the
52+
# api_key, client_secret, and priv_key_data above.
53+
# The actual credential values are placed in the credential store with the
54+
# username as the org_id value, and the key name (perhaps called internet
55+
# or network address) as one of the values below.
56+
#secure_api_key_key: umapi_api_key
57+
#secure_client_secret_key: umapi_client_secret
58+
#secure_priv_key_data_key: umapi_private_key_data

0 commit comments

Comments
 (0)