bernardodemarco commented on issue #10828:
URL: https://github.com/apache/cloudstack/issues/10828#issuecomment-2859878127

   Hello, @apraba05
   
   This is the source code that controls the display of the `SSH key pairs` 
section:
   
   
https://github.com/apache/cloudstack/blob/39c5641cbe674b19bc77082b850565f634a7cb84/ui/src/config/section/compute.js#L827-L910
   
   The best approach to hide it from end users is by revoking access to the 
APIs that manage SSH key pairs, which essentially are: `listSSHKeyPairs`, 
`createSSHKeyPair` and `deleteSSHKeyPair`. To revoke the APIs access, I'd 
recommend creating a custom role based on the existing role that is in use by 
the end user accounts.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to