GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — We should mention GOOGLE_APPLICATION_CREDENTIALS in the Authentication section. · Issue #331 · googleapis/google-cloud-java

We should mention GOOGLE_APPLICATION_CREDENTIALS in the Authentication section. #331

New issue
Copy link
New issue
Copy link
Closed
Closed
We should mention GOOGLE_APPLICATION_CREDENTIALS in the Authentication section.#331
Copy link
Assignees
aozarov
Labels
🚨 criticalP0 critical issue. Requires immediate fixauthtriage meI really want to be triaged.

Description

@aozarov
aozarov
opened on Nov 6, 2015
Issue body actions

The main gcloud-java README.md contains an authentication section however this section does not
mention the option of using the GOOGLE_APPLICATION_CREDENTIALS environment variable to point to a key file.

@mziccard I now wonder if we need the GCLOUD_TESTS_KEY and GCLOUD_TESTS_PROJECT_ID in the RemoteGcsHelper as GOOGLE_APPLICATION_CREDENTIALS could be used instead of the former and GCLOUD_PROJECT could be used instead of the latter.

Activity

  1. aozarov
    added
    auth
    docs
    on Nov 6, 2015
  2. ajkannan
    self-assigned this
    on Nov 6, 2015
  3. mziccard commented on Nov 6, 2015

    @mziccard
    mziccard
    on Nov 6, 2015
    Contributor
    More actions

    @aozarov When I introduced those 2 variables I took inspiration from gcloud-node. The rationale is that to run integration tests the user must know what he is doing and he has to pick the right credentials/projectId before running tests as he is going to be billed for them.

    For instance I have a personal account on Google Cloud whose credentials are set in GOOGLE_APPLICATION_CREDENTIALS but I use different whitelisted credentials/project to run integration tests.

  4. jgeewax commented on Nov 6, 2015

    @jgeewax
    jgeewax
    on Nov 6, 2015
    More actions

    I'm with @aozarov on this one -- having separate env vars for tests seems a
    bit off.

    Running tests should look something like

    $ cat run_test.sh
    GOOGLE_APPLICATION_CREDENTIALS=test.json mvn test

    right?

  5. aozarov commented on Nov 6, 2015

    @aozarov
    aozarov
    on Nov 6, 2015
    ContributorAuthor
    More actions

    Right, it should not be a problem to temporarily override environment variable.

  6. aozarov
    closed this as completedin #332on Nov 6, 2015
  7. aozarov commented on Nov 6, 2015

    @aozarov
    aozarov
    on Nov 6, 2015
    ContributorAuthor
    More actions

    I created #335 for tracking the RemoteGcsHelper specific keys issue.

  8. theacodes
    unassigned
    ajkannan
    on Sep 28, 2018
  9. yoshi-automation
    added
    🚨 criticalP0 critical issue. Requires immediate fix
    triage meI really want to be triaged.
    on Apr 6, 2020
  10. JustinBeckwith
    assigned
    aozarov
    on Feb 1, 2021
  11. github-actions
    added 2 commits that reference this issue on Jun 29, 2022

    chore: release 0.118.6 (googleapis#331)

    533199b

    chore: release 2.1.0 (#331)

    b4d4b81
  12. github-actions
    added a commit that references this issue on Jul 14, 2022

    chore(main): release 2.3.2-SNAPSHOT (#331)

    49e8253
  13. github-actions
    added 4 commits that reference this issue on Aug 9, 2022

    deps: update dependency com.google.cloud:google-cloud-shared-dependen…

    efa720d

    deps: update dependency com.google.cloud:google-cloud-shared-dependen…

    11af982

    chore(main): release 3.7.2 (#334)

    a80e7ce

    chore(main): release 2.3.8 (#340)

    e2f6bf9
  14. suztomo
    added a commit that references this issue on Feb 1, 2023

    chore(main): release 1.3.2-SNAPSHOT (#331)

    0216fb8
  15. chingor13
    added a commit that references this issue on Jan 6, 2026

    test(deps): update dependency junit:junit to v4.13.2 (#331)

    beafb52
  16. chingor13
    added a commit that references this issue on Jan 22, 2026

    build(java): update autorelease script (#331)

    86fffab
  17. chingor13
    added a commit that references this issue on Feb 24, 2026

    feat: allow arbitrary additional claims for JwtClaims (#331)

    888c61c
  18. chingor13
    added a commit that references this issue on Mar 12, 2026

    feat: allow arbitrary additional claims for JwtClaims (#331)

    0753a5a
  19. suztomo
    added a commit that references this issue on Mar 23, 2026

    build(deps): update dependency com.google.cloud:google-cloud-shared-c…

    812e54d
  20. meltsufin
    added 2 commits that reference this issue on Apr 29, 2026

    chore: release 1.108.3 (#331)

    535a269

    chore: release 1.108.3 (#331)

    5c4f59f
  21. benjaminp
    added a commit that references this issue on Jul 13, 2026

    chore: turn on renovate-bot master issue for java repos (googleapis#331)

    e6a7e8b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @aozarov
    aozarov

Labels

🚨 criticalP0 critical issue. Requires immediate fixauthtriage meI really want to be triaged.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.