# Key format for deployement using bitbucket

**URL:** https://discourse.roots.io/t/key-format-for-deployement-using-bitbucket/14780
**Category:** trellis
**Created:** 2019-02-08T19:01:58Z
**Posts:** 9
**Showing post:** 2 of 9

## Post 2 by @ben — 2019-02-08T20:13:14Z

I’m not sure if anyone has figured this out yet, I think you’d need to authenticate that request.

Any chance you could add the same SSH key you have on BitBucket to an account on GitHub? You could also reference a local file, or add your public key to the your repo and reference it like that:

```
- "{{ lookup('file', 'keys/example.pub') }}" # This references trellis/keys/example.pub
```

---

_[View the full topic](https://discourse.roots.io/t/key-format-for-deployement-using-bitbucket/14780)._
