-
Notifications
You must be signed in to change notification settings - Fork 35
Expand file tree
/
Copy pathconfig.json
More file actions
332 lines (332 loc) · 8.58 KB
/
Copy pathconfig.json
File metadata and controls
332 lines (332 loc) · 8.58 KB
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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
{
"description": "External secrets plugin for Docker Swarm",
"documentation": "https://docs.docker.com/engine/extend/",
"interface": {
"types": ["docker.secretdriver/1.0", "docker.secretprovider/1.0"],
"socket": "plugin.sock"
},
"entrypoint": ["./swarm-external-secrets"],
"workdir": "/root",
"linux": {
"capabilities": ["CAP_SYS_ADMIN"]
},
"network": {
"type": "host"
},
"mounts": [
{
"source": "/var/run/docker.sock",
"destination": "/var/run/docker.sock",
"type": "bind",
"options": ["bind", "rbind"]
},
{
"source": "/run/swarm-external-secrets",
"destination": "/run/swarm-external-secrets",
"type": "bind",
"options": ["bind", "rbind", "rshared"]
}
],
"env": [
{
"name": "VAULT_ADDR",
"description": "Vault server address",
"settable": ["value"]
},
{
"name": "VAULT_AUTH_METHOD",
"description": "Vault authentication method",
"settable": ["value"]
},
{
"name": "VAULT_TOKEN",
"description": "Vault authentication token",
"settable": ["value"]
},
{
"name": "VAULT_ROLE_ID",
"description": "Vault AppRole role ID",
"settable": ["value"]
},
{
"name": "VAULT_SECRET_ID",
"description": "Vault AppRole secret ID",
"settable": ["value"]
},
{
"name": "VAULT_APPROLE_AUTH_PATH",
"description": "Vault AppRole auth mount path",
"settable": ["value"]
},
{
"name": "VAULT_JWT_ROLE",
"description": "Vault JWT auth role",
"settable": ["value"]
},
{
"name": "VAULT_JWT",
"description": "Vault JWT auth token",
"settable": ["value"]
},
{
"name": "VAULT_JWT_FILE",
"description": "Path to a Vault JWT auth token file",
"settable": ["value"]
},
{
"name": "VAULT_JWT_AUTH_PATH",
"description": "Vault JWT auth mount path",
"settable": ["value"]
},
{
"name": "VAULT_MOUNT_PATH",
"description": "Vault mount path",
"settable": ["value"]
},
{
"name": "SECRETS_PROVIDER",
"description": "Secrets provider type (e.g., vault, aws, azure, openbao, oci)",
"settable": ["value"]
},
{
"name": "OPENBAO_ADDR",
"description": "OpenBao server address",
"settable": ["value"]
},
{
"name": "OPENBAO_AUTH_METHOD",
"description": "OpenBao authentication method",
"settable": ["value"]
},
{
"name": "OPENBAO_ROLE_ID",
"description": "OpenBao AppRole role ID",
"settable": ["value"]
},
{
"name": "OPENBAO_SECRET_ID",
"description": "OpenBao AppRole secret ID",
"settable": ["value"]
},
{
"name": "OPENBAO_APPROLE_AUTH_PATH",
"description": "OpenBao AppRole auth mount path",
"settable": ["value"]
},
{
"name": "OPENBAO_JWT_ROLE",
"description": "OpenBao JWT auth role",
"settable": ["value"]
},
{
"name": "OPENBAO_JWT",
"description": "OpenBao JWT auth token",
"settable": ["value"]
},
{
"name": "OPENBAO_JWT_FILE",
"description": "Path to an OpenBao JWT auth token file",
"settable": ["value"]
},
{
"name": "OPENBAO_JWT_AUTH_PATH",
"description": "OpenBao JWT auth mount path",
"settable": ["value"]
},
{
"name": "OPENBAO_AUTH_METHOD",
"description": "OpenBao authentication method",
"settable": ["value"]
},
{
"name": "OPENBAO_TOKEN",
"description": "OpenBao authentication token",
"settable": ["value"]
},
{
"name": "OPENBAO_MOUNT_PATH",
"description": "OpenBao mount path",
"settable": ["value"]
},
{
"name": "ENABLE_ROTATION",
"description": "Enable automatic secret rotation (true/false)",
"settable": ["value"]
},
{
"name": "ROTATION_INTERVAL",
"description": "Secret rotation check interval (e.g., 5m, 1h)",
"settable": ["value"]
},
{
"name": "AWS_REGION",
"description": "AWS region",
"settable": ["value"]
},
{
"name": "AWS_ACCESS_KEY_ID",
"description": "AWS access key ID",
"settable": ["value"]
},
{
"name": "AWS_SECRET_ACCESS_KEY",
"description": "AWS secret access key",
"settable": ["value"]
},
{
"name": "AWS_ENDPOINT_URL",
"description": "AWS endpoint URL (e.g. for LocalStack)",
"settable": ["value"]
},
{
"name": "AWS_KMS_ENDPOINT",
"description": "AWS KMS endpoint URL (optional override, e.g. for LocalStack)",
"settable": ["value"]
},
{
"name": "AZURE_VAULT_URL",
"description": "Azure Key Vault URL",
"settable": ["value"]
},
{
"name": "AZURE_CLIENT_ID",
"description": "Azure client ID",
"settable": ["value"]
},
{
"name": "AZURE_CLIENT_SECRET",
"description": "Azure client secret",
"settable": ["value"]
},
{
"name": "AZURE_TENANT_ID",
"description": "Azure tenant ID",
"settable": ["value"]
},
{
"name": "AZURE_ACCESS_TOKEN",
"description": "Azure access token for Key Vault",
"settable": ["value"]
},
{
"name": "AZURE_INSECURE_HTTP",
"description": "Allow HTTP connections to Azure Key Vault (for local emulators like floci-az)",
"settable": ["value"]
},
{
"name": "AZURE_AUTHORITY_HOST",
"description": "Azure authority host URL (for local emulators like floci-az)",
"settable": ["value"]
},
{
"name": "GCP_PROJECT_ID",
"description": "GCP project ID",
"settable": ["value"]
},
{
"name": "GOOGLE_APPLICATION_CREDENTIALS",
"description": "Google application credentials required for GCP Secrets manager",
"settable": ["value"]
},
{
"name": "GCP_CREDENTIALS_JSON",
"description": "Google credentials json required for GCP Secrets manager",
"settable": ["value"]
},
{
"name": "SECRET_MANAGER_EMULATOR_HOST",
"description": "GCP Secret Manager emulator host:port (floci-gcp, e.g. localhost:4588)",
"settable": ["value"]
},
{
"name": "GCP_ENDPOINT",
"description": "Optional GCP Secret Manager endpoint override (alias for SECRET_MANAGER_EMULATOR_HOST)",
"settable": ["value"]
},
{
"name": "OCI_REGION",
"description": "OCI region",
"settable": ["value"]
},
{
"name": "OCI_TENANCY_OCID",
"description": "OCI tenancy OCID",
"settable": ["value"]
},
{
"name": "OCI_USER_OCID",
"description": "OCI user OCID",
"settable": ["value"]
},
{
"name": "OCI_FINGERPRINT",
"description": "OCI API key fingerprint",
"settable": ["value"]
},
{
"name": "OCI_PRIVATE_KEY",
"description": "OCI private key (base64-encoded PEM)",
"settable": ["value"]
},
{
"name": "OCI_PRIVATE_KEY_PASSPHRASE",
"description": "OCI private key passphrase",
"settable": ["value"]
},
{
"name": "OCI_VAULT_OCID",
"description": "OCI Vault OCID",
"settable": ["value"]
},
{
"name": "OCI_AUTH_METHOD",
"description": "OCI authentication method (api_key, instance_principal)",
"settable": ["value"]
},
{
"name": "OCI_ENDPOINT",
"description": "OCI API endpoint override (e.g. floci-oci http://localhost:4599)",
"settable": ["value"]
},
{
"name": "ENABLE_MONITORING",
"description": "Enable Monitoring secret rotation (true/false) default true",
"settable": ["value"]
},
{
"name": "MONITORING_PORT",
"description": "default 8080",
"settable": ["value"]
},
{
"name": "PLUGIN_LOG_PATH",
"description": "Path for plugin file logs (default /run/swarm-external-secrets/plugin.log)",
"settable": ["value"]
},
{
"name": "LOG_LEVEL",
"description": "Log level (debug, info, warn, error), default info",
"settable": ["value"]
},
{
"name": "uid",
"description": "User ID to run the plugin as",
"settable": ["value"]
},
{
"name": "gid",
"description": "Group ID to run the plugin as",
"settable": ["value"]
},
{
"name": "VAULT_SKIP_VERIFY",
"description": "Skip TLS certificate verification for Vault (true/false)",
"settable": ["value"]
},
{
"name": "OPENBAO_SKIP_VERIFY",
"description": "Skip TLS certificate verification for OpenBao (true/false)",
"settable": ["value"]
}
]
}