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

# List

> List all Secrets owned by account




## OpenAPI

````yaml https://raw.githubusercontent.com/ngrok/ngrok-openapi/refs/heads/main/ngrok.yaml get /vault_secrets
openapi: 3.0.0
info:
  title: ngrok OpenAPI
  version: 1.0.0
servers:
  - url: https://api.ngrok.com
security:
  - authentication: []
paths:
  /vault_secrets:
    get:
      tags:
        - Secrets
      summary: List
      description: |
        List all Secrets owned by account
      operationId: SecretsList
      parameters:
        - $ref: '#/components/parameters/ngrokVersion'
        - name: before_id
          description: >
            Expects a resource ID as its input. Returns earlier entries in the
            result set, sorted by ID.
          in: query
          required: false
          schema:
            type: string
        - name: limit
          description: >
            Constrains the number of results in the dataset. See the [API
            Overview](https://ngrok.com/docs/api/index#pagination) for details.
          in: query
          required: false
          schema:
            type: string
        - name: filter
          description: >
            A CEL expression to filter the list results. Supports logical and
            comparison operators to match on fields such as `id`, `metadata`,
            `created_at`, and more. See ngrok API Filtering for syntax and field
            details: https://ngrok.com/docs/api/api-filtering.
          in: query
          required: false
          schema:
            type: string
      responses:
        '200':
          description: |
            List all Secrets owned by account
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SecretList'
components:
  parameters:
    ngrokVersion:
      name: ngrok-version
      in: header
      required: true
      schema:
        type: integer
        default: 2
  schemas:
    SecretList:
      type: object
      properties:
        secrets:
          description: |
            The list of Secrets for this account
          type: array
          items:
            $ref: '#/components/schemas/Secret'
        uri:
          description: n/a
          type: string
        next_page_uri:
          description: |
            URI of the next page of results, or null if there is no next page
          type: string
    Secret:
      type: object
      properties:
        id:
          description: |
            identifier for Secret
          type: string
        uri:
          description: |
            URI of this Secret API resource
          type: string
        created_at:
          description: |
            Timestamp when the Secret was created (RFC 3339 format)
          type: string
        updated_at:
          description: |
            Timestamp when the Secret was last updated (RFC 3339 format)
          type: string
        name:
          description: |
            Name of secret
          type: string
        description:
          description: |
            description of Secret
          type: string
        metadata:
          description: |
            Arbitrary user-defined metadata for this Secret
          type: string
        created_by:
          $ref: '#/components/schemas/Ref'
          description: |
            Reference to who created this Secret
        last_updated_by:
          $ref: '#/components/schemas/Ref'
          description: |
            Reference to who created this Secret
        vault:
          $ref: '#/components/schemas/Ref'
          description: |
            Reference to the vault the secret is stored in
        vault_name:
          description: |
            Name of the vault the secret is stored in
          type: string
    Ref:
      type: object
      properties:
        id:
          description: |
            a resource identifier
          type: string
        uri:
          description: |
            a uri for locating a resource
          type: string
  securitySchemes:
    authentication:
      type: http
      scheme: bearer

````