'github secrets, file with multiple access tokens
I have currently have a .json file with multiple access tokens for different accounts, ie:
{
"Acc_001": {
"account_name": "account_name_001",
"access_token": "access_token_4_acc001"
},
"Acc_002": {
"account_name": "account_name_002",
"access_token": "access_token_4_acc002"
},
"Acc_00n": {
"account_name": "account_name_00n",
"access_token": "access_token_4_acc00n"
}
}
I need these access tokens to be kept as secrets in github? I could add token after token to the secrets, or I could base64 encode the file--but I'm wondering which is the proper way?
Thx
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
