Authentication must occur every time an SDK script is run.
Ensure your private key is not password protected. All private keys generated on the Encord platform as described in our documentation are not password protected by default.
We recommend using the file path to your private key, rather than the private key itself when authenticating.