Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE REQUEST] Authentication for manager #137

Open
teran opened this issue Aug 16, 2024 · 0 comments
Open

[FEATURE REQUEST] Authentication for manager #137

teran opened this issue Aug 16, 2024 · 0 comments
Labels
archived-cli CLI related tasks archived-manager manager related tasks enhancement New feature or request
Milestone

Comments

@teran
Copy link
Owner

teran commented Aug 16, 2024

What is your use case?
Use cli/manager in untrusted network environment

Is your feature request related to a problem? Please describe.
Now manager doesn't support any authentication so anyone can do anything having CLI and manager endpoint. It's required to design authentication mechanism to be pluggable to allow easy integration into any infrastructure.

Describe the solution you'd like

  • Login/password based authentication to obtain an access token which will be used for all further requests
  • since manager is not supposed to be really high loaded using static tokens stored in the database is ok
  • ability to revoke tokens
  • tokens TTL is a good feature but not required for now
  • ability for archived-cli to get tokens from environment & arguments

So usage could be the following:

  • archived-cli login with interactive username/password enter
  • AUTH_TOKEN=xxxx archived-cli container create

Authentication must be required without any option to disable it on manager side.

Describe alternatives you've considered
up to discuss

Additional context
n/a

@teran teran added archived-cli CLI related tasks archived-manager manager related tasks enhancement New feature or request labels Aug 16, 2024
@teran teran added this to the v0.1.0 milestone Aug 16, 2024
@teran teran added this to archived Aug 17, 2024
@teran teran changed the title [FEATURE REQUEST] authentication for manager [FEATURE REQUEST] Authentication for manager Aug 17, 2024
@teran teran moved this to Backlog in archived Aug 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
archived-cli CLI related tasks archived-manager manager related tasks enhancement New feature or request
Projects
Status: Backlog
Development

No branches or pull requests

1 participant