-
Notifications
You must be signed in to change notification settings - Fork 567
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 edit
, enable
, and disable
to mc idp ldap accesskey
#5033
Conversation
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.
mostly looks good. one minor one
While testing I see as below
I understand that just after edit its few secs less than 20hrs so it shows 19 hrs and
|
Also after enable/disable there is no way to see the status in non json output.
I feel we should add a field |
@shtripat I made the fix and added a status to the printout. The time rounding down seems to be a consequence of using |
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
yeah its way more humanized but its precision is only in hrs not in 1minutes or seconds. which for now is okay.. We can change it to just show ugly time.Duration |
Community Contribution License
All community contributions in this pull request are licensed to the project maintainers
under the terms of the Apache 2 license.
By creating this pull request I represent that I have the right to license the
contributions to the project maintainers under the Apache 2 license.
Description
Adds
edit
,enable
, anddisable
commands toidp ldap accesskey
similar to those underadmin user svcacct
.Motivation and Context
These actions are currently not available when using
idp ldap accesskey
How to test this PR?
Types of changes
Checklist:
commit-id
orPR #
here)