Skip to main content
GET
/
v0
/
credentials
List credentials
curl --request GET \
  --url https://api.sfcompute.com/v0/credentials \
  --header 'Authorization: <api-key>'
{
  "data": [
    {
      "cluster": {
        "id": "<string>",
        "kubernetes_api_url": "<string>",
        "kubernetes_ca_cert": "<string>",
        "kubernetes_namespace": "<string>",
        "name": "<string>",
        "object": "<string>"
      },
      "cluster_type": "<string>",
      "encrypted_kubeconfig": "<string>",
      "encrypted_token": "<string>",
      "ephemeral_pubkey": "<string>",
      "id": "<string>",
      "label": "<string>",
      "nonce": "<string>",
      "object": "<string>",
      "pubkey": "<string>",
      "username": "<string>"
    }
  ],
  "has_more": true,
  "object": "<string>"
}

Authorizations

Authorization
string
header
required

Type "Bearer" followed by a space and JWT token.

Response

200 - application/json

OK

data
object[]
has_more
boolean
object
string