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

IAM user secret bugfixes #141

Merged
merged 12 commits into from
Feb 11, 2022
Merged

Conversation

BuJo
Copy link
Collaborator

@BuJo BuJo commented Jan 28, 2022

@BuJo BuJo force-pushed the iam_user_secret branch 3 times, most recently from aba6cc6 to e24bc88 Compare February 11, 2022 15:35
* The web console has been moved to a separate port
* Newer minio returns slightly differently formatted JSON,
  adapt tests to use a more complicated deep equals where
  needed.
* Revise test (which disabled the user itself instead of testing the
  implementation)
* Use madmin AccountEnabled/Disabled instead of replicating the underlying
  strings
* Make disabling users on creation possible, not only update
* Only set user status on server if necessary
* As every usage is basically as a string, already handle the
  conversion in the utility function
* Remove unused `must` variant
* Check the error path, in case a random access key could not be
  generated
* Add test which actually changes the access key
* Add a way to test user login without touching s3/admin commands,
  as those already need policies/permissions.
  This is handled via the built-in minio UI.
  See code comments for more information.
* The secret had not been marked as editable, although the rest of
  the code had been prepared for secrets to be configurable from outside.
* Add missing test to actually prevent this feature from breaking.
* Assumes the console port to be 9001
@BuJo BuJo marked this pull request as ready for review February 11, 2022 15:48
Copy link
Collaborator

@felladrin felladrin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome!

@felladrin felladrin merged commit e8b06cd into aminueza:master Feb 11, 2022
@BuJo BuJo deleted the iam_user_secret branch February 14, 2022 09:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

How can I change user secret or rotate it in the right way?
2 participants