Hi everyone,
On GitHub/GitLab we can generate a personal access token and use it directly in Composer to give access to a single private repository.
In Bitbucket, I see that we can use OAuth consumer key/secret, but that seems to work at the workspace level — meaning it gives access to all private repos in the workspace.
What I actually need:
A way to give Composer access to only one private PHP library repo.
I don’t want to expose or allow access to all repos in my workspace.
Basically, I want something like GitHub/GitLab tokens that I can drop into Composer so that running composer install
will pull from just that one repo.
Is there any way to do this in Bitbucket?
Thanks in advance for any suggestions.