> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kibocommerce.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Secrets

> List secrets for a specific branch of a Kibo Hosted Headless application.
Returns secret names and metadata only. Values are excluded from the response contract.



## OpenAPI

````yaml /openapi/openapi_appdevelopement.json get /platform/appdev/headless-app/secrets/{branchName}
openapi: 3.0.1
info:
  description: |-
    <div id="overview_APPDEVELOPEMENT">
                <h2>APP DEVELOPMENT</h2>
                <p>The Applications API updates and retrieves details about the applications installed for your tenant. Use
                    the AuthTickets resource for applications resource to manage authentication tickets for your apps. For information about creating applications, see the <a href="/pages/applications-1a6c791">Application Development</a> guides.</p>
                <p>Use the<strong>App Auth Tickets</strong> resource to manage authentication tickets for your applications.</p>
                <p>Use the <strong>Filebased Package</strong> resource to download a file-based representation of the application definition to work on collaboratively with your team using your own source control process.</p>
                <p>Use the <strong>Package</strong> resource to manage the application packages and retrieve summaries.</p>
                <p>Use the <strong>Public Application</strong> resource to retrieve package metadata or application versions as well as manage package files.</p>
            </div>
  title: App Development
  version: 0.0.1
servers:
  - description: Kibo Base URL
    url: '{baseUrl}/api'
    variables:
      baseUrl:
        default: https://t1000000.sb.usc1.gcp.kibocommerce.com
        description: Base URL
security:
  - bearerAuth: []
paths:
  /platform/appdev/headless-app/secrets/{branchName}:
    get:
      tags:
        - HeadlessApp
      summary: Get Secrets
      description: >-
        List secrets for a specific branch of a Kibo Hosted Headless
        application.

        Returns secret names and metadata only. Values are excluded from the
        response contract.
      parameters:
        - description: The name of the branch to list secrets for
          in: path
          name: branchName
          required: true
          schema:
            type: string
        - description: limits which fields are returned in the response body
          in: query
          name: responseFields
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HeadlessSecretCollection'
            text/json:
              schema:
                $ref: '#/components/schemas/HeadlessSecretCollection'
            text/plain:
              schema:
                $ref: '#/components/schemas/HeadlessSecretCollection'
          description: OK
components:
  schemas:
    HeadlessSecretCollection:
      properties:
        items:
          items:
            $ref: '#/components/schemas/HeadlessSecret'
          nullable: true
          type: array
        totalCount:
          format: int32
          type: integer
      type: object
    HeadlessSecret:
      description: >-
        Read/list view of a headless secret: name and metadata only. This type
        intentionally has NO

        `Value` property — secret plaintext is never returned to clients, and
        the absence of the field

        makes that leak unrepresentable. Do not add a `Value` here; use
        Mozu.AppDev.Contracts.HeadlessSecretInput

        for writes.
      properties:
        lastModified:
          description: When the secret was last modified, if known.
          format: date-time
          nullable: true
          type: string
        name:
          description: The secret's name.
          nullable: true
          type: string
      type: object
  securitySchemes:
    bearerAuth:
      bearerFormat: JWT
      description: JWT Authorization header using the Bearer scheme.
      scheme: bearer
      type: http

````