Projects tigase _server tigase-http-api Issues #97
Add API-KEY repo implementation that would be based on environment variables (#97)
wojciech.kapcia@tigase.net opened 4 years ago

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

wojciech.kapcia@tigase.net batch edited 6 months ago
Name Previous Value Current Value
Iterations
empty
tigase-server-8.4.0
wojciech.kapcia@tigase.net added "Related" #142 6 months ago
wojciech.kapcia@tigase.net commented 6 months 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 6 months 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.

Referenced from commit 6 months ago
wojciech.kapcia@tigase.net changed state to 'In Progress' 6 months ago
Previous Value Current Value
Open
In Progress
wojciech.kapcia@tigase.net changed state to 'In QA' 6 months ago
Previous Value Current Value
In Progress
In QA
wojciech.kapcia@tigase.net commented 6 months 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.net changed state to 'Closed' 6 months 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