Secure API Keys #305
Replies: 4 comments 1 reply
-
If this is work you already had planned but would like help on, just let us know the pattern you were planning on and maybe we can submit a solution. |
Beta Was this translation helpful? Give feedback.
-
I don't believe there is any feasible way in scope of a trading library to securely store secrets if an attacker has access to the system. While you could store the keys in an encrypted manner the decryption key would need to be in plaintext and thus be visible to an attacker. Do you have a specific attack scenario in mind here? |
Beta Was this translation helpful? Give feedback.
-
There isn't currently anything on the roadmap relating to this. However, I think its a great suggestion - if you wanted to open an issue which proposes how we could implement something like the above then we could discuss further there and work towards a PR? |
Beta Was this translation helpful? Give feedback.
-
@BlackWingedKing @Troubladore Did you have any technology suggestions I could review before opening up an issue on this? Also, if you wanted to take the lead on opening the issue and lay out your suggestions then please feel free to do so! |
Beta Was this translation helpful? Give feedback.
-
Hello, @cjdsellers,
Currently, we are expecting the API keys to be stored as environment variables. (so, anyone who has access to our current environment could read them)
I was wondering
api_key = decrypt(os.getenv(...))
)Thank you.
Beta Was this translation helpful? Give feedback.
All reactions