I've set up my project in PyCharm to use poetry and have a private repository in AWS CodeArtifact that I need to reference. Manually I got that working and the install/lock process works fine via terminal. However, if I use the built in poetry integration, it throws an error because it can't access the token I set like in the terminal.
What is the best way to handle this? I've tried setting the env variables in my profile (on Ubuntu) but the variable for the token just returns the command (i.e. aws codeartifact get-authorization-token...
) and not the actual value.