---
title: "POST /v1/registry-credential"
method: POST
path: "/v1/registry-credential"
tags: ["registry-credential"]
---

# POST /v1/registry-credential

`POST /v1/registry-credential`

## Request

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

Create new registry credentials

## Request body

- 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

## Response `201`

A description of the new credentials

- RegistryCredentialSummary
  - `key` string, required: The lookup key for this credntial
  - `username` string, required: Username corresponding to this 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)
