numerai / numerai-cli

Automated submission workflows in the cloud.
MIT License
91 stars 28 forks source link

Add support for numerbay credentials? #65

Open mikedbjones opened 1 year ago

mikedbjones commented 1 year ago

Would it be possible to add support for numerbay credentials (or other secret info) during numerai setup? It would be very handy to have numerbay username and password as environment variables available to my predict.py, to automate upload of numerbay artifacts any time predict.py is run. I know that AWS and numerai keys live in .numerai/.keys. I'm unaware how to add any other secrets, apart from either hardcoding them in Dockerfile, or in the application itself.

ndharasz commented 1 year ago

Support for official secrets management is out of scope for this tool as of now. Hard coding them in the Dockerfile or your code should be okay unless you're planning on putting those in source control. I'll leave this issue up as we could eventually officially support secrets management, but won't be coming anytime soon.

mikedbjones commented 1 year ago

Thanks @ndharasz , only just saw this after doing the pull request where I've made some code changes to add support for custom secrets. I've been testing mikedbjones/numerai-cli today for my models and the code seems to work well. Thanks.