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
Add Create Service Account api #72
Conversation
9857f90
to
6b7dc7f
Compare
6b7dc7f
to
b5fd8f2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just this minor detail, everything else looks good
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
reviewing 👀
b5fd8f2
to
aa15a98
Compare
adds new functionality for creating a service account for a user, for this, an admin client is created with the user credentials so that the service account can be assigned to him. This also updates to minio RELEASE.2020-04-28T23-56-56Z
aa15a98
to
81d691c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Tested, works good 👍 |
@Alevsk can you please remove you request change? XD |
adds new functionality for creating a service
account for a user, for this, an admin client
is created with the user credentials so that
the service account can be assigned to him.
To test this:
create a user and assign a policy to him
login to mcs with the user credentials
create a serviceAccount on
/api/v1/service-accounts
The payload can (optional) have a policy defined as string e.g.
it should return the Service Account credentials like:
Test that the Service Account can be added as a new host and have the proper permissions