# Variable DockerRegistrySecretApi`Const`

DockerRegistrySecretApi: {
_defaultBasePath: undefined;
kubesubmitV4DockerRegistrySecretsCreate: (
body: BcknddockerRegistrySecretWithSensitiveDataRequest & {
name: BcknddockerRegistryNameComponent;
} & Record<string, any>,
headerParameters?: { Authorization?: string },
) => OpenApiRequestBuilder<BcknddockerRegistrySecretCreationResponse>;
kubesubmitV4DockerRegistrySecretsDelete: (
dockerRegistryName: string,
headerParameters?: { Authorization?: string },
) => OpenApiRequestBuilder<BcknddockerRegistrySecretDeletionResponse>;
kubesubmitV4DockerRegistrySecretsGet: (
dockerRegistryName: string,
headerParameters?: { Authorization?: string },
) => OpenApiRequestBuilder<BcknddockerRegistrySecretStatus>;
kubesubmitV4DockerRegistrySecretsPatch: (
dockerRegistryName: string,
body: BcknddockerRegistrySecretWithSensitiveDataRequest,
headerParameters?: { Authorization?: string },
) => OpenApiRequestBuilder<BcknddockerRegistrySecretModificationResponse>;
kubesubmitV4DockerRegistrySecretsQuery: (
queryParameters?: { $count?: boolean; $skip?: number; $top?: number },
headerParameters?: { Authorization?: string },
) => OpenApiRequestBuilder<BcknddockerRegistrySecretStatusResponse>;
}

Representation of the 'DockerRegistrySecretApi'. This API is part of the 'AI_CORE_API' service.

#### Type Declaration

- ##### _defaultBasePath: undefined

- ##### kubesubmitV4DockerRegistrySecretsCreate: (
  body: BcknddockerRegistrySecretWithSensitiveDataRequest & {
  name: BcknddockerRegistryNameComponent;
  } & Record<string, any>,
  headerParameters?: { Authorization?: string },
  ) => OpenApiRequestBuilder<BcknddockerRegistrySecretCreationResponse>

  Create a secret based on the configuration in the request body.

- ##### kubesubmitV4DockerRegistrySecretsDelete: (
  dockerRegistryName: string,
  headerParameters?: { Authorization?: string },
  ) => OpenApiRequestBuilder<BcknddockerRegistrySecretDeletionResponse>

  Delete a secret with the name of dockerRegistryName if it exists.

- ##### kubesubmitV4DockerRegistrySecretsGet: (
  dockerRegistryName: string,
  headerParameters?: { Authorization?: string },
  ) => OpenApiRequestBuilder<BcknddockerRegistrySecretStatus>

  Retrieve the stored secret metadata which matches the parameter dockerRegistryName. The base64 encoded field for the stored secret is not returned.

- ##### kubesubmitV4DockerRegistrySecretsPatch: (
  dockerRegistryName: string,
  body: BcknddockerRegistrySecretWithSensitiveDataRequest,
  headerParameters?: { Authorization?: string },
  ) => OpenApiRequestBuilder<BcknddockerRegistrySecretModificationResponse>

  Update a secret with name of dockerRegistryName if it exists.

- ##### kubesubmitV4DockerRegistrySecretsQuery: (
  queryParameters?: { $count?: boolean; $skip?: number; $top?: number },
  headerParameters?: { Authorization?: string },
  ) => OpenApiRequestBuilder<BcknddockerRegistrySecretStatusResponse>

  Retrieve a list of metadata of the stored secrets

  Copyright Ⓒ 2026 SAP SE or an SAP affiliate company. All rights reserved.

- Defined in packages/ai-api/dist/client/AI_CORE_API/docker-registry-secret-api.d.ts:7