---
title: "POST /v0/credentials"
method: POST
path: "/v0/credentials"
tags: ["Credentials"]
---

# POST /v0/credentials

`POST /v0/credentials`

## Request body

- SFComputeK8sOrchestrationAPITypesKubernetesCredentialBody — Credential request body
  - `cluster` string
  - `label` string
  - `object` string
  - `pubkey` string
  - `username` string

## Response `200`

OK

- SFComputeK8sOrchestrationAPIFrontendServerBaseCredentialResponse
  - `cluster` SFComputeK8sOrchestrationAPIFrontendServerClusterInfo
    - `id` string
    - `kubernetes_api_url` string
    - `kubernetes_ca_cert` string
    - `kubernetes_namespace` string
    - `name` string
    - `object` string
  - `id` string
  - `label` string
  - `object` string
  - `pubkey` string
  - `username` string

---

[API](https://skmtc.dev/sfcompute/apis/san-francisco-compute-documentation.md) · [All operations](https://skmtc.dev/sfcompute/apis/san-francisco-compute-documentation/llms.txt) · [OpenAPI document](https://skmtc.dev/sfcompute/apis/san-francisco-compute-documentation/revisions/e799cec0ecec?raw)
