...
Code Block | ||
---|---|---|
| ||
{
"sql-credentials": [
{
"host": "sql-server-abc",
"username": "my_user",
"password": "my_password"
},
{
"host": "sql-other-server-def",
"username": {"from_file": "/config/the-username"},
"password": {"from_env": "THE_ENV_VAR_WHERE_MY_PASSWORD_IS"}
}
],
"s3-credentials": {
"storedCredentials": [
{
"path": "",
"authenticationType": "BASIC",
"accessKeyId" : "my_key",
"secretAccessKey" : "my_secret"
}
],
"eksServiceAccountCredentials": [
{
"path": "s3.us-east-2.amazonaws.com",
"roleArnEnvVariable" : "TEST_ROLE_ARN",
"webIdentityTokenFileEnvVariable" : "TEST_TOKEN_FILE",
"sessionPrefix" : "testprefixABC"
}
]
},
"azure-credentials": {
"storedCredentials": [
{
"account": "my_account",
"authenticationType": "SHARED_KEY",
"path": "",
"sharedKey": "mysharedkey=="
}
]
}
} |
The ‘sql-credentials’ section allows username and password credentials to be associated with specific sql database hosts. Credentials can be hardcoded directly in the config file, located in a file, or located in an environment variable.
...