---
title: "POST /datasets/{name}/versions/{version}/credentials"
method: POST
path: "/datasets/{name}/versions/{version}/credentials"
---

# POST /datasets/{name}/versions/{version}/credentials

`POST /datasets/{name}/versions/{version}/credentials`

Get the SAS credential to access the storage account associated with a Dataset version.

## Path parameters

- `name` string, required
- `version` string, required

## Query parameters

- `api-version` string, required

## Response `200`

The request has succeeded.

- AssetCredentialResponse — Represents a reference to a blob for consumption
  - `blobReference` BlobReference, required — Blob reference details.
    - `blobUri` string, required — Blob URI path for client to upload data. Example: `https://blob.windows.core.net/Container/Path`
    - `storageAccountArmId` string, required — ARM ID of the storage account to use.
    - `credential` SasCredential, required — SAS Credential definition
      - `sasUri` string, required — SAS uri
      - `type` 'SAS', required — Type of credential

## Other responses

- `default` — An unexpected error response.

---

[API](https://skmtc.net/azure/apis/ai-azure-ai-projects.md) · [All operations](https://skmtc.net/azure/apis/ai-azure-ai-projects/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/ai-azure-ai-projects/versions/b52c14a89ea1/schema)
