googleads / googleads/googleads-dotnet-lib

Support for loading credentials from environment variables

Open
#259 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
108
Forks
198
PR merge metrics
No merged PRs in 30d

Description

Currently when using OAuth2, credentials can be specified by setting the oAuth2SecretsJsonPath property. It would be great if another property existed named oAuth2SecretsJson so that the secrets don't have to be written to disk but instead can be read directly from environment variables.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the OAuth2 configuration that currently handles oAuth2SecretsJsonPath in the .NET client library. Trace how that property loads credentials, then define the corresponding oAuth2SecretsJson path for reading JSON directly from environment-provided configuration; the work is done when OAuth2 credentials can be supplied without writing a secrets file.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
authentication
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.