-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Low
-
Component/s: User - SSH Keys
-
None
-
2
-
Severity 3 - Minor
-
306
Issue Summary
The SSH keys page does not display all the keys in the UI if the keys added are greater than 20.
Steps to Reproduce
- Add more than 20 SSH keys in the SSH keys page
- It will display only the first 20 keys and truncate the old SSH key added.
Expected Results
- All the SSH keys should be displayed in the SSH keys page
Actual Results
- It will display only the first 20 keys and truncate the old SSH key added.
Workaround
Using SSH Keys API GET API: The users can make use of this API to list all the SSH keys.
Example:
curl -X GET -u username:app_password "https://api.bitbucket.org/2.0/users/%7B<UUID>%7D/ssh-keys"
Replace with the username , app password , UUID of the user
Using Delete an SSH key DELETE API: The users can make use of this API to delete the specified SSH key.
Example:
curl -X DELETE -u username:app_password "https://api.bitbucket.org/2.0/users/%7B<UUID-USER>%7D/ssh-keys/%7B<UUID>%7D"
Replace with the username , app password , UUID of the user
Replace the UUID of the SSH key. The UUID of the SSH key can be obtained from the GET SSH keys API