# Variable ObjectStoreSecretApi`Const`

ObjectStoreSecretApi: {
_defaultBasePath: undefined;
kubesubmitV4ObjectStoreSecretsCreate: (
body: BckndobjectStoreSecretWithSensitiveDataRequestForPostCall,
headerParameters?: {
"AI-Resource-Group"?: string;
Authorization?: string;
},
) => OpenApiRequestBuilder<BckndobjectStoreSecretCreationResponse>;
kubesubmitV4ObjectStoreSecretsDelete: (
objectStoreName: string,
headerParameters?: {
"AI-Resource-Group"?: string;
Authorization?: string;
},
) => OpenApiRequestBuilder<BckndobjectStoreSecretDeletionResponse>;
kubesubmitV4ObjectStoreSecretsGet: (
objectStoreName: string,
headerParameters?: {
"AI-Resource-Group"?: string;
Authorization?: string;
},
) => OpenApiRequestBuilder<BckndobjectStoreSecretStatus>;
kubesubmitV4ObjectStoreSecretsPatch: (
objectStoreName: string,
body: BckndobjectStoreSecretWithSensitiveDataRequest,
headerParameters?: {
"AI-Resource-Group"?: string;
Authorization?: string;
},
) => OpenApiRequestBuilder<BckndobjectStoreSecretModificationResponse>;
kubesubmitV4ObjectStoreSecretsQuery: (
queryParameters?: { $count?: boolean; $skip?: number; $top?: number },
headerParameters?: {
"AI-Resource-Group"?: string;
Authorization?: string;
},
) => OpenApiRequestBuilder<BckndobjectStoreSecretStatusResponse>;
}

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

#### Type Declaration

- ##### _defaultBasePath: undefined

- ##### kubesubmitV4ObjectStoreSecretsCreate: (
  body: BckndobjectStoreSecretWithSensitiveDataRequestForPostCall,
  headerParameters?: { "AI-Resource-Group"?: string; Authorization?: string },
  ) => OpenApiRequestBuilder<BckndobjectStoreSecretCreationResponse>

  Create a secret based on the configuration in the request body

- ##### kubesubmitV4ObjectStoreSecretsDelete: (
  objectStoreName: string,
  headerParameters?: { "AI-Resource-Group"?: string; Authorization?: string },
  ) => OpenApiRequestBuilder<BckndobjectStoreSecretDeletionResponse>

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

- ##### kubesubmitV4ObjectStoreSecretsGet: (
  objectStoreName: string,
  headerParameters?: { "AI-Resource-Group"?: string; Authorization?: string },
  ) => OpenApiRequestBuilder<BckndobjectStoreSecretStatus>

  This retrieves the metadata of the stored secret which match the parameter objectStoreName. The fetched secret is constructed like objectStoreName-object-store-secret The base64 encoded field for the stored secret is not returned.

- ##### kubesubmitV4ObjectStoreSecretsPatch: (
  objectStoreName: string,
  body: BckndobjectStoreSecretWithSensitiveDataRequest,
  headerParameters?: { "AI-Resource-Group"?: string; Authorization?: string },
  ) => OpenApiRequestBuilder<BckndobjectStoreSecretModificationResponse>

  Update a secret with name of objectStoreName if it exists.

- ##### kubesubmitV4ObjectStoreSecretsQuery: (
  queryParameters?: { $count?: boolean; $skip?: number; $top?: number },
  headerParameters?: { "AI-Resource-Group"?: string; Authorization?: string },
  ) => OpenApiRequestBuilder<BckndobjectStoreSecretStatusResponse>

  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/object-store-secret-api.d.ts:7