tarantool / tt

Command-line utility to manage Tarantool applications
Other
101 stars 12 forks source link

tt daemon auth #23

Open unera opened 3 years ago

unera commented 3 years ago

The module

Commands

$ tt tvisordauth --method
basic

$ tt tvisordauth --check "basic dXNlcjpwYXNzd29yZA=="
ok

If authorisation is not configured, then --method returns disabled, --check returns ok for every request.

LeonidVas commented 3 years ago

Seems like this task should be in https://github.com/tarantool/tvisor .

Totktonada commented 3 years ago

@LeonidVas I would like to see a developer side decomposition.

LeonidVas commented 2 years ago

Blocked by https://github.com/tarantool/tt/issues/10

In the first stage, I propose to add authentication based on the following points:

LeonidVas commented 2 years ago

Yet several comments:

LeonidVas commented 2 years ago

The link that may (or may not) be useful: https://gist.github.com/Mons/6796d146cb2549e1b7108b923e589653