github.com/argoproj/argo-cd/v2@v2.10.9/docs/operator-manual/argocd-repo-creds.yaml (about) 1 # Repository credentials, for using the same credentials in multiple repositories. 2 apiVersion: v1 3 kind: Secret 4 metadata: 5 name: argoproj-https-creds 6 namespace: argocd 7 labels: 8 argocd.argoproj.io/secret-type: repo-creds 9 stringData: 10 url: https://github.com/argoproj 11 type: helm 12 password: my-password 13 username: my-username 14 --- 15 apiVersion: v1 16 kind: Secret 17 metadata: 18 name: argoproj-ssh-creds 19 namespace: argocd 20 labels: 21 argocd.argoproj.io/secret-type: repo-creds 22 stringData: 23 url: git@github.com:argoproj-labs 24 type: helm 25 sshPrivateKey: | 26 -----BEGIN OPENSSH PRIVATE KEY----- 27 ... 28 -----END OPENSSH PRIVATE KEY----- 29 --- 30 apiVersion: v1 31 kind: Secret 32 metadata: 33 name: github-creds 34 namespace: argocd 35 labels: 36 argocd.argoproj.io/secret-type: repo-creds 37 stringData: 38 url: https://github.com/argoproj 39 type: helm 40 githubAppID: 1 41 githubAppInstallationID: 2 42 githubAppPrivateKey: | 43 -----BEGIN OPENSSH PRIVATE KEY----- 44 ... 45 -----END OPENSSH PRIVATE KEY----- 46 --- 47 apiVersion: v1 48 kind: Secret 49 metadata: 50 name: github-enterprise-creds 51 namespace: argocd 52 labels: 53 argocd.argoproj.io/secret-type: repo-creds 54 stringData: 55 url: https://github.com/argoproj 56 type: helm 57 githubAppID: 1 58 githubAppInstallationID: 2 59 githubAppEnterpriseBaseUrl: https://ghe.example.com/api/v3 60 githubAppPrivateKey: | 61 -----BEGIN OPENSSH PRIVATE KEY----- 62 ... 63 -----END OPENSSH PRIVATE KEY-----