Safe way to use numerbay credentials in numerai-cli compute

I’m using numerai-cli compute for my daily submissions. Not being very experienced with Docker, can someone advise how I can safely use my numerbay credentials in my scripts? I can hard-code into my Dockerfile like this but it’s not great:

ARG NUMERBAY_USERNAME
ENV NUMERBAY_USERNAME="user"

ARG NUMERBAY_PASSWORD
ENV NUMERBAY_PASSWORD="pass"

I know the numerai and AWS keys are stored in .numerai/.keys. Is there a ‘safe’ way to pass other environment variables during numerai setup, or another way? Thanks.

I don’t use numerai-cli compute specifically and am a Google customer, but these docs might be relevant:

1 Like