IBM Cloud Kubernetes Ingress Secret API

The ingress-secret API from IBM Cloud Kubernetes — 7 operation(s) for ingress-secret.

GitHub OpenAPI

Operations 7

POST /ingress/v2/secret/addField Add fields to an Ingress secret with a secret stored in IBM Cloud Secrets… #
POST /ingress/v2/secret/createSecret Create an Ingress secret with a secret stored in IBM Cloud Secrets Manager #
POST /ingress/v2/secret/deleteSecret Delete an Ingress secret from the cluster #
GET /ingress/v2/secret/getSecret View Ingress secret details #
GET /ingress/v2/secret/getSecrets View Ingress secrets for a cluster #
POST /ingress/v2/secret/removeField Remove fields from an Ingress secret with a secret stored in IBM Cloud Secrets… #
POST /ingress/v2/secret/updateSecret Update an Ingress secret with a secret stored in IBM Cloud Secrets Manager #

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/ibm-cloud-kubernetes:ibm-cloud-kubernetes-ingress-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

ibm-cloud-kubernetes-ingress-secret-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Ibm Cloud Kubernetes Ingress Secret API
  version: '1.1'
  description: 'Operations tagged ingress-secret across 2 of this provider''s published API definitions: ibm-cloud-kubernetes-swagger.json, ibm-cloud-kubernetes-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: /global
- url: https://containers.cloud.ibm.com/global
tags:
- name: ingress-secret
paths:
  /ingress/v2/secret/addField:
    post:
      description: Add fields to an Ingress secret with a secret stored in IBM Cloud Secrets Manager.
      tags:
      - ingress-secret
      summary: Add fields to an Ingress secret with a secret stored in IBM Cloud Secrets…
      operationId: AddSecretField
      parameters:
      - description: Your IBM Cloud Identity and Access Management (IAM) token. To retrieve your IAM token, run `ibmcloud iam oauth-tokens`.
        name: Authorization
        in: header
        required: true
        schema:
          type: string
      responses:
        '201':
          description: Updated. The fields were successfully added to the secret in the cluster.
          headers:
            X-Request-Id:
              description: Unique ID for this request
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Secret'
        '400':
          description: Bad request. The input parameters in the request body are either incomplete or in the wrong format. Be sure to include all required parameters in your request in JSON format.
          headers:
            X-Request-Id:
              description: Unique ID for this request
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Unauthorized. The IAM token is invalid or expired. To retrieve your IAM token, run `ibmcloud login` and then `ibmcloud iam oauth-tokens`.
          headers:
            X-Request-Id:
              description: Unique ID for this request
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Internal Server Error. IBM Cloud Kubernetes Service is currently unavailable. Your request could not be processed. Please wait a few minutes and try again. If you still encounter this problem, note the incident ID and contact IBM Cloud support.
          headers:
            X-Request-Id:
              description: Unique ID for this request
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateConfig'
        description: Input parameter to add a secret field.
        required: true
    servers:
    - url: /global
  /ingress/v2/secret/createSecret:
    post:
      description: Create an Ingress secret with a secret stored in IBM Cloud Secrets Manager.
      tags:
      - ingress-secret
      summary: Create an Ingress secret with a secret stored in IBM Cloud Secrets Manager
      operationId: CreateSecret
      parameters:
      - description: Your IBM Cloud Identity and Access Management (IAM) token. To retrieve your IAM token, run `ibmcloud iam oauth-tokens`.
        name: Authorization
        in: header
        required: true
        schema:
          type: string
      responses:
        '201':
          description: Created. The secret was successfully created in the cluster.
          headers:
            X-Request-Id:
              description: Unique ID for this request
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Secret'
        '400':
          description: Bad request. The input parameters in the request body are either incomplete or in the wrong format. Be sure to include all required parameters in your request in JSON format.
          headers:
            X-Request-Id:
              description: Unique ID for this request
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Unauthorized. The IAM token is invalid or expired. To retrieve your IAM token, run `ibmcloud login` and then `ibmcloud iam oauth-tokens`.
          headers:
            X-Request-Id:
              description: Unique ID for this request
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Internal Server Error. IBM Cloud Kubernetes Service is currently unavailable. Your request could not be processed. Please wait a few minutes and try again. If you still encounter this problem, note the incident ID and contact IBM Cloud support.
          headers:
            X-Request-Id:
              description: Unique ID for this request
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateConfig'
        description: Input parameter to add a secret.
        required: true
    servers:
    - url: /global
  /ingress/v2/secret/deleteSecret:
    post:
      description: Delete an Ingress secret from the cluster.
      tags:
      - ingress-secret
      summary: Delete an Ingress secret from the cluster
      operationId: DeleteIngressSecret
      parameters:
      - description: Your IBM Cloud Identity and Access Management (IAM) token. To retrieve your IAM token, run `ibmcloud iam oauth-tokens`.
        name: Authorization
        in: header
        required: true
        schema:
          type: string
      responses:
        '204':
          description: Deleted. The secret was successfully deleted from the cluster.
          headers:
            X-Request-Id:
              description: Unique ID for this request
              schema:
                type: string
        '400':
          description: Bad request. The input parameters in the request body are either incomplete or in the wrong format. Be sure to include all required parameters in your request in JSON format.
          headers:
            X-Request-Id:
              description: Unique ID for this request
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Unauthorized. The IAM token is invalid or expired. To retrieve your IAM token, run `ibmcloud login` and then `ibmcloud iam oauth-tokens`.
          headers:
            X-Request-Id:
              description: Unique ID for this request
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Internal Server Error. IBM Cloud Kubernetes Service is currently unavailable. Your request could not be processed. Please wait a few minutes and try again. If you still encounter this problem, note the incident ID and contact IBM Cloud support.
          headers:
            X-Request-Id:
              description: Unique ID for this request
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DeleteConfig'
        description: Input parameter to add a secret.
        required: true
    servers:
    - url: /global
  /ingress/v2/secret/getSecret:
    get:
      description: View Ingress secret details.
      tags:
      - ingress-secret
      summary: View Ingress secret details
      operationId: GetSecret
      parameters:
      - description: Your IBM Cloud Identity and Access Management (IAM) token. To retrieve your IAM token, run `ibmcloud iam oauth-tokens`.
        name: Authorization
        in: header
        required: true
        schema:
          type: string
      - description: The name or ID of the cluster that you want information about. To list the clusters that you have access to, use the `GET /v1/clusters` API or run `ibmcloud ks cluster ls`.
        name: cluster
        in: query
        required: true
        schema:
          type: string
      - description: The name of the secret that you want information about. To list the secrets that you have access to, use the `GET /ingress/v2/secret/getSecrets` API or run `ibmcloud ks ingress secret ls`.
        name: name
        in: query
        required: true
        schema:
          type: string
      - description: The namespace of the secret that you want information about. To list the secrets that you have access to, use the `GET /ingress/v2/secret/getSecrets` API or run `ibmcloud ks ingress secret ls`.
        name: namespace
        in: query
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Ok. Detailed information about the secret is returned.
          headers:
            X-Request-Id:
              description: Unique ID for this request
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Secret'
        '401':
          description: Unauthorized. The IAM token is invalid or expired. To retrieve your IAM token, run `ibmcloud login` and then `ibmcloud iam oauth-tokens`.
          headers:
            X-Request-Id:
              description: Unique ID for this request
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found. The specified cluster could not be found. To list the clusters that you have access to, use the `GET /v1/clusters` API or run `ibmcloud ks cluster ls`.
          headers:
            X-Request-Id:
              description: Unique ID for this request
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Internal Server Error. IBM Cloud Kubernetes Service is currently unavailable. Your request could not be processed. Please wait a few minutes and try again. If you still encounter this problem, note the incident ID and contact IBM Cloud support.
          headers:
            X-Request-Id:
              description: Unique ID for this request
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    servers:
    - url: /global
  /ingress/v2/secret/getSecrets:
    get:
      description: View Ingress secrets for a cluster.
      tags:
      - ingress-secret
      summary: View Ingress secrets for a cluster
      operationId: GetSecrets
      parameters:
      - description: Your IBM Cloud Identity and Access Management (IAM) token. To retrieve your IAM token, run `ibmcloud iam oauth-tokens`.
        name: Authorization
        in: header
        required: true
        schema:
          type: string
      - description: The name or ID of the cluster that you want information about. To list the clusters that you have access to, use the `GET /v1/clusters` API or run `ibmcloud ks cluster ls`.
        name: cluster
        in: query
        required: true
        schema:
          type: string
      - description: To view previously deleted secrets, pass `true`.
        name: showDeleted
        in: query
        schema:
          type: string
      responses:
        '200':
          description: Ok. The list of available Ingress secrets is returned.
          headers:
            X-Request-Id:
              description: Unique ID for this request
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Secrets'
        '401':
          description: Unauthorized. The IAM token is invalid or expired. To retrieve your IAM token, run `ibmcloud login` and then `ibmcloud iam oauth-tokens`.
          headers:
            X-Request-Id:
              description: Unique ID for this request
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found. The specified cluster could not be found. To list the clusters that you have access to, use the `GET /v1/clusters` API or run `ibmcloud ks cluster ls`.
          headers:
            X-Request-Id:
              description: Unique ID for this request
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Internal Server Error. IBM Cloud Kubernetes Service is currently unavailable. Your request could not be processed. Please wait a few minutes and try again. If you still encounter this problem, note the incident ID and contact IBM Cloud support.
          headers:
            X-Request-Id:
              description: Unique ID for this request
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    servers:
    - url: /global
  /ingress/v2/secret/removeField:
    post:
      description: Remove fields from an Ingress secret with a secret stored in IBM Cloud Secrets Manager.
      tags:
      - ingress-secret
      summary: Remove fields from an Ingress secret with a secret stored in IBM Cloud Secrets…
      operationId: RemoveSecretField
      parameters:
      - description: Your IBM Cloud Identity and Access Management (IAM) token. To retrieve your IAM token, run `ibmcloud iam oauth-tokens`.
        name: Authorization
        in: header
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Updated. The fields were successfully removed from the secret in the cluster.
          headers:
            X-Request-Id:
              description: Unique ID for this request
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Secret'
        '400':
          description: Bad request. The input parameters in the request body are either incomplete or in the wrong format. Be sure to include all required parameters in your request in JSON format.
          headers:
            X-Request-Id:
              description: Unique ID for this request
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Unauthorized. The IAM token is invalid or expired. To retrieve your IAM token, run `ibmcloud login` and then `ibmcloud iam oauth-tokens`.
          headers:
            X-Request-Id:
              description: Unique ID for this request
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Internal Server Error. IBM Cloud Kubernetes Service is currently unavailable. Your request could not be processed. Please wait a few minutes and try again. If you still encounter this problem, note the incident ID and contact IBM Cloud support.
          headers:
            X-Request-Id:
              description: Unique ID for this request
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateConfig'
        description: Remove input parameter to remove a secret field.
        required: true
    servers:
    - url: /global
  /ingress/v2/secret/updateSecret:
    post:
      description: Update an Ingress secret with a secret stored in IBM Cloud Secrets Manager.
      tags:
      - ingress-secret
      summary: Update an Ingress secret with a secret stored in IBM Cloud Secrets Manager
      operationId: UpdateSecret
      parameters:
      - description: Your IBM Cloud Identity and Access Management (IAM) token. To retrieve your IAM token, run `ibmcloud iam oauth-tokens`.
        name: Authorization
        in: header
        required: true
        schema:
          type: string
      responses:
        '201':
          description: Created. The secret was successfully created in the cluster.
          headers:
            X-Request-Id:
              description: Unique ID for this request
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Secret'
        '400':
          description: Bad request. The input parameters in the request body are either incomplete or in the wrong format. Be sure to include all required parameters in your request in JSON format.
          headers:
            X-Request-Id:
              description: Unique ID for this request
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Unauthorized. The IAM token is invalid or expired. To retrieve your IAM token, run `ibmcloud login` and then `ibmcloud iam oauth-tokens`.
          headers:
            X-Request-Id:
              description: Unique ID for this request
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Internal Server Error. IBM Cloud Kubernetes Service is currently unavailable. Your request could not be processed. Please wait a few minutes and try again. If you still encounter this problem, note the incident ID and contact IBM Cloud support.
          headers:
            X-Request-Id:
              description: Unique ID for this request
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateConfig'
        description: Input parameter to add a secret.
        required: true
    servers:
    - url: /global
components:
  schemas:
    UpdateConfig:
      description: UpdateConfig the secret update request
      type: object
      properties:
        add:
          type: array
          items:
            $ref: '#/components/schemas/FieldAdd'
          x-go-name: FieldsToAdd
        cluster:
          type: string
          x-go-name: Cluster
        crn:
          type: string
          x-go-name: CRN
        name:
          type: string
          x-go-name: Name
        namespace:
          type: string
          x-go-name: Namespace
        remove:
          type: array
          items:
            $ref: '#/components/schemas/FieldRemove'
          x-go-name: FieldsToRemove
      x-go-package: github.ibm.com/alchemy-containers/armada-dns-model/v2/secret
    Field:
      description: Field struct holding details for a single secret field
      type: object
      properties:
        crn:
          type: string
          x-go-name: CRN
        expiresOn:
          type: string
          x-go-name: ExpiresOn
        lastUpdatedTimestamp:
          type: string
          x-go-name: LastUpdatedTimestamp
        name:
          type: string
          x-go-name: Name
        secretType:
          type: string
          x-go-name: SecretType
      x-go-package: github.ibm.com/alchemy-containers/armada-dns-model/v2/secret
    Secret:
      description: Secret struct holding details for a single secret
      type: object
      properties:
        cluster:
          type: string
          x-go-name: Cluster
        crn:
          type: string
          x-go-name: CRN
        domain:
          description: 'deprecated: use "Domains" instead'
          type: string
          x-go-name: Domain
        domains:
          type: array
          items:
            type: string
          x-go-name: Domains
        expiresOn:
          type: string
          x-go-name: ExpiresOn
        fields:
          $ref: '#/components/schemas/Fields'
        lastUpdatedTimestamp:
          type: string
          x-go-name: LastUpdatedTimestamp
        name:
          type: string
          x-go-name: Name
        namespace:
          type: string
          x-go-name: Namespace
        persistence:
          type: boolean
          x-go-name: Persistence
        secretType:
          type: string
          x-go-name: SecretType
        status:
          type: string
          x-go-name: Status
        type:
          type: string
          x-go-name: Type
        userManaged:
          type: boolean
          x-go-name: UserManaged
      x-go-package: github.ibm.com/alchemy-containers/armada-dns-model/v2/secret
    CreateConfig:
      description: CreateConfig the secret create request
      type: object
      properties:
        add:
          type: array
          items:
            $ref: '#/components/schemas/FieldAdd'
          x-go-name: FieldsToAdd
        cluster:
          type: string
          x-go-name: Cluster
        crn:
          type: string
          x-go-name: CRN
        name:
          type: string
          x-go-name: Name
        namespace:
          type: string
          x-go-name: Namespace
        persistence:
          type: boolean
          x-go-name: Persistence
        type:
          type: string
          x-go-name: Type
      x-go-package: github.ibm.com/alchemy-containers/armada-dns-model/v2/secret
    Fields:
      description: Fields struct for a secret array
      type: array
      items:
        $ref: '#/components/schemas/Field'
      x-go-package: github.ibm.com/alchemy-containers/armada-dns-model/v2/secret
    ErrorResponse:
      description: ErrorResponse error response to end users
      type: object
      properties:
        code:
          type: string
          x-go-name: ID
        description:
          type: string
          x-go-name: Err
        incidentID:
          type: string
          x-go-name: ReqID
        recoveryCLI:
          type: string
          x-go-name: RecoveryCLI
        terseDescription:
          type: string
          x-go-name: TerseErr
        type:
          $ref: '#/components/schemas/ErrorType'
      x-go-package: github.ibm.com/alchemy-containers/armada-model/errors
    FieldRemove:
      description: FieldRemove the secret field remove request
      type: object
      properties:
        name:
          type: string
          x-go-name: Name
      x-go-package: github.ibm.com/alchemy-containers/armada-dns-model/v2/secret
    ErrorType:
      description: ErrorType error type
      type: string
      x-go-package: github.ibm.com/alchemy-containers/armada-model/errors
    FieldAdd:
      description: FieldAdd the secret field add request
      type: object
      properties:
        append_prefix:
          type: boolean
          x-go-name: AppendPrefix
        crn:
          type: string
          x-go-name: CRN
        name:
          type: string
          x-go-name: Name
      x-go-package: github.ibm.com/alchemy-containers/armada-dns-model/v2/secret
    DeleteConfig:
      description: DeleteConfig the instance delete request
      type: object
      properties:
        cluster:
          type: string
          x-go-name: Cluster
        name:
          type: string
          x-go-name: Name
      x-go-package: github.ibm.com/alchemy-containers/armada-dns-model/v2/instance
    Secrets:
      description: Secrets struct for a secret array
      type: array
      items:
        $ref: '#/components/schemas/Secret'
      x-go-package: github.ibm.com/alchemy-containers/armada-dns-model/v2/secret
x-refined-from:
- ibm-cloud-kubernetes-swagger.json
- ibm-cloud-kubernetes-openapi.yml