Skip to content

Minor improvements to the API authentication #66

Description

@ylembachar
  • 5. Replace the Retry-After value (e.g., 86,363 seconds) with a more human-readable format like "23 hours, 59 minutes".
  • 6. Add a README with instructions on how to generate and manage API keys for internal use.
  • 7. Redact or mask API keys in Caddy logs to prevent leaking them via logs
  • 8. Add support for API key expiration, potentially via a flag or an expires_at field
  • 9. Add unit tests for the key generation logic

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions