docs: demonstrate various usage of credentials loading#2123
Closed
lirantal wants to merge 2 commits intogoogleapis:mainfrom
Closed
docs: demonstrate various usage of credentials loading#2123lirantal wants to merge 2 commits intogoogleapis:mainfrom
lirantal wants to merge 2 commits intogoogleapis:mainfrom
Conversation
The following README.md file changes introduce documentation updates to help users learn on different ways they can load the service account key file's contents into the `Storage` constructor. The documentation was updated to include: 1. Loading the credentials as a string from an environment variable 2. Specifying the credentials directly within JavaScript by providing the object
|
Warning: This pull request is touching the following templated files:
|
Contributor
Author
|
Based on the comment bot above it looks like the changes need to be placed elsewhere? happy to make changes to help get this landed. |
lirantal
added a commit
to lirantal/nodejs-storage
that referenced
this pull request
Dec 21, 2022
This is a follow-up to PR googleapis#2123 in hope to address both README.md elaborate documentation updates as well as in-code documentation
4 tasks
Contributor
|
There is consensus that the new API level documentation should help this problem significantly. If people are still struggling with this, please comment and let us know and we'll think about what else we can do! Thanks for your help improving the documentation here :) |
Where is this documentation? Can a link be provided? It's still unreasonably challenging to find out how to authenticate with anything except ADC for all of Google's NodeJS packages. |
sofisl
pushed a commit
to googleapis/google-cloud-node
that referenced
this pull request
Feb 25, 2026
…2124) This is a follow-up to PR googleapis/nodejs-storage#2123 in hope to address both README.md elaborate documentation updates as well as in-code documentation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The following README.md file changes introduce documentation updates to help users learn on different ways they can load the service account key file's contents into the
Storageconstructor.The documentation was updated to include:
Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:
Fixes #2122 🦕