argo-cd icon indicating copy to clipboard operation
argo-cd copied to clipboard

Add 2FA option when syncing applications

Open marcportabellaclotet-mt opened this issue 2 years ago • 2 comments

Summary

I would like to have a 2FA method when running an argocd sync.

Motivation

We are running critical applications deployed with argoCD. We would like to have an option to add an "approval" via 2FA when a critical and sensitive application is being updated. We are applying zero trust policies. There have been several cases where github accounts have been compromised, and this opens the door to argocd to deploy undesired versions of our apps .

Proposal

The idea is to integrate 2FA providers like duo security or others, and when a sync command is triggered in argocd, send a "push approval" to our mobile. After we approve the sync in our mobile phones, argocd starts the sync process.

marcportabellaclotet-mt avatar Aug 07 '22 08:08 marcportabellaclotet-mt

I guess Argo Workflows can be leveraged ? Make the application manual sync but use workflows to sync upon approval step completed within workflows.

cbrdy avatar Sep 09 '22 11:09 cbrdy

Thanks for the comment, Yes, using argo workflows or argo rollouts this can be achieved. I was thinking in a native integration to make it more secure.

marcportabellaclotet-mt avatar Sep 10 '22 13:09 marcportabellaclotet-mt