Projects tigase _server tigase-http-api Issues #97
Add API-KEY repo implementation that would be based on environment variables (#97)
Wojciech Kapcia (Tigase) opened 5 years ago

In some cases being able to configure installation via environment variables is desired (kan)

  • Wojciech Kapcia (Tigase) batch edited 1 year ago
    Name Previous Value Current Value
    Iterations
    empty
    tigase-server-8.4.0
  • Wojciech Kapcia (Tigase) added "Related" #142 1 year ago
  • Wojciech Kapcia (Tigase) commented 1 year ago

    @andrzej.wojcik do we (still) need it? I think the initial idea was to provide a way to easily bootstrap Tigase and allow automatic configuration via REST but given that TheProject works I'm not sure it's still needed (maybe it uses "open_access")?

    If still needed, I assume the env-variable API key would be a global one (regexp for /*)?

  • Andrzej Wójcik (Tigase) commented 1 year ago

    TheProject uses "open_access" as access to this API is forwarded through the proxy that requires authentication and due to that API key was not needed.

    Having an option to be able to "bootstrap" API key(s) from the env-variable, would be a desirable thing for deployment in which access to REST API is not guarded by any proxy.

  • Wojciech Kapcia (Tigase) changed state to 'In Progress' 1 year ago
    Previous Value Current Value
    Open
    In Progress
  • Wojciech Kapcia (Tigase) changed state to 'In QA' 1 year ago
    Previous Value Current Value
    In Progress
    In QA
  • Wojciech Kapcia (Tigase) commented 1 year ago

    Added support for HTTP_API_KEY_BOOTSTRAP evironment variable - it will be used only if there is no other "proper" API-KEY configured.

    documentation: https://docs.tigase.net/projects/tigase-tigase-http-api/en/latest/Administration/tigase-http-api-release-notes.html#api-keys

  • Wojciech Kapcia (Tigase) changed state to 'Closed' 1 year ago
    Previous Value Current Value
    In QA
    Closed
issue 1 of 1
Type
Task
Priority
Normal
Assignee
Version
tigase-server-8.4.0
Iterations
Issue Votes (0)
Watchers (3)
Reference
tigase/_server/tigase-http-api#97
Please wait...
Page is in error, reload to recover