RepoCredsService
CreateRepositoryCredentials creates a new repository credential set
POST
https://argocd.example.com/api/v1/repocreds
Body
application/json
Repository definition
azureActiveDirectoryEndpointstringazureServicePrincipalClientIdstringazureServicePrincipalClientSecretstringazureServicePrincipalTenantIdstringbearerTokenstringenableOCIbooleanforceHttpBasicAuthbooleangcpServiceAccountKeystringgithubAppEnterpriseBaseUrlstringgithubAppIDinteger<int64>githubAppInstallationIDinteger<int64>githubAppPrivateKeystringinsecureOCIForceHttpbooleanInsecureOCIForceHttp specifies whether the connection to the repository uses TLS at all. If true, no TLS. This flag is applicable for OCI repos only.
noProxystringpasswordstringproxystringsshPrivateKeystringtlsClientCertDatastringtlsClientCertKeystringtypestringType specifies the type of the repoCreds. Can be either "git", "helm" or "oci". "git" is assumed if empty or absent.
urlstringuseAzureWorkloadIdentitybooleanusernamestringParameters
upsertbooleanqueryWhether to create in upsert mode.
Response
A successful response.
defaultruntimeError
An unexpected error response.
Authorization
bearerapiKey in headerA token sent as Authorization: Bearer <token>. API Docs shows how to get one.
