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

Generate secret key: Remove global mfa check #1124

Merged
merged 1 commit into from
Jan 13, 2025

Conversation

asmithakarun
Copy link
Contributor

@asmithakarun asmithakarun commented Jan 13, 2025

When a user generates secret key, currently there is a check to see if the global mfa is enabled. And only if it is enabled, secret key generation is allowed for the user.
This commit removes the check, and enables users to generate secret key even if the global mfa is disabled.

Upstream: https://gerrit.openbmc.org/c/openbmc/bmcweb/+/74667

Tested By:

'''
POST https://${bmc}/redfish/v1/AccountService/Accounts/<>/Actions/ManagerAccount.GenerateSecretKey
'''

When a user generates secret key, currently there is a check to see if
the global mfa is enabled. And only if it is enabled, secret key
generation is allowed for the user.
This commit removes the check, and enables users to generate secret key
even if the global mfa is disabled.

Tested By:

'''
POST https://${bmc}/redfish/v1/AccountService/Accounts/<>/Actions/ManagerAccount.GenerateSecretKey
'''

Signed-off-by: Asmitha Karunanithi <[email protected]>
@asmithakarun
Copy link
Contributor Author

@rfrandse rfrandse merged commit 03d8f5a into ibm-openbmc:1110 Jan 13, 2025
1 check passed
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.

5 participants