Skip to content

Commit 1abf567

Browse files
committed
Merge branch 'doc/example-config-comments' into v2
2 parents bbe1edb + e62843a commit 1abf567

8 files changed

Lines changed: 164 additions & 782 deletions

File tree

Lines changed: 21 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,19 @@
1-
# This is a sample configuration file for the Adobe-Console connector.
1+
# This is a template configuration file for the User Sync Tool UMAPI connector
22
#
3-
# umapi (user management api) is a network protocol served by Adobe that
4-
# provides management of users in Adobe-hosted enterprise organizations.
5-
#
6-
# This sample file contains all of the settable options for this protocol.
7-
# All of the settings here can be changed. It is recommended
8-
# that you make a copy of this file and edit that to match your configuration.
9-
# While you are at it, you will likely want to remove a lot of this commentary,
10-
# in order to enhance the readability of your file.
3+
# Full documentation here -
4+
# https://adobe-apiplatform.github.io/user-sync.py/en/user-manual/sync_from_console.html
5+
6+
# --- General Options ---
7+
# The following options control general UMAPI connector behavior.
8+
# See https://adobe-apiplatform.github.io/user-sync.py/en/user-manual/sync_from_console.html#configuring-a-connection
119

10+
# ssl_verify: False
1211
authentication_method: oauth
12+
identity_type_filter: all
1313

14-
# (optional) UMAPI server settings (defaults as shown)
15-
# The host and endpoint settings specify the Adobe endpoints which
16-
# host the UMAPI services and those which provide authorization.
17-
# The timeout and retries settings control how much delay (in seconds)
18-
# can be tolerated in server responses, and also how many times a request
19-
# that fails due to server timeout or server throttling will be retried.
20-
# You will *never* need to alter these settings unless you are provided
21-
# alternate values by Adobe as part of a support engagement. It is
22-
# highly recommended that you leave these values commented out
23-
# so that the default values are guaranteed to be used.
14+
# --- Server Options ---
15+
# These generally never need to be changed by most users.
16+
# See https://adobe-apiplatform.github.io/user-sync.py/en/user-manual/sync_from_console.html#server-settings
2417
server:
2518
#host: usermanagement.adobe.io
2619
#endpoint: /v2/usermanagement
@@ -29,29 +22,16 @@ server:
2922
#timeout: 120
3023
#retries: 3
3124

32-
# (required) integration settings
33-
# You must specify all five of these settings. Consult the
34-
# Adobe UMAPI documentation and the Adobe I/O Console to determine
35-
# the correct settings for your enterprise organization.
25+
# --- Integration Options ---
26+
# These options contain the credentials for connecting with the User Management API
27+
# client_id and client_secret can be stored in plaintext or can be secured (see below)
28+
# See https://adobe-apiplatform.github.io/user-sync.py/en/user-manual/sync_from_console.html#integration-settings
3629
integration:
37-
org_id: "Org ID goes here"
3830
client_id: "Client ID goes here"
3931
client_secret: "Client secret goes here"
32+
org_id: "Org ID goes here"
4033

41-
# (optional) You can store credentials in the operating system credential store
42-
# (Windows Credential Manager, Mac Keychain, Linux Freedesktop Secret Service
43-
# or KWallet - these will be built into the Linux distribution).
44-
# To use this feature, uncomment the following entries and remove the
45-
#client_id, and client_secret above.
46-
# The actual credential values are placed in the credential store with the
47-
# username as the org_id value, and the key name (perhaps called internet
48-
# or network address) as one of the values below.
49-
#secure_client_id_key: umapi_client_id
50-
#secure_client_secret_key: umapi_client_secret
51-
52-
# (optional) identity_type_filter (default value is all)
53-
# By default, connector will automatically load users from all identity type to be load as directory users.
54-
# When specify with one of the following value (adobeID, enterpriseID, federatedID)
55-
# the connector will automatically filter users by the specified identity type.
56-
identity_type_filter: all
57-
34+
# NOTE: Credentials can be stored securely with these options
35+
# secure_client_id_key: my_client_id
36+
# secure_client_secret_key: my_client_secret
37+
# See https://adobe-apiplatform.github.io/user-sync.py/en/user-manual/sync_from_console.html#credential-security
Lines changed: 10 additions & 69 deletions
Original file line numberDiff line numberDiff line change
@@ -1,81 +1,22 @@
1-
# This is a sample configuration file for the csv connector type.
2-
#
3-
# CSV (Comma-Separated Values) is a plain-text spreadsheet format.
4-
# The main function of this configuration file is to specify how column names
5-
# in the spreadsheet are mapped to attribute names in the directory.
6-
#
7-
# The first line of a CSV file is assumed to be header row with column names.
8-
# The column names in your spreadsheet can be in any order, and if there are
9-
# fewer values in a row than there are in the header row, the attributes
10-
# for the missing columns are given no value.
11-
#
12-
# This sample file contains all of the settable options for this format,
13-
# with each set to its default value. If the defaults are fine for your
14-
# application, you can use a copy of this file as-is, or you can omit the csv
15-
# setting from the connectors in your main User Sync configuration file.
1+
# This is the configuration template for the CSV connector.
2+
# For more information, see https://adobe-apiplatform.github.io/user-sync.py/en/user-manual/sync_from_csv.html
3+
4+
# --- Format Options ---
5+
# These options relate to the CSV file format
6+
# See https://adobe-apiplatform.github.io/user-sync.py/en/user-manual/sync_from_csv.html#format-options
167

17-
# (optional) delimiter (no default value)
18-
# The delimiter is the string that separates columns. Normally,
19-
# this is detected automatically from the first line in the file.
20-
# To set it to a specific value, uncomment this setting:
218
#delimiter: ","
9+
# string_encoding: utf-8
2210

23-
# (optional) string_encoding (default value given below)
24-
# string_encoding specifies the Unicode string encoding used in the CSV file.
25-
# All values retrieved from the file are converted to Unicode before being
26-
# sent to or compared with values on the Adobe side, to avoid encoding issues.
27-
# The value must be a Python codec name or alias, such as 'latin1' or 'utf-8.
28-
# See https://docs.python.org/2/library/codecs.html#standard-encodings for details.
29-
#string_encoding: utf-8
11+
# --- Column Mapping Options ---
12+
# These options let you control the column naming scheme of the CSV input file
13+
# See https://adobe-apiplatform.github.io/user-sync.py/en/user-manual/sync_from_csv.html#column-mapping-options
3014

31-
# (optional) email_column_name (default "email")
32-
# The column name that contains the user's email address.
33-
# Values in this column must be valid, unquoted email addresses.
34-
# A value is required in this column for all users, regardless
35-
# of their identity type. For Adobe ID users, all of the other
36-
# column values are optional. For Enterprise and Federated ID
37-
# users, all of the other column values are significant.
3815
email_column_name: email
39-
40-
# (optional) first_name_column_name (default "firstname")
41-
# The column name that contains the user's first name (aka given name).
42-
# Values in this column can be any string
4316
first_name_column_name: firstname
44-
45-
# (optional) last_name_column_name (default "lastname")
46-
# The column name that contains the user's last name (aka surname).
47-
# Values in this column can be any string
4817
last_name_column_name: lastname
49-
50-
# (optional) country_column_name (default "country")
51-
# The column name that contains the user's home country.
52-
# Values in this column must be an ISO-3166 two-letter country code.
5318
country_column_name: country
54-
55-
# (optional) groups_column_name (default "groups")
56-
# The column name that contains the user's group memberships.
57-
# Values in this column must be a comma-separated list of group names.
58-
# NOTE: Since commas usually separate columns, be sure to surround the
59-
# entire column value with double quotes, to prevent any embedded commas
60-
# from being interpreted as column separators.
6119
groups_column_name: groups
62-
63-
# (optional) identity_type_column_name (default "type")
64-
# The column name that contains the user's identity type.
65-
# Values in this column must be adobeID, enterpriseID, or FederatedID.
6620
identity_type_column_name: type
67-
68-
# (optional) username_column_name (default "username")
69-
# The column name that contains the user's username (for the Adobe side).
70-
# Values in this column should not be specified unless the user is of type federatedID
71-
# and the user's domain is configured for username-based federation. In all other
72-
# cases, leave this column blank, and the email will be used for the username.
7321
username_column_name: username
74-
75-
# (optional) domain_column_name (default "domain")
76-
# The column name that contains the user's domain.
77-
# Values in this column should not be specified unless the user is of type federatedID,
78-
# the user's domain is configured for username-based federation, and there is a value
79-
# in the username field. If this field is left blank, the domain part of the email
80-
# address will be used for the user's domain.
8122
domain_column_name: domain

0 commit comments

Comments
 (0)