ValidateAccess validates access to a repository with given parameters
Body
The URL to the repo
Parameters
repostringrequiredpathThe URL to the repo
usernamestringqueryUsername for accessing repo.
passwordstringqueryPassword for accessing repo.
sshPrivateKeystringqueryPrivate key data for accessing SSH repository.
insecurebooleanqueryWhether to skip certificate or host key validation.
tlsClientCertDatastringqueryTLS client cert data for accessing HTTPS repository.
tlsClientCertKeystringqueryTLS client cert key for accessing HTTPS repository.
typestringqueryThe type of the repo.
namestringqueryThe name of the repo.
enableOcibooleanqueryWhether helm-oci support should be enabled for this repo.
githubAppPrivateKeystringqueryGithub App Private Key PEM data.
githubAppIDstring<int64>queryGithub App ID of the app used to access the repo.
githubAppInstallationIDstring<int64>queryGithub App Installation ID of the installed GitHub App.
githubAppEnterpriseBaseUrlstringqueryGithub App Enterprise base url if empty will default to https://api.github.com.
proxystringqueryHTTP/HTTPS proxy to access the repository.
projectstringqueryReference between project and repository that allow you automatically to be added as item inside SourceRepos project entity.
gcpServiceAccountKeystringqueryGoogle Cloud Platform service account key.
forceHttpBasicAuthbooleanqueryWhether to force HTTP basic auth.
useAzureWorkloadIdentitybooleanqueryWhether to use azure workload identity for authentication.
bearerTokenstringqueryBearerToken contains the bearer token used for Git auth at the repo server.
insecureOciForceHttpbooleanqueryWhether https should be disabled for an OCI repo.
azureServicePrincipalClientIdstringqueryAzure Service Principal Client ID.
azureServicePrincipalClientSecretstringqueryAzure Service Principal Client Secret.
azureServicePrincipalTenantIdstringqueryAzure Service Principal Tenant ID.
azureActiveDirectoryEndpointstringqueryAzure Active Directory Endpoint.
Response
A successful response.
An unexpected error response.
Authorization
bearerapiKey in headerA token sent as Authorization: Bearer <token>. API Docs shows how to get one.
