Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,298,401
Community Members
 
Community Events
165
Community Groups

How can I create a read-only deployment key?

I'm trying to create and use a project-level deployment key with read-only permissions as described in https://confluence.atlassian.com/bitbucketserver/ssh-access-keys-for-system-use-776639781.html, but when I try to add keys to either a repository or a project, I'm not given the option to choose permission levels. Is that option gone and the documentation is stale, or do I need to flip some other switch to enable this option?

Here's what I see (compare to the images in the link above):

Screen Shot 2022-06-08 at 7.18.11 AM.png

1 answer

1 accepted

0 votes
Answer accepted

Hello @Pablo Diaz-Gutierrez ,

Thank you for reaching out to Atlassian Community.

The documentation you have listed is from Bitbucket server, and from what I could understand you are trying to set up access keys in Bitbucket Cloud.

If that is the case, in Bitbucket Cloud the ssh keys added as Access Keys in both the project and repository levels are already read-only, so you will not be presented with the option to choose between read/write, because only read permission is available at the moment.

Please allow me to share the access key documentation specifically Bitbucket Cloud:

Hope that helps to clarify your questions! Let me know if you have any doubt.

Thank you, @Pablo Diaz-Gutierrez .

Kind regards,

Patrik S

Oh, good catch. That's terrific then, exactly what I needed. Thanks!

Like Patrik S likes this
Patrik S Atlassian Team Jun 10, 2022

You're very welcome @Pablo Diaz-Gutierrez . Glad to have been of some help :)

Thank you!

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
Community showcase
Published in Bitbucket

Git push size limits are coming to Bitbucket Cloud starting April 4th, 2022

Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...

2,229 views 2 9
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you