---
updatedAt: 2026-08-21T16:12:58.000Z
agentTools:
  projectIndex: https://docs.rackspace.com/llms.txt
---

# List RegistryCredentials in a namespace

# OpenAPI definition

```json
{
  "openapi": "3.0.3",
  "info": {
    "title": "RackAI API",
    "description": "REST API for RackAI Custom Resources managed by the `rackai.rackspace.com` operator.\n\nMost requests are routed through the Kubernetes API server and authenticated\nwith a bearer token (service-account token or kubeconfig credential).\n\nOrganization management is the exception: tenants have no RBAC to edit the\n`Organization` custom resource directly, so those operations are served by the\norganizer service behind the Front Proxy and authenticated with an Auth0 OIDC\ntoken. See the **Organization** tag.\n\n**Base path:** `/apis/rackai.rackspace.com/v1alpha1`\n",
    "version": "v1alpha1",
    "contact": {
      "name": "Rackspace Spot Platform Engineering"
    }
  },
  "servers": [
    {
      "url": "https://{fqdn}/apis/rackai.rackspace.com/v1alpha1",
      "description": "API Server",
      "variables": {
        "fqdn": {
          "default": "localhost:6443",
          "description": "Fully-qualified domain name (and optional port) of the Front Proxy in front of the Kubernetes API server"
        }
      }
    }
  ],
  "security": [
    {
      "BearerToken": []
    }
  ],
  "tags": [
    {
      "name": "RegistryCredential",
      "description": "RegistryCredential is a namespaced resource carrying one Secret of one\npurpose (modelPull, license, imagePull). Each RegistryCredential carries\nexactly one Secret with exactly one purpose (Type); namespaces typically\nhold several. Referenced by Model's `spec.source.modelPullCredential` for\nweight fetching, and by ModelDeployment's `spec.licenseCredential` /\n`spec.imagePullCredentials` for runtime container needs."
    }
  ],
  "paths": {
    "/namespaces/{namespace}/registrycredentials": {
      "parameters": [
        {
          "$ref": "#/components/parameters/namespace"
        }
      ],
      "get": {
        "tags": [
          "RegistryCredential"
        ],
        "summary": "List RegistryCredentials in a namespace",
        "operationId": "listNamespacedRegistryCredential",
        "parameters": [
          {
            "$ref": "#/components/parameters/labelSelector"
          },
          {
            "$ref": "#/components/parameters/fieldSelector"
          },
          {
            "$ref": "#/components/parameters/limit"
          },
          {
            "$ref": "#/components/parameters/continue"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RegistryCredentialList"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "BearerToken": {
        "type": "http",
        "scheme": "bearer",
        "description": "Bearer token for the Kubernetes-extension API surface\n(`/apis/rackai.rackspace.com/v1alpha1/...`). Pass as\n`Authorization: Bearer <token>`.\n\nNote: for paths reached through the Front Proxy, the credential\npresented is an Auth0-issued OIDC bearer that the proxy validates\nand forwards to the upstream apiserver (which validates the same\ntoken via OIDC). A Kubernetes service-account token or kubeconfig\ncredential is what's typically used when hitting the apiserver\ndirectly (e.g. from inside the cluster).\n"
      }
    },
    "parameters": {
      "namespace": {
        "name": "namespace",
        "in": "path",
        "required": true,
        "description": "Kubernetes namespace of the resource.",
        "schema": {
          "type": "string"
        }
      },
      "labelSelector": {
        "name": "labelSelector",
        "in": "query",
        "required": false,
        "description": "Selector to restrict the list of returned objects by their labels.\nDefaults to everything.\n",
        "schema": {
          "type": "string"
        }
      },
      "fieldSelector": {
        "name": "fieldSelector",
        "in": "query",
        "required": false,
        "description": "Selector to restrict the list of returned objects by their fields.\nDefaults to everything.\n",
        "schema": {
          "type": "string"
        }
      },
      "limit": {
        "name": "limit",
        "in": "query",
        "required": false,
        "description": "Maximum number of responses to return for a list call.\nThe server may return fewer results than requested.\n",
        "schema": {
          "type": "integer",
          "minimum": 1
        }
      },
      "continue": {
        "name": "continue",
        "in": "query",
        "required": false,
        "description": "Opaque token returned by a previous list call to continue pagination.\n",
        "schema": {
          "type": "string"
        }
      }
    },
    "responses": {
      "Unauthorized": {
        "description": "Unauthorized — no or invalid bearer token provided."
      },
      "Forbidden": {
        "description": "Forbidden — the authenticated principal lacks permission."
      }
    },
    "schemas": {
      "RegistryCredential": {
        "description": "RegistryCredential is a namespaced resource carrying one Secret of one\npurpose (modelPull, license, imagePull). Each RegistryCredential carries\nexactly one Secret with exactly one purpose (Type); namespaces typically\nhold several. Referenced by Model's `spec.source.modelPullCredential` for\nweight fetching, and by ModelDeployment's `spec.licenseCredential` /\n`spec.imagePullCredentials` for runtime container needs.",
        "properties": {
          "apiVersion": {
            "description": "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
            "type": "string",
            "example": "rackai.rackspace.com/v1alpha1"
          },
          "kind": {
            "description": "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
            "type": "string",
            "example": "RegistryCredential"
          },
          "metadata": {
            "type": "object",
            "description": "metadata is a standard object metadata.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata",
            "example": {
              "name": "huggingface-token",
              "namespace": "org-idxxxxxxxxxx"
            }
          },
          "spec": {
            "description": "Spec defines the desired state of RegistryCredential.",
            "properties": {
              "description": {
                "description": "Description is a human-readable description of this resource.",
                "example": "HuggingFace organization token for the acme-corp team",
                "maxLength": 1024,
                "type": "string"
              },
              "displayName": {
                "description": "DisplayName is a short human-readable label for this resource. Distinct\nfrom metadata.name (which is the DNS-compatible identifier).",
                "example": "HuggingFace Org Token",
                "maxLength": 128,
                "type": "string"
              },
              "secret": {
                "description": "Secret is the name of the Secret in the same namespace carrying\nthe credential payload. Format and required keys depend on Type:\n  - modelPull → vendor-specific (e.g., HuggingFace: HF_TOKEN key;\n    AWS: AWS_ACCESS_KEY_ID / AWS_SECRET_ACCESS_KEY; etc.).\n  - license  → vendor-specific runtime license token (e.g., NVIDIA\n    NGC: NGC_API_KEY key).\n  - imagePull → Secret.type=kubernetes.io/dockerconfigjson.",
                "example": "hf-modelpull-token",
                "minLength": 1,
                "type": "string"
              },
              "type": {
                "description": "Type declares what this credential is for.",
                "enum": [
                  "modelPull",
                  "license",
                  "imagePull"
                ],
                "type": "string"
              }
            },
            "required": [
              "secret",
              "type"
            ],
            "type": "object"
          },
          "status": {
            "description": "Status defines the observed state of RegistryCredential.",
            "properties": {
              "conditions": {
                "description": "conditions represent the current state of the RegistryCredential resource.\nEach condition has a unique type and reflects the status of a specific aspect of the resource.\n\nThe status of each condition is one of True, False, or Unknown.",
                "items": {
                  "description": "Condition contains details for one aspect of the current state of this API Resource.",
                  "properties": {
                    "lastTransitionTime": {
                      "description": "lastTransitionTime is the last time the condition transitioned from one status to another.\nThis should be when the underlying condition changed.  If that is not known, then using the time when the API field changed is acceptable.",
                      "format": "date-time",
                      "type": "string"
                    },
                    "message": {
                      "description": "message is a human readable message indicating details about the transition.\nThis may be an empty string.",
                      "maxLength": 32768,
                      "type": "string"
                    },
                    "observedGeneration": {
                      "description": "observedGeneration represents the .metadata.generation that the condition was set based upon.\nFor instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date\nwith respect to the current state of the instance.",
                      "format": "int64",
                      "minimum": 0,
                      "type": "integer"
                    },
                    "reason": {
                      "description": "reason contains a programmatic identifier indicating the reason for the condition's last transition.\nProducers of specific condition types may define expected values and meanings for this field,\nand whether the values are considered a guaranteed API.\nThe value should be a CamelCase string.\nThis field may not be empty.",
                      "maxLength": 1024,
                      "minLength": 1,
                      "pattern": "^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$",
                      "type": "string"
                    },
                    "status": {
                      "description": "status of the condition, one of True, False, Unknown.",
                      "enum": [
                        "True",
                        "False",
                        "Unknown"
                      ],
                      "type": "string"
                    },
                    "type": {
                      "description": "type of condition in CamelCase or in foo.example.com/CamelCase.",
                      "maxLength": 316,
                      "pattern": "^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$",
                      "type": "string"
                    }
                  },
                  "required": [
                    "lastTransitionTime",
                    "message",
                    "reason",
                    "status",
                    "type"
                  ],
                  "type": "object"
                },
                "type": "array",
                "x-kubernetes-list-map-keys": [
                  "type"
                ],
                "x-kubernetes-list-type": "map"
              },
              "usedBy": {
                "description": "UsedBy is a list of consumer resource names that currently reference\nthis RegistryCredential. Consumers include Model (via\nspec.source.modelPullCredential) and ModelDeployment (via\nspec.licenseCredential and spec.imagePullCredentials).",
                "items": {
                  "type": "string"
                },
                "type": "array",
                "x-kubernetes-list-type": "set"
              }
            },
            "type": "object",
            "readOnly": true
          }
        },
        "required": [
          "spec"
        ],
        "type": "object"
      },
      "RegistryCredentialList": {
        "type": "object",
        "description": "RegistryCredentialList contains a list of RegistryCredential resources.",
        "required": [
          "items"
        ],
        "properties": {
          "apiVersion": {
            "type": "string",
            "example": "rackai.rackspace.com/v1alpha1"
          },
          "kind": {
            "type": "string",
            "example": "RegistryCredentialList"
          },
          "metadata": {
            "type": "object"
          },
          "items": {
            "type": "array",
            "description": "items is the list of RegistryCredential resources.",
            "items": {
              "$ref": "#/components/schemas/RegistryCredential"
            }
          }
        }
      }
    }
  }
}
```