- changed status to invalid
sshKeys()->create
Issue #67
invalid
$foo = $bitbucket_user_api->sshKeys()->create('hennot', file_get_contents('.keys/bb-push.public.pem'), 'temporary key for one time pushing to bitbucket');
gives 'This API has been deprecated and is not available through OAuth2 or JWT'
Am I correct assuming that Bitbucket has disabled this endpoint?
Comments (3)
-
-
How would one go about solving this? I want to add a SSH key to my account automatically from my server.
-
- changed version to 1.0
- Log in to comment
You can't add SSH keys using a form of delegated access like OAuth2, because it is a potential attack vector using privilege escalation.
Related: BB-11632