bernardodemarco opened a new pull request, #13225:
URL: https://github.com/apache/cloudstack/pull/13225

   ### Description
   
   PR #9504 restructured and extended the implementation of API key pairs to 
improve flexibility and security. It is now possible to create multiple key 
pairs per user, define a specific permission scope for each key pair and 
specify a validation period during which they remain active. 
   
   This PR exposes these new features in the ACS graphical interface. Among the 
new functionalities, users can now list all key pairs associated with a user, 
view their details and permissions, and register new key pairs with validity 
periods and permission sets. 
   
   Additionally, some minor fixes and enhancements were introduced to the API 
key pair backend workflows, including:
   
   - Default roles `Domain Admin`, `Resource Admin` and `User` were granted 
access to the `listUserKeyRules` API;
   - The type of the `description` column of the `cloud.api_keypair` table was 
changed from `VARCHAR(100)` to `VARCHAR(1024)`; and,
   - The type of the `description` column of the 
`cloud.api_keypair_permissions` table is `VARCHAR(255)`. However, the 
`registerUserKeys` API currently do not validate the size of the corresponding 
API parameter. This validation has been introduced. 
   
   ### Types of changes
   
   - [ ] Breaking change (fix or feature that would cause existing 
functionality to change)
   - [X] New feature (non-breaking change which adds functionality)
   - [ ] Bug fix (non-breaking change which fixes an issue)
   - [ ] Enhancement (improves an existing feature and functionality)
   - [ ] Cleanup (Code refactoring and cleanup, that may add test cases)
   - [ ] Build/CI
   - [ ] Test (unit or integration test code)
   
   ### Feature/Enhancement Scale or Bug Severity
   
   #### Feature/Enhancement Scale
   
   - [X] Major
   - [ ] Minor
   
   ### Screenshots (if appropriate):
   
   
https://github.com/user-attachments/assets/e71ae203-88ae-44e5-8a6e-9069415a4a54
   
   ### How Has This Been Tested?
   
   The new UI sections were manually tested and their behavior was verified 
accordingly.
   
   To test this patch, the backend must include PR #9504.
   


-- 
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