Skip to content

Add basic authentication to the API #19

@pipex

Description

@pipex
  • Authentication should use an optional key provided as input to the CLI
  • For start.sh it should use a randomly generated key unless HELIOS_LOCAL_API_KEY env var is set
  • It should only validate be used in /v3 endpoints, /v1 and /v2 are authenticated by the supervisor

Here is a possible implementation https://www.ruststepbystep.com/simple-api-key-authentication-in-axum-step-by-step-guide/

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