I am building an AWS Lambda function that backs up all my repositories on BitBucket. For authentication, I would like to use the OAuth consumer key/secret so I don't have to put my username/password into the Lambda.
I have looked at:
But I could not figure out how to do this. I have also looked at the documentation and could not get any wiser.
and others with auth:
"Authorization":"Bearer ***************" ( being the OAuth consumer secret)
Can anyone point me in the right direction?