Skip to main content
GET
List what uses a GitHub credential

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

authorization
string | null
x-ankra-organisation-id
string | null

Path Parameters

credential_id
string<uuid>
required

Response

Usages resolved

credential
object
required

The credential: id, name, provider, credential_scope (organisation or personal), state, available, account_login, account_type, installation_id, app_backed, last_synced_at and syncing.

ambiguous_credential_name
boolean
required

True when more than one active GitHub credential carries this name; the usages then span all of them.

usage_count
integer
required

Cluster GitOps connections that name the credential.

application_count
integer
required

Applications built from repositories the credential grants.

dependent_count
integer
required

usage_count plus application_count: what to weigh before replacing or deleting the credential.

usages
object[]
required
applications
object[]
required