CertificateService

List all available repository certificates

GET
https://argocd.example.com/api/v1/certificates

Parameters

hostNamePatternstringquery

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

certTypestringquery

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

certSubTypestringquery

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

Response

A successful response.

Response fields application/json
Show child attributes
certDatastring<byte>
certInfostring
certSubTypestring
certTypestring
serverNamestring
metadatav1ListMeta

ListMeta describes metadata that synthetic resources must have, including lists and various status objects. A resource may have only one of {ObjectMeta, ListMeta}.

Show child attributes
continuestring

continue may be set if the user set a limit on the number of items returned, and indicates that the server has more data available. The value is opaque and may be used to issue another request to the endpoint that served this list to retrieve the next set of available objects. Continuing a consistent list may not be possible if the server configuration has changed or more than a few minutes have passed. The resourceVersion field returned when using this continue value will be identical to the value in the first response, unless you have received this token from an error message.

remainingItemCountinteger<int64>
resourceVersionstring
shardInfov1ShardInfo

ShardInfo describes the shard selector that was applied to produce a list response. Its presence on a list response indicates the list is a filtered subset.

Show child attributes
selectorstring

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.