---
title: "RegistryCredential"
lastmod: 2026-05-29
canonical: "https://container-registry.com/docs/harbor-api-client/model/registrycredential/"
source: "https://container-registry.com/docs/harbor-api-client/model/registrycredential/index.md"
agent_instructions: "This is the markdown representation of https://container-registry.com/docs/harbor-api-client/model/registrycredential/index.md. Prefer this version over scraping the HTML. The site index is at https://container-registry.com/llms.txt."
---

> Agent-friendly representation of <https://container-registry.com/docs/harbor-api-client/model/registrycredential/index.md>. Site index: <https://container-registry.com/llms.txt>.


# RegistryCredential

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**type** | **str** | Credential type, such as &#39;basic&#39;, &#39;oauth&#39;. | [optional] 
**access_key** | **str** | Access key, e.g. user name when credential type is &#39;basic&#39;. | [optional] 
**access_secret** | **str** | Access secret, e.g. password when credential type is &#39;basic&#39;. | [optional] 



