Skip to content

Add option to provide token via CLI #801

@adhilto

Description

@adhilto

Prerequisites

  • This issue has an informative and human-readable title.

💡 Summary

Add option to allow users to directly provide a token via the CLI instead of a path to a credentials file.

Motivation and context

Will be useful for automation.

Implementation notes

Example of authentication via a token string:

    def __init__(self, access_token: str, svc_account_email: str = None):
        self._svc_account_email = svc_account_email
        self._token = Credentials(token=access_token, scopes=self._scopes)
        ...

Acceptance criteria

  • Ability to pass token via CLI arg is added

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions