---
title: "POST /credentials"
method: POST
path: "/credentials"
tags: ["CredentialService", "credentials", "unofficial"]
---

# POST /credentials

`POST /credentials`

## Request body

- Credential
  - `id` string
  - `name` string, required
  - `azure` AzureCredential
    - `accountKey` AzureKeyCredential
      - `accountName` string, required
      - `accountKey` string, required
    - `sas` AzureSasCredential
      - `accountName` string, required
      - `sasToken` string, required
    - `client` AzureClientCredential
      - `tenantId` string, required
      - `clientId` string, required
      - `clientSecret` string
      - `clientCertificate` string
      - `federatedTokenFile` string

## Response `200`

OK

- Credential
  - `id` string
  - `name` string, required
  - `azure` AzureCredential
    - `accountKey` AzureKeyCredential
      - `accountName` string, required
      - `accountKey` string, required
    - `sas` AzureSasCredential
      - `accountName` string, required
      - `sasToken` string, required
    - `client` AzureClientCredential
      - `tenantId` string, required
      - `clientId` string, required
      - `clientSecret` string
      - `clientCertificate` string
      - `federatedTokenFile` string

## Other responses

- `default` — Default error response

## Changes

- **2025-02-20** `27d7bed71eaa` — 1 info
  - endpoint added
- **2025-02-16** `af378e92b27b` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/delta-incubator/apis/delta-sharing-api/changes/credentials/post.md)

---

[API](https://skmtc.dev/delta-incubator/apis/delta-sharing-api.md) · [All operations](https://skmtc.dev/delta-incubator/apis/delta-sharing-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/delta-incubator/delta-sharing-api/revisions/27d7bed71eaa/schema)
