AWS Codeartifact auth token expires after 12hrs, we need to create new token again.
But how can we automate this authentication token update instead of running the command again manually?
I've tried setting the command in ~/.bashrc, but this is running everytime the terminal is opened, need to reduce this command executions.