lvermeulen / Bitbucket.Net

C# client for Atlassian Bitbucket Server
MIT License
32 stars 18 forks source link

Add support for Bitbucket Access Keys #25

Open nbon12 opened 2 years ago

nbon12 commented 2 years ago

I'd like to not have to use my bitbucket username and password for an automated script to run. access_keys

Example code:

var _client = new BitbucketClient("https://myprivatebitbucketrepo.example.com", () => 
@"
-----BEGIN OPENSSH PRIVATE KEY-----
insert your private key here
-----END OPENSSH PRIVATE KEY-----
"
);