SAP Business Technology Platform Docker Registry Secret API

Access to dockerRegistrySecrets

GitHub OpenAPI

Operations 5

GET /admin/dockerRegistrySecrets/{dockerRegistryName} Returns the of metadata of secrets which match the query parameter #
DELETE /admin/dockerRegistrySecrets/{dockerRegistryName} Delete docker registry secret #
PATCH /admin/dockerRegistrySecrets/{dockerRegistryName} Update a secret #
POST /admin/dockerRegistrySecrets Create a secret #
GET /admin/dockerRegistrySecrets Get a list of metadata of secrets #

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-docker-registry-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-docker-registry-secret-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Sap Btp Docker Registry Secret API
  version: 2.42.0
  description: 'Operations tagged Docker Registry 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: Docker Registry Secret
  description: Access to dockerRegistrySecrets
paths:
  /admin/dockerRegistrySecrets/{dockerRegistryName}:
    parameters:
    - $ref: '#/components/parameters/BcknddockerRegistryName'
    - $ref: '#/components/parameters/BckndtokenHeader'
    get:
      tags:
      - Docker Registry Secret
      summary: Returns the of metadata of secrets which match the query parameter
      description: Retrieve the stored secret metadata which matches the parameter dockerRegistryName. The base64 encoded field for the stored secret is not returned.
      operationId: kubesubmit.v4.docker_registry_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/BcknddockerRegistrySecretStatus'
        '400':
          $ref: '#/components/responses/BckndBadRequest'
        '404':
          $ref: '#/components/responses/BckndNotFound'
        default:
          $ref: '#/components/responses/BckndCommonError'
    delete:
      tags:
      - Docker Registry Secret
      summary: Delete docker registry secret
      description: Delete a secret with the name of dockerRegistryName if it exists.
      operationId: kubesubmit.v4.docker_registry_secrets.delete
      responses:
        '202':
          description: The request to delete the secret has been accepted.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BcknddockerRegistrySecretDeletionResponse'
        '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:
      - Docker Registry Secret
      summary: Update a secret
      description: Update a secret with name of dockerRegistryName if it exists.
      operationId: kubesubmit.v4.docker_registry_secrets.patch
      requestBody:
        required: true
        content:
          application/merge-patch+json:
            schema:
              $ref: '#/components/schemas/BcknddockerRegistrySecretWithSensitiveDataRequest'
      responses:
        '202':
          description: 'The request to update the secret based on the the given configuration has been accepted.

            '
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BcknddockerRegistrySecretModificationResponse'
        '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
  /admin/dockerRegistrySecrets:
    post:
      tags:
      - Docker Registry Secret
      summary: Create a secret
      description: Create a secret based on the configuration in the request body.
      operationId: kubesubmit.v4.docker_registry_secrets.create
      parameters:
      - $ref: '#/components/parameters/BckndtokenHeader'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/BcknddockerRegistrySecretWithSensitiveDataRequest'
              - type: object
                required:
                - name
                properties:
                  name:
                    $ref: '#/components/schemas/BcknddockerRegistryNameComponent'
      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/BcknddockerRegistrySecretCreationResponse'
        '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:
      - Docker Registry Secret
      summary: Get a list of metadata of secrets
      description: Retrieve a list of metadata of the stored secrets
      operationId: kubesubmit.v4.docker_registry_secrets.query
      parameters:
      - $ref: '#/components/parameters/Bckndtop'
      - $ref: '#/components/parameters/Bckndskip'
      - $ref: '#/components/parameters/Bckndcount'
      - $ref: '#/components/parameters/BckndtokenHeader'
      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/BcknddockerRegistrySecretStatusResponse'
        '400':
          $ref: '#/components/responses/BckndBadRequest'
        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:
    BcknddockerRegistrySecretDeletionResponse:
      type: object
      properties:
        id:
          $ref: '#/components/schemas/BckndId'
        message:
          $ref: '#/components/schemas/BcknddockerRegistrySecretDeletionResponseMessage'
      required:
      - id
      - message
    BckndErrorResponse:
      type: object
      properties:
        error:
          $ref: '#/components/schemas/BckndError'
    BcknddockerRegistrySecretModificationResponseMessage:
      type: string
      description: Message
      example: Secret has been modified
    BckndId:
      type: string
      pattern: ^[\w.-]{4,64}$
      example: aa97b177-9383-4934-8543-0f91a7a0283a
      description: Generic ID
    BcknddockerRegistrySecretStatusResponse:
      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/BcknddockerRegistrySecretStatus'
      required:
      - count
      - resources
    BcknddockerRegistryNameComponent:
      description: Name of the docker Registry store for the secret.
      type: string
      pattern: ^[a-z0-9](?:_?[a-z0-9\.\-]+)*[a-z0-9]$
      maxLength: 63
      example: mydockeregistry
    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
    BcknddockerRegistrySecretDeletionResponseMessage:
      type: string
      description: Message
      example: Docker Registry Secret has been deleted
    BcknddockerRegistrySecretModificationResponse:
      type: object
      properties:
        id:
          $ref: '#/components/schemas/BckndId'
        message:
          $ref: '#/components/schemas/BcknddockerRegistrySecretModificationResponseMessage'
      required:
      - id
      - message
    BcknddockerRegistrySecretCreationResponseMessage:
      type: string
      description: Message
      example: Secret has been created
    BcknddockerRegistrySecretStatus:
      type: object
      description: This represents the meta-data of a stored secret. The 'data' field of the secret is never retrieved.
      properties:
        name:
          description: Name of dockerRegistryStore
          type: string
          example: mydockeregistry
    BcknddockerRegistrySecretWithSensitiveDataRequest:
      type: object
      description: This represents all the meta-data and extra information to be stored as a k8-secret
      required:
      - data
      properties:
        data:
          type: object
          required:
          - .dockerconfigjson
          description: key:value pairs of data
          writeOnly: true
          additionalProperties: false
          properties:
            .dockerconfigjson:
              type: string
              description: .dockerconfigjson data
    BcknddockerRegistrySecretCreationResponse:
      type: object
      description: Message
      example: Created
      properties:
        message:
          $ref: '#/components/schemas/BcknddockerRegistrySecretCreationResponseMessage'
  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'
  parameters:
    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
    BcknddockerRegistryName:
      name: dockerRegistryName
      description: Name of the docker Registry store for the secret.
      in: path
      required: true
      schema:
        type: string
        pattern: ^[a-z0-9](?:_?[a-z0-9\.\-]+)*[a-z0-9]$
        maxLength: 63
      example: mydockeregistry
    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
  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.