How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Harness Repository credentials API

The Repository credentials API from Harness — 4 operation(s) for repository credentials.

Harness Repository credentials API is one of 488 APIs that Harness publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Repository credentials. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an API reference, a getting-started guide, authentication docs, and rate-limit docs.

This API exposes 6 operations across 4 paths, and defines 11 schemas. It is described by OpenAPI 3.2.0, at version 1.0.

Requests are made against 2 base URLs: https://app.harness.io, https://{vanity}.

6 operations 4 paths 11 schemas 1 DELETE1 GET3 POST1 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
1.0
Base URL
https://app.harness.io
Authentication
API Key
Terms of Service
Resource Areas
1

Authentication & Security 1

Harness Repository credentials API declares 1 security scheme for authenticating requests. An API key is passed in the header as x-api-key (x-api-key). By default, every request must be authenticated.

  • x-api-key — API key is a token provided while making the API calls. This is used to authenticate the client at the exposed endpoint.

Paths & Operations 6

Across 4 paths, the API surfaces 6 operations — 1 DELETE, 1 GET, 3 POST, 1 PUT. Each is listed below with its method, path, parameters, and response codes.

Repository credentials 6
POST
/gitops/api/v1/agents/{agentIdentifier}/repocreds
Create a new repository credential
AgentRepositoryCredentialsService_CreateRepositoryCredentials 5 params body → 200default
POST
/gitops/api/v1/agents/{agentIdentifier}/repocreds/get
Get credentials for repository url
AgentRepositoryCredentialsService_GetCredentialsForRepositoryUrl 5 params body → 200default
GET
/gitops/api/v1/agents/{agentIdentifier}/repocreds/{identifier}
Get repository credential by identifier
AgentRepositoryCredentialsService_GetRepositoryCredentials 7 params → 200default
DELETE
/gitops/api/v1/agents/{agentIdentifier}/repocreds/{identifier}
Delete a repository credential
AgentRepositoryCredentialsService_DeleteRepositoryCredentials 5 params → 200default
PUT
/gitops/api/v1/agents/{agentIdentifier}/repocreds/{identifier}
Update a repository credential
AgentRepositoryCredentialsService_UpdateRepositoryCredentials 5 params body → 200default
POST
/gitops/api/v1/repocreds
List repository credentials
AgentRepositoryCredentialsService_ListRepositoryCredentials body → 200default

Schemas 11

The contract defines 11 schemas that model the data the API accepts and returns. The most detailed are hrepocredsRepoCreds (13 properties), v1RepositoryCredentialsQuery (10 properties), servicev1RepositoryCredentials (9 properties), servicev1RepositoryCredentialsList (7 properties). Each schema is shown below with its type and property counts.

gatewayruntimeError
object
4 properties
protobufAny
object
Any contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message. Protobuf library provides supp…
2 properties
hrepocredsRepoCredsUpdateRequest
object
2 properties
servicev1RepositoryCredentials
object
9 properties
hrepocredsRepoCredsQuery
object
2 properties
hrepocredsRepoCreds
object
13 properties
protobufFieldMask
object
paths: "f.a" paths: "f.b.d" Here f represents a field in some root message, a and b fields in the message found in f, and d a field found in the message in f.b…
1 property
servicev1RepositoryCredentialsList
object
7 properties
v1RepositoryCredentialsQuery
object
10 properties
hrepocredsRepoCredsResponse
object
hrepocredsRepoCredsCreateRequest
object
2 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

harness-repository-credentials-api-openapi.yml Raw ↑

Other APIs Harness publishes across the network.

Harness Continuous Integration API
Harness Continuous Delivery and GitOps API
Harness Feature Management and Experimentation API
Harness Cloud Cost Management API
Harness Chaos Engineering API
Harness Security Testing Orchestration API
Harness Internal Developer Portal API
Harness Code Repository API
Harness Service Reliability Management API
Harness Infrastructure as Code Management API
Harness Supply Chain Security API
Harness Software Engineering Insights API
Where this information came from

This is an independent, third-party profile of Harness Repository credentials API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.