-
Notifications
You must be signed in to change notification settings - Fork 564
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
List expiration dates for 'mc admin user svcacct list' command #4576
Conversation
Tests seem to be failing as we are not pointing to the minio/madmin-go#195 branch, @kannappanr could you advise me on how we move forward in these cases? Do we temporarily add a replace directive on go.mod that points to the branch, so that we can see if tests pass or not? |
a953299
to
c5cc959
Compare
bd03bd1
to
5c5734a
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. Verified with minio
PR#17249
Hi @harshavardhana, looks like we have 2 approving reviews, would it be possible to merge this and make a release so that I can update the packages for the other 2 PRs in minio/minio#17249 and minio/console#2824? |
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
@kaankabalak in fact we usually make sure to merge the changes in the server side first, just easier to manage and avoid users opening new tickets (users are expected to have mc version more recent than server version, that is why we follow this model) |
Oh you mean you are trying to resolve the dependency issue? |
Yes 👍 |
Description
This commit enables the user to list the expiration dates of the Service Accounts listed on the
mc admin user svcacct list
command.Motivation and Context
As the user will be able to set the expiry of a Service Account on
mc
after PR #4570, it would also be practical for the users to see when they expire on themc admin user svcacct list
command.Please merge this PR together with minio/madmin-go#195, minio/minio#17249 and minio/console#2824.
How to test this PR?
mc admin user svcacct list ALIAS TARGET_ACCOUNT
command and verify the Service Accounts and their expirations are listed as expected:mc admin user svcacct list ALIAS TARGET_ACCOUNT
and make sure that Service Accounts aren't listed.Types of changes
Checklist:
commit-id
orPR #
here)