re: Using a Bitbucket private repository in your projects VIEW POST


To find the key you need to go into your repository where you want to add yopur library into bitbucket , and generate access keys as the example into my blog post

In your example, I see "pipelines". So still no easy step by step.
Should I put it into a pipeline?
(I've tried that, but it gives me a page where I have to decide on stuff like docker, gradle,maven etc., which doesn't say anything in "adding a ssl key")

No you need to take the public key of your main repository generated by bitbucket into ssh keys under settings. Copy the public key and open into bitbucket the repository of the library that you want to add. Go under access keys, add a new key and paste the public key copied before

ok, so I click on settings on my project (not the library).
There I only see SSH keys on a part of a menu called 'PIPELINES'.

I see 'Acces keys' under part of a menu called 'Repository Details'
(but this is what I used to generate the ssl keys in the library, and you kind of convinced me, it should not be here)

So, still stuck :-(

That is the section (under pipelines) where you can generate your key to add into your library repository on bitbucket to give permission to get the library with composer

Ok, I finally had the time>
I choose Pipelines > SHH keys
I then choose PHP (unclear what this option does, but wth)
Then I had to choose a yaml configuration (which was good, it said)
Then it generated and downloaded a lot of crap. (unclear what it was doing)

After that it was finished, I could click on pipelines > SSH keys again, showing me a page where I could generate keys, of use my own, or I could put in a know host. I clinked on use my own, then it wants a private key, which I find strange, because... it shoudl be private.

Stuck again.

Ok, as I said before, I need to choose from a couple of options, but doesn't ring any bells.

Docker, Java (Gradle), Java (Maven), JavaScript, PHP, Python, many more in a pulldown. What is the most logical option to select (it is unlcear here, if I choose something, if it can be unchoosen grrr....)

perhaps PHP because we do php development? (but strange: why does bitbucket need to know what program language I use. I use composer to check out. but... still, so much unclearness.

I'm very glad you try to help me btw. Let's have a weekend and see where it leads me.

code of conduct - report abuse