-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathconfig.yaml.example
60 lines (58 loc) · 4.1 KB
/
config.yaml.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
central_info:
client_id: "<Your Aruba Central API Client ID>"
client_secret: "<Client Secret for the specified Client ID>"
customer_id: "<Aruba Central Customer ID>"
username: "<Aruba Central Username>"
password: "<aruba-central-account-password>"
base_url: "https://central-apigw.central.arubanetworks.com" # The base of the Aruba Central API GW *for the Cluster you belong to* Starts with https://, ends with arubanetworks.com
token: # --- OPTIONAL CONFIG ITEMS --
access_toke: <access token> # tokens are not required if using user/pass These tokens will be invalid
refresh_token: <refresh token> # soon after you start using them, but cencli auto refreshes and stores the new tokens
webhook: # Optional used by optional hook-proxy and hook2snow features. "pip3 install centralcli[hook-proxy]"
token: <webhook token> # Used to verify incoming webhooks
port: 8123 # Port this system would listen on for webhooks from Aruba Central
snow: # Optional used by optional hook2snow feature (rcv webhook from central format then post to Service Now via REST API). "pip3 install centralcli[hook-proxy]"
id: <snow_id>
url: <snow_base_url> # i.e. https://example.service-now.com
incident_path: <incident_path> # Path to the REST endpoint to POST (create/update) incidents i.e. /api/now/v1/table/u_integration_web_services_incident
refresh_path: <refresh_path> # Optional defaults to oauth_token.do
client_id: <snow_client_id>
client_secret: <snow_client_secret>
assignment_group: <assignment_group> # Valid service-now assignement_group incidents will be created and assigned to this group.
token: # similar to central tokens in the config, the values are used to initially authenticate, during refresh tokens are stored in separate tok_ file
access_token: <snow_access_token>
refresh_token: <snow_refresh_token>
#
# You can pass the --account <customer_name> option to use different Aruba Central profiles.
#
#customer_one:
# client_id: "<Your Aruba Central API Client ID>"
# client_secret: "<Client Secret for the specified Client ID>"
# customer_id: "<Aruba Central Customer ID>"
# username: "<Aruba Central Username>"
# password: "<aruba-central-account-password>"
# base_url: "https://central-apigw.central.arubanetworks.com" # The base of the Aruba Central API GW *for the Cluster you belong to* Starts with https://, ends with arubanetworks.com
#
#customer_two:
# client_id: "<Your Aruba Central API Client ID>"
# client_secret: "<Client Secret for the specified Client ID>"
# customer_id: "<Aruba Central Customer ID>"
# username: "<Aruba Central Username>"
# password: "<aruba-central-account-password>"
# base_url: "https://central-apigw.central.arubanetworks.com" # The base of the Aruba Central API GW *for the Cluster you belong to* Starts with https://, ends with arubanetworks.com
#
#
#internal:
# client_id: "<Your Aruba Central API Client ID>"
# client_secret: "<Client Secret for the specified Client ID>"
# customer_id: "<Aruba Central Customer ID>"
# username: "<Aruba Central Username>"
# password: "<aruba-central-account-password>"
# base_url: "https://internal-apigw.central.arubanetworks.com" # The base of the Aruba Central API GW *for the Cluster you belong to* Starts with https://, ends with arubanetworks.com
# -- Optional Global Options --
# forget_account_after: 30 # The --account <account-name> flag allows you to switch between central accounts. The setting is sticky
# so you don't have to keep re-entering the flag on every command. This setting will cause it to revert
# back to the default account (under "central-info") 30 mins from the last command.
# By default it will remember the last account used forever and only switch back to the default account when -d is used
# Set to 0 to disable sticky account functionality. (Would use default account unless --account <account-name> is provided.)
# other global options (true|false): debug, debugv (both default to false) ssl_verify (defaults to true)