Hi,
I was trying to follow the approach described in your article about using AWS CodeCommit with ArgoCD via IRSA and the AWS CodeCommit credential helper:
posts/2026-02-26-argocd-aws-codecommit-credentials
I managed to get all of the underlying pieces working:
- IRSA is correctly configured on
argocd-repo-server
- The pod can assume the IAM role
- AWS CLI is available inside the repo-server container
aws codecommit credential-helper works
git ls-remote https://git-codecommit.<region>.amazonaws.com/v1/repos/<repo> works successfully from inside the repo-server container using the configured helper
I also mounted the Git configuration at /etc/gitconfig (following your separate article about Git configuration and credential caching in ArgoCD), and verified that Git is correctly loading the credential helper configuration.
However, when ArgoCD itself tries to access the repository, it still fails with:
failed to list refs: authentication required:
<NotAuthorizedException>
<Message>SPNEGO token required</Message>
</NotAuthorizedException>
To troubleshoot this, I modified the credential helper command to write to a temporary log file whenever it is invoked. Manual Git operations trigger the helper as expected, but ArgoCD repository validation and application synchronization never invoke it.
This makes me suspect that either:
- ArgoCD is not using the system Git configuration for repository access in this scenario.
- Additional configuration is required but not documented in the article.
- The behavior depends on a specific ArgoCD version.
Could you clarify whether you have successfully validated the full end-to-end flow with ArgoCD actually syncing applications from CodeCommit using this method? If so, would you be able to share the missing configuration required to make ArgoCD invoke the credential helper?
Thanks for the article and for any additional details you can provide.
Hi,
I was trying to follow the approach described in your article about using AWS CodeCommit with ArgoCD via IRSA and the AWS CodeCommit credential helper:
posts/2026-02-26-argocd-aws-codecommit-credentials
I managed to get all of the underlying pieces working:
argocd-repo-serveraws codecommit credential-helperworksgit ls-remote https://git-codecommit.<region>.amazonaws.com/v1/repos/<repo>works successfully from inside the repo-server container using the configured helperI also mounted the Git configuration at
/etc/gitconfig(following your separate article about Git configuration and credential caching in ArgoCD), and verified that Git is correctly loading the credential helper configuration.However, when ArgoCD itself tries to access the repository, it still fails with:
To troubleshoot this, I modified the credential helper command to write to a temporary log file whenever it is invoked. Manual Git operations trigger the helper as expected, but ArgoCD repository validation and application synchronization never invoke it.
This makes me suspect that either:
Could you clarify whether you have successfully validated the full end-to-end flow with ArgoCD actually syncing applications from CodeCommit using this method? If so, would you be able to share the missing configuration required to make ArgoCD invoke the credential helper?
Thanks for the article and for any additional details you can provide.