For an upcoming integration we are working on, we have added a new SSH Keys REST endpoint that allows you to add, remove, and query for a list SSH keys associated with your account.
If you have not already, we highly recommend setting up a SSH key to push and pull from Bitbucket. We have found that it is usually faster to use SSH rather than HTTPS.