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

# List vault secrets inventory

> Returns secrets schema grouped by vault path with key names and consumer service mappings. Admin only. NEVER returns secret values.




## OpenAPI

````yaml /openapi.yaml get /admin/secrets
openapi: 3.0.3
info:
  title: Hill90 API
  description: Hill90 platform API — agent management and lifecycle operations.
  version: 0.1.0
servers:
  - url: /
    description: Relative (behind Traefik reverse proxy)
security: []
paths:
  /admin/secrets:
    get:
      summary: List vault secrets inventory
      description: >
        Returns secrets schema grouped by vault path with key names and consumer
        service mappings. Admin only. NEVER returns secret values.
      responses:
        '200':
          description: Grouped secrets inventory
          content:
            application/json:
              schema:
                type: object
                properties:
                  paths:
                    type: array
                    items:
                      type: object
                      properties:
                        path:
                          type: string
                          example: secret/shared/database
                        keys:
                          type: array
                          items:
                            type: object
                            properties:
                              key:
                                type: string
                                example: DB_PASSWORD
                              consumers:
                                type: array
                                items:
                                  type: string
                                example:
                                  - db
                                  - api
                                  - ai
                        keyCount:
                          type: integer
                          example: 3
                  totalPaths:
                    type: integer
                  totalKeys:
                    type: integer
                  approleServices:
                    type: array
                    items:
                      type: string
        '401':
          description: Not authenticated
        '403':
          description: Requires admin role
        '503':
          description: Failed to load secrets schema
      security:
        - bearerAuth: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````