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
STS integration, JWT auth and Stateless MCS #70
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Alevsk
force-pushed
the
sts-auth
branch
3 times, most recently
from
April 19, 2020 03:15
d186f63
to
f288c34
Compare
Alevsk
changed the title
[WIP] STS integration
STS integration, JWT auth and Stateless MCS
Apr 19, 2020
Alevsk
force-pushed
the
sts-auth
branch
2 times, most recently
from
April 19, 2020 03:19
3c86d7b
to
008699c
Compare
Alevsk
commented
Apr 19, 2020
dvaldivia
reviewed
Apr 20, 2020
cesnietor
previously requested changes
Apr 20, 2020
harshavardhana
requested changes
Apr 20, 2020
Alevsk
force-pushed
the
sts-auth
branch
2 times, most recently
from
April 20, 2020 23:17
0dfe73c
to
8714579
Compare
Alevsk
force-pushed
the
sts-auth
branch
2 times, most recently
from
April 21, 2020 23:54
81308e5
to
4d189f8
Compare
@aead can you review the |
harshavardhana
requested changes
Apr 22, 2020
dvaldivia
previously approved these changes
Apr 22, 2020
dvaldivia
previously approved these changes
Apr 23, 2020
cesnietor
reviewed
Apr 23, 2020
harshavardhana
previously approved these changes
Apr 23, 2020
This commit changes the authentication mechanism between mcs and minio to an sts (security token service) schema using the user provided credentials, previously mcs was using master credentials. With that said in order for you to login to MCS as an admin your user must exists first on minio and have enough privileges to do administrative operations. ``` ./mc admin user add myminio alevsk alevsk12345 ``` ``` cat admin.json { "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": [ "admin:*", "s3:*" ], "Resource": [ "arn:aws:s3:::*" ] } ] } ./mc admin policy add myminio admin admin.json ``` ``` ./mc admin policy set myminio admin user=alevsk ```
dvaldivia
approved these changes
Apr 23, 2020
bexsoft
approved these changes
Apr 23, 2020
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This commit changes the authentication mechanism between mcs and minio to an sts
(security token service) schema using the user provided credentials, previously
mcs was using master credentials. With that said in order for you to
login to MCS as an admin your user must exists first on minio and have enough
privileges to do administrative operations.