# Connect to Dremio Cloud with user and password credentials

**URL:** <https://community.dremio.com/t/connect-to-dremio-cloud-with-user-and-password-credentials/9674>\
**Category:** Dremio Cloud\
**Created:** [September 14, 2022, 8:27am UTC](https://community.dremio.com/t/connect-to-dremio-cloud-with-user-and-password-credentials/9674 "2022-09-14T08:27:12Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![pira](https://avatars.discourse-cdn.com/v4/letter/p/ea666f/32.png) [@pira](https://community.dremio.com/u/pira)\
**Post date:** [September 14, 2022, 8:27am UTC](https://community.dremio.com/t/connect-to-dremio-cloud-with-user-and-password-credentials/9674/1 "2022-09-14T08:27:12Z")

</div>

Is it possible to connect to Dremio Cloud with user and password credentials using Flight client?  
I tried to use the sample from here: [arrow-flight-client-examples/java at main · dremio-hub/arrow-flight-client-examples · GitHub](https://github.com/dremio-hub/arrow-flight-client-examples/tree/main/java), but I’m getting `UNAUTHENTICATED` response.

---

<div class="post-metadata">

**Author:** ![Payal\_Gupta](https://sea2.discourse-cdn.com/flex020/user_avatar/community.dremio.com/payal_gupta/32/4262_2.png) [@Payal\_Gupta](https://community.dremio.com/u/Payal_Gupta)\
**Post date:** [September 14, 2022, 8:57am UTC](https://community.dremio.com/t/connect-to-dremio-cloud-with-user-and-password-credentials/9674/2 "2022-09-14T08:57:23Z")

</div>

Hello, you can use PAT(Personal Access Token) to connect with Dremio Cloud using Arrow-Flight. Here is a Python arrow-flight client application example for reference:  
[https://docs.dremio.com/cloud/client-applications/python/](https://docs.dremio.com/cloud/client-applications/python/)

> **[arrow-flight-client-examples/python at main ·...](https://github.com/dremio-hub/arrow-flight-client-examples/tree/main/python)**
>
> main/python

Hope it helps. Thanks.

---

<div class="post-metadata">

**Author:** ![pira](https://avatars.discourse-cdn.com/v4/letter/p/ea666f/32.png) [@pira](https://community.dremio.com/u/pira)\
**Post date:** [September 14, 2022, 9:12am UTC](https://community.dremio.com/t/connect-to-dremio-cloud-with-user-and-password-credentials/9674/3 "2022-09-14T09:12:21Z")

</div>

Ok, thanks. Will it be made possible to connect to Dremio Cloud using password and username sometime later?

---

<div class="post-metadata">

**Author:** ![Payal\_Gupta](https://sea2.discourse-cdn.com/flex020/user_avatar/community.dremio.com/payal_gupta/32/4262_2.png) [@Payal\_Gupta](https://community.dremio.com/u/Payal_Gupta)\
**Post date:** [September 20, 2022, 5:38am UTC](https://community.dremio.com/t/connect-to-dremio-cloud-with-user-and-password-credentials/9674/4 "2022-09-20T05:38:25Z")

</div>

Thanks for your response. I could share your feedback to our internal team who would be able to look into it further. Just to understand your requirement better, is there any specific reason why you would like to have user and password credentials to use with Arrow Flight client? Are you facing any issues with PAT?

---

<div class="post-metadata">

**Author:** ![pira](https://avatars.discourse-cdn.com/v4/letter/p/ea666f/32.png) [@pira](https://community.dremio.com/u/pira)\
**Post date:** [September 20, 2022, 8:15am UTC](https://community.dremio.com/t/connect-to-dremio-cloud-with-user-and-password-credentials/9674/5 "2022-09-20T08:15:51Z")

</div>

Connecting using PAT works OK, however it would be better for users of my application to provide once username and password and not generate the PAT every X days.

---

<div class="post-metadata">

**Author:** ![Payal\_Gupta](https://sea2.discourse-cdn.com/flex020/user_avatar/community.dremio.com/payal_gupta/32/4262_2.png) [@Payal\_Gupta](https://community.dremio.com/u/Payal_Gupta)\
**Post date:** [September 20, 2022, 12:04pm UTC](https://community.dremio.com/t/connect-to-dremio-cloud-with-user-and-password-credentials/9674/6 "2022-09-20T12:04:46Z")

</div>

@pira - Appreciate your feedback! Will share this with our internal team who will look into it further. Thank you.
