Comments (4)
I read this through, and it looks like to support the whole flow of auto-autentication for all the environments we need to pull in the SDK for one of the supported languages (Java in this case), which I'm not sure it's a dependency we want to depend on (as it is a client on its own already).
On the bright side, supporting the reading of the service account key from the path provided in the env variable GOOGLE_APPLICATION_CREDENTIALS
should be straightforward to implement.
from gogolica.
@zudov given the previous comment, is fc701a7 enough to consider this closed?
from gogolica.
Yep. Just a variable would do good for now. Doesn't feel good to pull the java SDK dependency for just that (given that otherwise we can be free of it). So maybe when the time is good we just implement the full "Application default credentials" in clojure and have it in another library. They've got implementations in quite many languages there, so shouldn't be hard to figure it out.
Dunno if we should close this issue. It's "solved" for now, but there's more work to be done. We can either keep it open, or close it and reopen later, or put it into some "production ready" milestone.
from gogolica.
Sounds good, implementing the full "Application Default Credentials" thing in Clojure shouldn't be too complicated, porting their implementation from Java looks quite feasible.
Let's have this issue open, but add a label for denoting the "not a priority" status.
from gogolica.
Related Issues (20)
- Rename library HOT 1
- Disallow some characters in bucket names HOT 2
- Move all our utility namespaces into deeper namespace HOT 5
- Add CI
- Json shouldn't be converted to kebab case HOT 1
- Include parameters type and documentation in method docstring
- Implement Resumable Upload
- Handle HTTP errors/retries
- Handle paginated endpoints
- Make optional parameters an actually optional argument
- Fetch the API models directly from API explorer
- Support "Common parameters"
- Correctly handle dataWrapper bodies
- Support nested resources HOT 1
- Recognise the enum parameters HOT 5
- Full media download support HOT 3
- Establish a procedure for commiting generated code into the repo HOT 1
- Meaningful way of handling gogolica's and Google's errors
- Switch to proper uri-template library
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gogolica.