Skip to main content
GET
/
api
/
serviceAccounts
/
v1
/
serviceAccounts
/
{serviceAccountIdpId}
/
gitcredentials
cURL
curl --request GET \
  --url https://api.example.com/api/serviceAccounts/v1/serviceAccounts/{serviceAccountIdpId}/gitcredentials \
  --header 'X-Domino-Api-Key: <api-key>'
{
  "credentials": [
    {
      "domain": "github.com",
      "fingerprint": "ba:78:09:d8:4b:3b:09:9b:43:bf:9b:5a:34:f7:3f:28",
      "id": "<string>",
      "name": "My creds",
      "protocol": "https"
    }
  ],
  "metadata": {
    "notices": [
      "<string>"
    ],
    "requestId": "<string>",
    "limit": 123,
    "offset": 123,
    "totalCount": 123
  }
}

Authorizations

X-Domino-Api-Key
string
header
required

Path Parameters

serviceAccountIdpId
string
required

Query Parameters

offset
integer<int32>
default:0

Zero-based; indicates how many events to skip over before

limit
integer<int32>
default:50

Maximum number of records to return.

Response

Get the list of Git credentials associated with a service account

credentials
object[]
required
metadata
object
required