# How to use a Custom Credential to access a Source Repo?

**URL:** <https://forum.ansible.com/t/how-to-use-a-custom-credential-to-access-a-source-repo/31936>\
**Category:** AWX Project\
**Tags:** gcp\
**Created:** [January 8, 2020, 6:41pm UTC](https://forum.ansible.com/t/how-to-use-a-custom-credential-to-access-a-source-repo/31936 "2020-01-08T18:41:45Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Guy\_Matz1](https://avatars.discourse-cdn.com/v4/letter/g/b5e925/32.png) [@Guy\_Matz1](https://forum.ansible.com/u/Guy_Matz1)\
**Post date:** [January 8, 2020, 6:41pm UTC](https://forum.ansible.com/t/how-to-use-a-custom-credential-to-access-a-source-repo/31936/1 "2020-01-08T18:41:45Z")

</div>

I’m using GCP, which requires me to use a keyfile of theirs rather than an ssh key . . . I have created a custom credential but when I create a project I can’t use that custom credential since it’s not a Source Control credential. Any advice out there?

Thanks!  
Guy

---

<div class="post-metadata">

**Author:** ![Wei-Yen\_Tan](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/wei-yen_tan/32/4111_2.png) [@Wei-Yen\_Tan](https://forum.ansible.com/u/Wei-Yen_Tan)\
**Post date:** [January 8, 2020, 7:02pm UTC](https://forum.ansible.com/t/how-to-use-a-custom-credential-to-access-a-source-repo/31936/2 "2020-01-08T19:02:45Z")

</div>

I am following this URL to do this:

[https://termlen0.github.io/2019/06/08/observations/](https://termlen0.github.io/2019/06/08/observations/)

– You received this message because you are subscribed to the Google Groups “AWX Project” group. To unsubscribe from this group and stop receiving emails from it, send an email to . To view this discussion on the web visit .

---

<div class="post-metadata">

**Author:** ![Guy\_Matz1](https://avatars.discourse-cdn.com/v4/letter/g/b5e925/32.png) [@Guy\_Matz1](https://forum.ansible.com/u/Guy_Matz1)\
**Post date:** [January 8, 2020, 10:30pm UTC](https://forum.ansible.com/t/how-to-use-a-custom-credential-to-access-a-source-repo/31936/3 "2020-01-08T22:30:18Z")

</div>

Thanks, but that URL doesn’t explain how to use a “Custom Credential” as an SCM Credential for a project . . .

---

<div class="post-metadata">

**Author:** ![Wei-Yen\_Tan](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/wei-yen_tan/32/4111_2.png) [@Wei-Yen\_Tan](https://forum.ansible.com/u/Wei-Yen_Tan)\
**Post date:** [January 8, 2020, 10:36pm UTC](https://forum.ansible.com/t/how-to-use-a-custom-credential-to-access-a-source-repo/31936/4 "2020-01-08T22:36:51Z")

</div>

The git credential type has a scm private key section …

– You received this message because you are subscribed to the Google Groups “AWX Project” group. To unsubscribe from this group and stop receiving emails from it, send an email to . To view this discussion on the web visit .
