---
title: "PortalAuthStrategyKeyAuth"
url: "https://nov18-dev.movespot.fyi/apis/portal-developer-applications-2/versions/3bce3c1f-0ff6-442b-b037-768253e6d227/schemas/PortalAuthStrategyKeyAuth"
---

> Full API specification: https://nov18-dev.movespot.fyi/apis/portal-developer-applications-2/versions/3bce3c1f-0ff6-442b-b037-768253e6d227.md

# PortalAuthStrategyKeyAuth

KeyAuth Auth strategy that the application uses.

## OpenAPI definition

```yaml
openapi: 3.0.0
info:
  title: Portal Developer Applications
  version: 3.3.3
components:
  schemas:
    PortalAuthStrategyKeyAuth:
      description: KeyAuth Auth strategy that the application uses.
      type: object
      properties:
        id:
          description: The Application Auth Strategy ID.
          type: string
          format: uuid
          example: b9e81174-b5bb-4638-a3c3-8afe61a0abf8
          readOnly: true
        name:
          type: string
          example: name
          default: name
        credential_type:
          type: string
          enum:
            - key_auth
        key_names:
          type: array
          items:
            type: string
          example:
            - apikey
        ttl:
          description: Default maximum Time-To-Live for keys created under this strategy.
          type: object
          properties:
            value:
              type: integer
              minimum: 1
            unit:
              type: string
              enum:
                - days
                - weeks
                - years
          required:
            - value
            - unit
        supports_multiple_credentials:
          description: |
            Indicates whether this auth strategy supports multiple credentials.
            Always `true` for KEY_AUTH.
          type: boolean
          default: true
          readOnly: true
      required:
        - id
        - name
        - credential_type
        - key_names
```
