Adding upstream version 1.34.4.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
e393c3af3f
commit
4978089aab
4963 changed files with 677545 additions and 0 deletions
10
plugins/secretstores/http/testcases/mixed/expected.json
Normal file
10
plugins/secretstores/http/testcases/mixed/expected.json
Normal file
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"user.user_a": "user_1",
|
||||
"passwd.password_a": "password A",
|
||||
"user.user_b": "user 2",
|
||||
"passwd.password_b": "password-B",
|
||||
"user.user_c": "user@company.com",
|
||||
"passwd.password_c": "my$3cR3T",
|
||||
"user.user_d": "user %with% $trAng€ characters",
|
||||
"passwd.password_d": ""
|
||||
}
|
30
plugins/secretstores/http/testcases/mixed/secrets.json
Normal file
30
plugins/secretstores/http/testcases/mixed/secrets.json
Normal file
|
@ -0,0 +1,30 @@
|
|||
[
|
||||
{
|
||||
"userName": "user_a",
|
||||
"userValue": "user_1",
|
||||
"secretName": "password_a",
|
||||
"secretValue": "3y1Za18sLLNIIHw1fv2Olg==",
|
||||
"description": "server credentials for A"
|
||||
},
|
||||
{
|
||||
"userName": "user_b",
|
||||
"userValue": "user 2",
|
||||
"secretName": "password_b",
|
||||
"secretValue": "aedMZXaLR246OHHjVtJKXQ==",
|
||||
"description": "server credentials for B"
|
||||
},
|
||||
{
|
||||
"userName": "user_c",
|
||||
"userValue": "user@company.com",
|
||||
"secretName": "password_c",
|
||||
"secretValue": "rcFobNmuaaboSPZY5nKjzQ==",
|
||||
"description": "server credentials for C"
|
||||
},
|
||||
{
|
||||
"userName": "user_d",
|
||||
"userValue": "user %with% $trAng€ characters",
|
||||
"secretName": "password_d",
|
||||
"secretValue": "1HxPInsJomaWAE19VBisyw==",
|
||||
"description": "server credentials for D"
|
||||
}
|
||||
]
|
15
plugins/secretstores/http/testcases/mixed/telegraf.conf
Normal file
15
plugins/secretstores/http/testcases/mixed/telegraf.conf
Normal file
|
@ -0,0 +1,15 @@
|
|||
[[secretstores.http]]
|
||||
id = "user"
|
||||
url = "http://127.0.0.1/secrets"
|
||||
transformation = '{userName: userValue}'
|
||||
|
||||
[[secretstores.http]]
|
||||
id = "passwd"
|
||||
url = "http://127.0.0.1/secrets"
|
||||
transformation = '{secretName: secretValue}'
|
||||
|
||||
cipher = "AES256/CBC/PKCS#5"
|
||||
|
||||
[secretstores.http.aes]
|
||||
key = "63238c069e3c5d6aaa20048c43ce4ed0a910eef95f22f55bacdddacafa06b656"
|
||||
init_vector = "61737570657273656372657469763432"
|
Loading…
Add table
Add a link
Reference in a new issue