rsconnect-python
rsconnect-python copied to clipboard
Error deploying when CONNECT_API_KEY is set
In rsconnect-python 1.20, deploying from the command line with
rsconnect deploy fastapi -s $SERVER_URL -k $MY_API_KEY ...
fails if CONNECT_API_KEY is set in the environment. The same deployment works with a saved server (same API key):
rsconnect add -s $SERVER_URL -k $MY_API_KEY -n my-server
rsconnect deploy fastapi -n my-server ...
Tested again on 1.24.0 and I can't reproduce the problem. It may have been resolved with the changes in #518.