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

# List Credentials

> List all credentials for a user.



## OpenAPI

````yaml /openapi.yaml get /auth/credentials
openapi: 3.1.0
info:
  version: 1.807.0
  title: Dfns
servers:
  - url: https://api.dfns.io
    description: Default - Europe
  - url: https://api.uae.dfns.io
    description: UAE
  - url: https://api.dfns.ninja
    description: <Deprecated> Staging
security: []
paths:
  /auth/credentials:
    get:
      tags:
        - Auth
      summary: List Credentials
      description: List all credentials for a user.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  items:
                    type: array
                    items:
                      $ref: '#/components/schemas/Credential'
                required:
                  - items
      security:
        - authenticationToken: []
components:
  schemas:
    Credential:
      type: object
      properties:
        kind:
          type: string
          enum:
            - Fido2
            - Key
            - Password
            - Totp
            - RecoveryKey
            - PasswordProtectedKey
        credentialId:
          type: string
        credentialUuid:
          type: string
        dateCreated:
          type: string
        isActive:
          type: boolean
        name:
          type: string
        publicKey:
          type: string
        relyingPartyId:
          type: string
        origin:
          type: string
      required:
        - kind
        - credentialId
        - credentialUuid
        - dateCreated
        - isActive
        - name
        - publicKey
        - relyingPartyId
        - origin
  securitySchemes:
    authenticationToken:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >-
        **Bearer Token:** Used to authenticate API requests.

        More details how to generate the token: [Authentication
        flows](https://docs.dfns.co/api-reference/auth/login-flows)

````