RepoCredsService

UpdateWriteRepositoryCredentials updates a repository credential set with write access

PUT
https://argocd.example.com/api/v1/write-repocreds/{creds.url}

Body

application/json
azureActiveDirectoryEndpointstring
azureServicePrincipalClientIdstring
azureServicePrincipalClientSecretstring
azureServicePrincipalTenantIdstring
bearerTokenstring
enableOCIboolean
forceHttpBasicAuthboolean
gcpServiceAccountKeystring
githubAppEnterpriseBaseUrlstring
githubAppIDinteger<int64>
githubAppInstallationIDinteger<int64>
githubAppPrivateKeystring
insecureOCIForceHttpboolean

InsecureOCIForceHttp specifies whether the connection to the repository uses TLS at all. If true, no TLS. This flag is applicable for OCI repos only.

noProxystring
passwordstring
proxystring
sshPrivateKeystring
tlsClientCertDatastring
tlsClientCertKeystring
typestring

Type specifies the type of the repoCreds. Can be either "git", "helm" or "oci". "git" is assumed if empty or absent.

urlstring
useAzureWorkloadIdentityboolean
usernamestring

Parameters

creds.urlstringrequiredpath

URL is the URL to which these credentials match

Response

A successful response.

Response fields application/json
azureActiveDirectoryEndpointstring
azureServicePrincipalClientIdstring
azureServicePrincipalClientSecretstring
azureServicePrincipalTenantIdstring
bearerTokenstring
enableOCIboolean
forceHttpBasicAuthboolean
gcpServiceAccountKeystring
githubAppEnterpriseBaseUrlstring
githubAppIDinteger<int64>
githubAppInstallationIDinteger<int64>
githubAppPrivateKeystring
insecureOCIForceHttpboolean

InsecureOCIForceHttp specifies whether the connection to the repository uses TLS at all. If true, no TLS. This flag is applicable for OCI repos only.

noProxystring
passwordstring
proxystring
sshPrivateKeystring
tlsClientCertDatastring
tlsClientCertKeystring
typestring

Type specifies the type of the repoCreds. Can be either "git", "helm" or "oci". "git" is assumed if empty or absent.

urlstring
useAzureWorkloadIdentityboolean
usernamestring

An unexpected error response.

Response fields application/json
codeinteger<int32>
Show child attributes
type_urlstring
valuestring<byte>
errorstring
messagestring

Authorization

bearerapiKey in header

A token sent as Authorization: Bearer <token>. API Docs shows how to get one.