Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to authenticate using service account #61

Open
cczablan1 opened this issue Apr 13, 2024 · 3 comments
Open

How to authenticate using service account #61

cczablan1 opened this issue Apr 13, 2024 · 3 comments

Comments

@cczablan1
Copy link

No description provided.

@jordancaraballo
Copy link

Having the same question here. So far, no way of caching the Service account auth from Python.

@jordancaraballo
Copy link

I made some changes to geeup.py, tuploader.py, and batch_uploader.py where I replace ee.Initialize() with an optional argument so it can take that as the default or use an optional initialization like below. I am willing to set it up as a pull request after I add some details and documentation about it. What do you think @samapriya?

    credentials = ee.ServiceAccountCredentials(gee_account, gee_key)
    gee_session = ee.Initialize(credentials)

@cczablan1
Copy link
Author

Does your changes work, @jordancaraballo? Can I clone your new copy?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants