Repository Certificates

Creates repository certificates on the server

Create repository certificates.

SecurityApiKey
Request
path Parameters
agentIdentifier
required
string

Agent identifier for entity.

query Parameters
accountIdentifier
string

Account Identifier for the Entity.

orgIdentifier
string

Organization Identifier for the Entity.

projectIdentifier
string

Project Identifier for the Entity.

Request Body schema: application/json
object (RepositoryCertificateList is a collection of RepositoryCertificates)
upsert
boolean (Whether to upsert already existing certificates)
Responses
200

A successful response.

default

An unexpected error response.

post/gitops/api/v1/agents/{agentIdentifier}/certificates
Request samples
application/json
{
  • "certificates": {
    },
  • "upsert": true
}
Response samples
application/json
{
  • "metadata": {
    },
  • "items": [
    ]
}

Delete the certificates that match the RepositoryCertificateQuery

Delete repository certificates.

SecurityApiKey
Request
path Parameters
agentIdentifier
required
string

Agent identifier for entity.

query Parameters
accountIdentifier
string

Account Identifier for the Entity.

orgIdentifier
string

Organization Identifier for the Entity.

projectIdentifier
string
query.hostNamePattern
string

A file-glob pattern (not regular expression) the host name has to match.

query.certType
string

The type of the certificate to match (ssh or https).

query.certSubType
string

The sub type of the certificate to match (protocol dependent, usually only used for ssh certs).

Responses
200

A successful response.

default

An unexpected error response.

delete/gitops/api/v1/agents/{agentIdentifier}/certificates
Request samples
Response samples
application/json
{
  • "metadata": {
    },
  • "items": [
    ]
}

List all available repository certificates

List repository certificates.

SecurityApiKey
Request
path Parameters
agentIdentifier
required
string

Agent identifier for entity.

query Parameters
accountIdentifier
required
string

Account Identifier for the Entity.

orgIdentifier
string

Organization Identifier for the Entity.

projectIdentifier
string
query.hostNamePattern
string

A file-glob pattern (not regular expression) the host name has to match.

query.certType
string

The type of the certificate to match (ssh or https).

query.certSubType
string

The sub type of the certificate to match (protocol dependent, usually only used for ssh certs).

Responses
200

A successful response.

default

An unexpected error response.

get/gitops/api/v1/agents/{agentIdentifier}/certificates
Request samples
Response samples
application/json
{
  • "metadata": {
    },
  • "items": [
    ]
}