SAP Business Technology Platform Object Store Secret API

Access to objectStoreSecrets

GitHub OpenAPI

Operations 5

POST /admin/objectStoreSecrets Create a secret #
GET /admin/objectStoreSecrets Get a list of metadata of available secrets #
GET /admin/objectStoreSecrets/{objectStoreName} Returns the of metadata of secrets which match the query parameter #
DELETE /admin/objectStoreSecrets/{objectStoreName} Delete object store secret #
PATCH /admin/objectStoreSecrets/{objectStoreName} Update object store secret #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/sap-btp:sap-btp-object-store-secret-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

sap-btp-object-store-secret-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Sap Btp Object Store Secret API
  version: 2.42.0
  description: 'Operations tagged Object Store Secret across 2 of this provider''s published API definitions: ai-core.yaml, sap-btp-ai-core-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.ai.{region}.ml.hana.ondemand.com/v2
  description: Production endpoint for SAP AI Core
  variables:
    region:
      enum:
      - prod.eu-central-1.aws
      - prodeuonly.eu-central-1.aws
      - prod.us-east-1.aws
      - prod.ap-northeast-1.aws
      - prod-ap11.ap-southeast-1.aws
      - prod-ap20.australiaeast.azure
      - prod.ap-southeast-2.aws
      - prod-eu20.westeurope.azure
      - prod-ap30.australia-southeast1.gcp
      - prod-in30.asia-south1.gcp
      - prod-sa30.me-central2.gcp
      - prod-us21.eastus.azure
      - prod-eu30.europe-west3.gcp
      - prod-us30.us-central1.gcp
      - prod-br10.sa-east-1.aws
      default: prod.eu-central-1.aws
security:
- Oauth2: []
tags:
- name: Object Store Secret
  description: Access to objectStoreSecrets
paths:
  /admin/objectStoreSecrets:
    post:
      tags:
      - Object Store Secret
      summary: Create a secret
      description: Create a secret based on the configuration in the request body
      operationId: kubesubmit.v4.object_store_secrets.create
      parameters:
      - $ref: '#/components/parameters/BckndtokenHeader'
      - $ref: '#/components/parameters/Bckndai-resource-group-default'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BckndobjectStoreSecretWithSensitiveDataRequestForPostCall'
      responses:
        '202':
          description: 'The request to create a k8s secret based on the given configuration has been accepted.

            '
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BckndobjectStoreSecretCreationResponse'
        '400':
          description: 'One of the following failure cases has occurred: <ul> <li> Neither JSON nor YAML was able to be parsed. <li> The request was invalidly formatted

            '
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BckndErrorResponse'
        default:
          $ref: '#/components/responses/BckndCommonError'
    get:
      tags:
      - Object Store Secret
      summary: Get a list of metadata of available secrets
      description: Retrieve a list of metadata of the stored secrets.
      operationId: kubesubmit.v4.object_store_secrets.query
      parameters:
      - $ref: '#/components/parameters/Bckndtop'
      - $ref: '#/components/parameters/Bckndskip'
      - $ref: '#/components/parameters/Bckndcount'
      - $ref: '#/components/parameters/BckndtokenHeader'
      - $ref: '#/components/parameters/Bckndai-resource-group-default'
      responses:
        '200':
          description: The request was successful and the requested metadata for the secret will be returned. This includes a list of attributes of the stored secret like - creationTimestamp, namespace etc. The secret's data field is not returned.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BckndobjectStoreSecretStatusResponse'
        '400':
          $ref: '#/components/responses/BckndBadRequest'
        '404':
          $ref: '#/components/responses/BckndNotFound'
        default:
          $ref: '#/components/responses/BckndCommonError'
    servers:
    - url: https://api.ai.{region}.ml.hana.ondemand.com/v2
      description: Production endpoint for SAP AI Core
      variables:
        region:
          enum:
          - prod.eu-central-1.aws
          - prodeuonly.eu-central-1.aws
          - prod.us-east-1.aws
          - prod.ap-northeast-1.aws
          - prod-ap11.ap-southeast-1.aws
          - prod-ap20.australiaeast.azure
          - prod.ap-southeast-2.aws
          - prod-eu20.westeurope.azure
          - prod-ap30.australia-southeast1.gcp
          - prod-in30.asia-south1.gcp
          - prod-sa30.me-central2.gcp
          - prod-us21.eastus.azure
          - prod-eu30.europe-west3.gcp
          - prod-us30.us-central1.gcp
          - prod-br10.sa-east-1.aws
          default: prod.eu-central-1.aws
  /admin/objectStoreSecrets/{objectStoreName}:
    parameters:
    - $ref: '#/components/parameters/BckndobjectStoreName'
    - $ref: '#/components/parameters/BckndtokenHeader'
    - $ref: '#/components/parameters/Bckndai-resource-group-default'
    get:
      tags:
      - Object Store Secret
      summary: Returns the of metadata of secrets which match the query parameter
      description: '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.'
      operationId: kubesubmit.v4.object_store_secrets.get
      responses:
        '200':
          description: The request was processed successfully and the metadata of the of stored secrets wil be returned.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BckndobjectStoreSecretStatus'
        '400':
          $ref: '#/components/responses/BckndBadRequest'
        '404':
          $ref: '#/components/responses/BckndNotFound'
        default:
          $ref: '#/components/responses/BckndCommonError'
    delete:
      tags:
      - Object Store Secret
      summary: Delete object store secret
      description: Delete a secret with the name of objectStoreName if it exists.
      operationId: kubesubmit.v4.object_store_secrets.delete
      responses:
        '202':
          description: The request to delete the secret has been accepted.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BckndobjectStoreSecretDeletionResponse'
        '404':
          $ref: '#/components/responses/BckndNotFound'
        '400':
          description: The request was malformed and could thus not be processed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BckndErrorResponse'
        default:
          $ref: '#/components/responses/BckndCommonError'
    patch:
      tags:
      - Object Store Secret
      summary: Update object store secret
      description: Update a secret with name of objectStoreName if it exists.
      operationId: kubesubmit.v4.object_store_secrets.patch
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BckndobjectStoreSecretWithSensitiveDataRequest'
      responses:
        '202':
          description: 'The request to update the secret based on the given configuration has been accepted.

            '
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BckndobjectStoreSecretModificationResponse'
        '404':
          $ref: '#/components/responses/BckndNotFound'
        '400':
          description: The request was malformed and could thus not be processed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BckndErrorResponse'
        default:
          $ref: '#/components/responses/BckndCommonError'
    servers:
    - url: https://api.ai.{region}.ml.hana.ondemand.com/v2
      description: Production endpoint for SAP AI Core
      variables:
        region:
          enum:
          - prod.eu-central-1.aws
          - prodeuonly.eu-central-1.aws
          - prod.us-east-1.aws
          - prod.ap-northeast-1.aws
          - prod-ap11.ap-southeast-1.aws
          - prod-ap20.australiaeast.azure
          - prod.ap-southeast-2.aws
          - prod-eu20.westeurope.azure
          - prod-ap30.australia-southeast1.gcp
          - prod-in30.asia-south1.gcp
          - prod-sa30.me-central2.gcp
          - prod-us21.eastus.azure
          - prod-eu30.europe-west3.gcp
          - prod-us30.us-central1.gcp
          - prod-br10.sa-east-1.aws
          default: prod.eu-central-1.aws
components:
  schemas:
    BckndobjectStoreSecretWithSensitiveDataRequestForPostCall:
      type: object
      description: This represents all the meta-data and extra information to be stored as a k8-secret
      required:
      - name
      - type
      - data
      properties:
        name:
          type: string
          pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
          maxLength: 233
          description: Name of the object store for the secret object to be created. Can be used later on check for existence of the secret.
          example: myobjectstore
        type:
          type: string
          description: Storage type e.g. S3, GCS,...
          example: S3
        bucket:
          type: string
          description: Bucket to be used
          example: mybucket1
        endpoint:
          type: string
          description: Optional parameter - URL of the storage server (S3 only)
          example: www.example.com
        region:
          type: string
          description: Optional parameter - Region of the storage server (S3 only)
          example: eu
        pathPrefix:
          type: string
          description: prefix folder to be added to storage path
          example: mp-api
        verifyssl:
          type: string
          description: 0, 1 flag for the KF-serving annotation - serving.kubeflow.org/s3-verifyssl
          example: '0'
        usehttps:
          type: string
          description: 0, 1 flag for KF-serving annotations - serving.kubeflow.org/s3-usehttps
          example: '1'
          default: '1'
        data:
          type: object
          description: key:value pairs of data
          writeOnly: true
    BckndobjectStoreSecretWithSensitiveDataRequest:
      type: object
      description: This represents all the meta-data and extra information to be stored as a k8-secret
      required:
      - name
      - type
      - data
      properties:
        name:
          type: string
          description: Name of the object store for the secret object to be created. Can be used later on check for existence of the secret.
          example: myobjectstore
        type:
          type: string
          description: Storage type e.g. S3, GCS,...
          example: S3
        bucket:
          type: string
          description: Bucket to be used
          example: mybucket1
        endpoint:
          type: string
          description: Optional parameter - URL of the storage server (S3 only)
          example: www.example.com
        region:
          type: string
          description: Optional parameter - Region of the storage server (S3 only)
          example: eu
        pathPrefix:
          type: string
          description: prefix folder to be added to storage path
          example: mp-api
        verifyssl:
          type: string
          description: 0, 1 flag for the KF-serving annotation - serving.kubeflow.org/s3-verifyssl
          example: '0'
        usehttps:
          type: string
          description: 0, 1 flag for KF-serving annotations - serving.kubeflow.org/s3-usehttps
          example: '1'
          default: '1'
        data:
          type: object
          description: key:value pairs of data
          writeOnly: true
    BckndobjectStoreSecretModificationResponse:
      type: object
      properties:
        id:
          $ref: '#/components/schemas/BckndId'
        message:
          $ref: '#/components/schemas/BckndobjectStoreSecretModificationResponseMessage'
      required:
      - id
      - message
    BckndErrorResponse:
      type: object
      properties:
        error:
          $ref: '#/components/schemas/BckndError'
    BckndobjectStoreSecretCreationResponseMessage:
      type: string
      description: Message
      example: Secret has been created
    BckndobjectStoreSecretStatusResponse:
      description: This represents a list of meta-data of a stored secret. The 'data' field of the secret is never retrieved.
      type: object
      properties:
        count:
          type: integer
          description: Number of the resource instances in the list
        resources:
          type: array
          items:
            $ref: '#/components/schemas/BckndobjectStoreSecretStatus'
      required:
      - count
      - resources
    BckndobjectStoreSecretDeletionResponseMessage:
      type: string
      description: Message
      example: Object Store Secret has been deleted
    BckndId:
      type: string
      pattern: ^[\w.-]{4,64}$
      example: aa97b177-9383-4934-8543-0f91a7a0283a
      description: Generic ID
    BckndobjectStoreSecretDeletionResponse:
      type: object
      properties:
        id:
          $ref: '#/components/schemas/BckndId'
        message:
          $ref: '#/components/schemas/BckndobjectStoreSecretDeletionResponseMessage'
      required:
      - id
      - message
    BckndobjectStoreSecretStatus:
      type: object
      description: This represents the meta-data of a stored secret. The 'data' field of the secret is never retrieved.
      properties:
        metadata:
          description: Key value pairs of meta-data assigned to the secret when the secret was being created.
          type: object
          properties:
            serving.kubeflow.org/s3-usehttps:
              type: string
              description: 0 and 1 values for setting the flag
              example: '1'
            serving.kubeflow.org/s3-verifyssl:
              type: string
              description: 0 and 1 values for setting the flag
              example: '0'
            serving.kubeflow.org/s3-endpoint:
              type: string
              description: Annotation for endpoint required by KF_Serving
              example: some_endpoint
            serving.kubeflow.org/s3-region:
              type: string
              description: Annotation for region required by KF_Serving
              example: EU
            storage.ai.sap.com/type:
              type: string
              description: Storage type of the secret
              example: S3
            storage.ai.sap.com/bucket:
              type: string
              description: bucket assigned to the secret on creation
              example: my_bucket
            storage.ai.sap.com/endpoint:
              type: string
              description: Endpoint assigned to the secret on creation
              example: some_endpoint
            storage.ai.sap.com/region:
              type: string
              description: Region of the storage server
              example: EU
            storage.ai.sap.com/pathPrefix:
              type: string
              description: Pathprefix type assigned to the secret on creation.
              example: mnist_folder
            storage.ai.sap.com/hdfsNameNode:
              type: string
              description: name node of the HDFS file system
              example: https://c3272xxxxxfa8f.files.hdl.canary-eu10.hanacloud.ondemand.com
            storage.ai.sap.com/headers:
              type: string
              description: headers for webHDFS and other protocols
              example: '{"x-sap-filecontainer": "c32727xxxxxxx322dcfa8f"}'
            storage.ai.sap.com/containerUri:
              type: string
              description: container uri of azure storage
              example: https://sapcv842awjkfb2.blob.core.windows.net/sapcp-osaas-xxx-xxxx-xxxx-xxxx-xxxx-zrs
            storage.ai.sap.com/subscriptionId:
              type: string
              description: subscription id
              example: dgewg2-gkrwnegiw
            storage.ai.sap.com/tenantId:
              type: string
              description: tenant id
              example: dawd2120-dadwad2
            storage.ai.sap.com/projectId:
              type: string
              description: project id of google cloud platform
              example: sap-gcp-oaas-us31-1
        name:
          description: Name of objectstore
          type: string
          example: myobjectstore-object-store-secret
    BckndError:
      type: object
      required:
      - code
      - message
      properties:
        code:
          type: string
          description: Descriptive error code (not http status code)
        message:
          type: string
          description: Plaintext error description
          example: something went wrong
        requestId:
          type: string
          description: ID of the individual request
        target:
          type: string
          description: Invoked URL
        details:
          description: Optional details of the error message
          type: object
    BckndobjectStoreSecretModificationResponseMessage:
      type: string
      description: Message
      example: Secret has been modified
    BckndobjectStoreSecretCreationResponse:
      type: object
      description: Message
      example: Created
      properties:
        message:
          $ref: '#/components/schemas/BckndobjectStoreSecretCreationResponseMessage'
  parameters:
    Bckndai-resource-group-default:
      name: AI-Resource-Group
      in: header
      description: Specify an existing resource group id to use. Uses "default" if value not provided.
      required: false
      schema:
        type: string
        default: default
    BckndtokenHeader:
      name: Authorization
      in: header
      description: Authorization bearer token containing a JWT token.
      required: false
      schema:
        type: string
    Bckndcount:
      name: $count
      description: When the $count field is set to false, the response contains a count of the items present in the response. When the $count field is set to true, the response contains a count of all the items present on the server, and not just the ones in the response. When the $count field is not passed, it is false by default.
      in: query
      required: false
      schema:
        type: boolean
      example: true
    Bckndtop:
      name: $top
      description: Number of results to display
      in: query
      required: false
      schema:
        type: integer
        minimum: 0
      example: 10
    BckndobjectStoreName:
      name: objectStoreName
      description: Name of the object store for the secret.
      in: path
      required: true
      schema:
        type: string
        pattern: ^[a-zA-Z0-9\.\-_]+$
      example: My_objectStore
    Bckndskip:
      name: $skip
      description: Number of results to be skipped from the ordered list of results
      in: query
      required: false
      schema:
        type: integer
        minimum: 0
      example: 10
  responses:
    BckndNotFound:
      description: The specified resource was not found
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/BckndErrorResponse'
    BckndCommonError:
      description: HTTP status codes 401, 403 or 500. Response body contains further details.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/BckndErrorResponse'
    BckndBadRequest:
      description: The request was malformed and could thus not be processed.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/BckndErrorResponse'
  securitySchemes:
    Oauth2:
      type: oauth2
      description: OAuth client credentials (client ID and secret) are required. These can be requested from SAP BTP cloud cockpit.
      flows:
        clientCredentials:
          tokenUrl: https://{subdomain_identity_zone}.authentication.{host}/oauth/token
          scopes: {}
externalDocs:
  description: Documentation for SAP AI Core
  url: https://help.sap.com/docs/AI_CORE?version=CLOUD
x-refined-from:
- ai-core.yaml
- sap-btp-ai-core-openapi.yml
x-sap-shortText: Create and manage AI scenarios, trainings, deployments, and artifacts in SAP AI Core.