aboutsummaryrefslogtreecommitdiff
path: root/cluster/prod/app/backup/secrets.toml
blob: 5d2b8514d5c0666fa55479218fbb114ec1af20aa (plain) (blame)
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
# Cryptpad backup

[secrets."backup/cryptpad/backup_restic_password"]
type = 'user'
description = 'Restic password to encrypt backups'

[secrets."backup/cryptpad/backup_aws_secret_access_key"]
type = 'user'
description = 'Backup AWS secret access key'

[secrets."backup/cryptpad/backup_restic_repository"]
type = 'user'
description = 'Restic repository'
example = 's3:https://s3.garage.tld'

[secrets."backup/cryptpad/backup_aws_access_key_id"]
type = 'user'
description = 'Backup AWS access key ID'


# Consul backup

[secrets."backup/consul/backup_restic_password"]
type = 'user'
description = 'Restic password to encrypt backups'

[secrets."backup/consul/backup_aws_secret_access_key"]
type = 'user'
description = 'Backup AWS secret access key'

[secrets."backup/consul/backup_restic_repository"]
type = 'user'
description = 'Restic repository'
example = 's3:https://s3.garage.tld'

[secrets."backup/consul/backup_aws_access_key_id"]
type = 'user'
description = 'Backup AWS access key ID'


# Postgresql backup

[secrets."backup/psql/aws_secret_access_key"]
type = 'user'
description = 'Minio secret key'

[secrets."backup/psql/aws_access_key_id"]
type = 'user'
description = 'Minio access key'

[secrets."backup/psql/crypt_public_key"]
type = 'user'
description = 'A public key to encypt backups with age'

[secrets."backup/psql/crypt_private_key"]
type = 'user'
description = 'a private key to decript backups from age'


# SSH target config (do we still use this?)

[secrets."backup/target_ssh_host"]
type = 'user'
description = 'Hostname of the backup target host'

[secrets."backup/target_ssh_port"]
type = 'user'
description = 'SSH port number to connect to the target host'

[secrets."backup/target_ssh_dir"]
type = 'user'
description = 'Directory where to store backups on target host'

[secrets."backup/target_ssh_user"]
type = 'user'
description = 'SSH username to log in as on the target host'

[secrets."backup/target_ssh_fingerprint"]
type = 'user'
description = 'SSH fingerprint of the target machine (format: copy here the corresponding line from your known_hosts file)'

[secrets."backup/id_ed25519"]
type = 'user'
multiline = true
description = 'Private ed25519 key of the container doing the backup'

[secrets."backup/id_ed25519.pub"]
type = 'user'
description = 'Public ed25519 key of the container doing the backup (this key must be in authorized_keys on the backup target host)'