Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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,459,369
Community Members
 
Community Events
176
Community Groups

Is there a way to upload p12 certificate generated locally to bitbucket ?

Hi Guys,

I'm a bit new here and stuck with configuring the p12 certificate.

 

This p12 certificate is required in the pipeline to deploy code but I'm not sure how can I upload it to bitbucket and use it in the pipeline.

I can put it in the repo and utilize it from there but that won't be secure.

Thanks

 

 

1 answer

1 vote
Ben Atlassian Team Apr 04, 2022

G'day,

Welcome to the Bitbucket Cloud Community! 

For this particular use case, I would suggest one of two things:

1. Hosting the p12 file in a seperate private repository in your workspace where only you have access, you can then configure a repository access key (SSH) for that repo in repository settings so that it can be referenced and used in pipelines, this article explains how this can be done:
https://bitbucket.org/blog/cloning-another-bitbucket-repository-in-bitbucket-pipelines

2. Hosting the p12 file in the Downloads section of the repository, this is kept separately from GIT and you can make use of our API to download and use the file accordingly in the pipeline - this will only allow authenticated users to perform this and adds another layer of security:
https://developer.atlassian.com/cloud/bitbucket/rest/api-group-downloads/#api-group-downloads

Cheers!

- Ben (Bitbucket Cloud Support)

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events