Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Question: Is it possible to build Drive service with service account without key file? #2024

Unanswered
dzahedia asked this question in Q&A
Discussion options

I use cloud functions and can connect to bigquery or cloud storage without key files. Is it possible to do the same with Drive service? In our company, we are not allowed to create service account key files. Thanks!

You must be logged in to vote

Replies: 1 comment 1 reply

Comment options

Yes, it is possible to interact with Google Drive using a service account without explicitly using a key file. Google Cloud offers a feature called Application Default Credentials (ADC) that can simplify authentication in certain environments, such as Cloud Functions.

You must be logged in to vote
1 reply
Comment options

Can you elaborate more on this? Especially how to implement this when using cloud functions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /