---
title: "Retrieve registry credentials by key"
method: GET
path: "/v1/registry-credential/{key}"
tags: ["registry-credential"]
---

# Retrieve registry credentials by key

`GET /v1/registry-credential/{key}`

## Request

- Base URL: `https://api.octoai.cloud`
- URL: `https://api.octoai.cloud/v1/registry-credential/{key}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/octoml/apis/octoai-api/docs/v1/registry-credential/:key/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `key` string, required

## Response `200`

A description of the registry credential

- RegistryCredential
  - `key` string, required: The lookup key for this credential
  - `username` string, required: Username corresponding to this credential
  - `password` string, required: The password for the credential

---

[API](https://skmtc.dev/octoml/apis/octoai-api.md) - [All operations](https://skmtc.dev/octoml/apis/octoai-api/llms.txt) - [OpenAPI document](https://skmtc.dev/octoml/apis/octoai-api/revisions/ff4ad53097bc?raw)
