apache / apache/openserverless

Extend admin api to create new users

Offen
#171 0 Kommentare 0 Reaktionen 1 zugewiesene Person Beansprucht von @giusdp Auf GitHub ansehen
Vorherrschende Sprache
Python
Sterne
576
Forks
29
Ø Merge
50 Min.
Gemergte PRs (30 T.)
13

Beschreibung

## Why you need it?
At the moment with the admin rest API https://github.com/apache/openserverless-admin-api you can only perform (from the readme):
- login
- change password
- build a custom image
- cleanup builds
- get info

This API could be extended to also perform user creation (and deletion) so that i can be integrated in other systems to automate the handling and deployment of new users.

## How it could be?
Implement the same functionality from the CLI ops admin adduser into the admin rest API service so it is performed behind a callable endpoint. I imagine 2 endpoints are enough:
- a POST to create users with a json body for the configuration of the services to deploy
- a DELETE to remove the user

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.