---
title: "GET /gateway/v2/service-account/{vcluster}/{name}/scramcredential"
method: GET
path: "/gateway/v2/service-account/{vcluster}/{name}/scramcredential"
tags: ["cli_gateway-service-account_gateway_v2_10"]
---

# GET /gateway/v2/service-account/{vcluster}/{name}/scramcredential

`GET /gateway/v2/service-account/{vcluster}/{name}/scramcredential`

## Request

- Base URL: `https://developers.conduktor.io` (the document declares no server; this is the origin it was published from)
- URL: `https://developers.conduktor.io/gateway/v2/service-account/{vcluster}/{name}/scramcredential`
- Auth: HTTP basic
- TypeScript: <https://skmtc.dev/conduktor/apis/conduktor-gateway-api/docs/gateway/v2/service-account/:vcluster/:name/scramcredential/get.ts> (a function with typed inputs; its response is checked against the schema)

[![Generally Available](https://img.shields.io/badge/Lifecycle-Generally%20Available-blue)](#tag/Versioning)

List a service account's SCRAM credentials. Returns metadata only — never key material.


> **Note:** This endpoint requires the service accounts feature flag to be enabled.
> Set `GATEWAY_FEATURE_FLAGS_SERVICE_ACCOUNTS=true` to enable this feature.

## Path parameters

- `vcluster` string, required
- `name` string, required

## Response `200`

- ScramCredentialMetadata[]
  - `login` string, required: The globally unique SCRAM login (the SASL username the client presents).
  - `algorithm` 'SHA-512' | 'SHA-256', required: SCRAM hash algorithm.
  - `iterationCount` integer, required: Hash iteration count.

## Other responses

- `400`: Service accounts are not supported: requires a SASL listener, mTLS, or Kafka managed security mode.
- `401`: The given credentials are not valid
- `404`: The service account ... does not exist.
- `500`: An unexpected error occurred in the server

---

[API](https://skmtc.dev/conduktor/apis/conduktor-gateway-api.md) - [All operations](https://skmtc.dev/conduktor/apis/conduktor-gateway-api/llms.txt) - [OpenAPI document](https://skmtc.dev/conduktor/apis/conduktor-gateway-api/revisions/73ad742aa630?raw)
