apache / apache/openserverless

Extend admin api to create new users

Open
#171 0 comments 0 reactions 1 assignee Claimed by @giusdp View on GitHub
Dominant language
Python
Stars
576
Forks
29
Avg merge
50m
Merged PRs (30d)
13

Description

## 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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.