GitHub user bernardodemarco added a comment to the discussion: Unable to access 
exact web ui to delete SSH Key Pair Button

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.

GitHub link: 
https://github.com/apache/cloudstack/discussions/10831#discussioncomment-13071769

----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscr...@cloudstack.apache.org

Reply via email to