We are using AWS CodeArtifact to store our maven dependencies. Also, the company I work for uses temporary access keys to access aws. To make a long story short, every hour you have to run a script that updates your ~/.aws/credentials with the new keys. You also need to get a new CODEARTIFACT_AUTH_TOKEN to access CodeArtifact. https://docs.aws.amazon.com/codeartifact/latest/ug/tokens-authentication.html#env-var
How can you make IntelliJ pickup the new CODEARTIFACT_AUTH_TOKEN? Since you have to get a new one every hour you can't just set it in the settings. Well, of course you can, but you'll have to update it every hour...
Is it possible to do automagically?
1.4m articles
1.4m replys
5 comments
57.0k users