How does SOPS work, and how do you use it with Argo CD?

IntermediateConceptSecrets in GitOps
Answer

SOPS encrypts values (not keys) inside YAML/JSON files with a data key that is itself encrypted for one or more recipients: age, PGP, AWS KMS, GCP KMS, Azure Key Vault or Vault Transit. Rules live in .sops.yaml (path_regex, encrypted_regex: ^(data|stringData)$). Argo CD cannot decrypt natively, so you add a plugin: KSOPS (a Kustomize generator, needs --enable-alpha-plugins --enable-exec), helm-secrets, or a CMP sidecar with access to the key (for example via IRSA for KMS).

All GitOps & Argo CD questions Roadmap: Argo CD (GitOps)

More on Secrets in GitOps