forked from stfc/st2-cloud-pack
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.schema.yaml
69 lines (68 loc) · 1.81 KB
/
config.schema.yaml
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
61
62
63
64
65
66
67
68
69
---
jupyter:
description: Jupyter Settings and tokens
type: "object"
required: true
properties:
dev_token:
type: "string"
description: "Token for test.jupyter.stfc.ac.uk"
required: false
training_token:
type: "string"
description: "Token for training.jupyter.stfc.ac.uk"
required: false
prod_token:
type: "string"
description: "Token for jupyter.stfc.ac.uk"
required: false
smtp_accounts:
description: "SMTP accounts"
type: "array"
required: true
items:
type: "object"
required: true
properties:
name:
description: "Name of the account"
type: "string"
secret: false
required: true
server:
description: "Email server name - e.g. imap.gmail.com"
type: "string"
secret: false
required: true
username:
description: "Mailbox username"
type: "string"
required: false
password:
description: "Mailbox password."
type: "string"
secret: true
required: false
port:
description: "Port to connect to - e.g. 465, 587."
type: "integer"
default: 465
required: true
secure:
description: "Set to False to disable secure protocol. Default value is True."
type: "boolean"
default: true
smtp_auth:
description: "Authenticate username and password with SMTP server to send email. Default True"
type: "boolean"
default: true
max_attachment_size:
description: "Maxium size of downloaded attachment in bytes (default 1024)"
type: "integer"
required: false
default: 1024
attachment_datastore_ttl:
description: "TTL in seconds to keep attachments in the datastore. Default 1800"
type: "integer"
required: false
default: 1800