-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.example.toml
34 lines (32 loc) · 1.33 KB
/
config.example.toml
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
[credentials]
# The URL used to interact with saferwall APIs.
url = "https://api.saferwall.com"
# The user name you choose when you sign-up for saferwall.com.
username = "YourUsername"
# The password you choose when you sign-up for saferwall.com.
password = "YourPassword"
[storage]
# Deployement kind, possible values: aws, minio, local.
deployment_kind = "s3"
# Bucket name where samples are stored.
samples_bucket = "saferwall-samples"
# Bucket name where behavior artifacts are stored.
artifacts_bucket = "saferwall-artifacts"
# Only one storage type has to be provided. `deployment_kind` controls
# at runtime which one to use.
[storage.s3]
region = "us-east-1" # AWS region.
secret_key = "superSecretKey" # AWS Secret Access Key.
access_key = "superSecretAccessKey" # AWS Access key ID.
[storage.minio]
endpoint = "minio:9000" # MinIO endpoint.
region = "us-east-1" # Region.
access_key = "minio" # Access key ID.
secret_key = "minio123" # Secret Access Key.
[storage.local]
root_dir = "/saferwall/storage" # Full path to the directory where to store the files.
[db]
server = "couchbase://localhost" # DSN for connecting to the database
username = "Administrator" # Username used to access the db.
password = "password" # Password used to access the db.
bucket_name = "sfw" # Name of the couchbase bucket.