Skip to content

ts-bridge needs argument credentials support #45

@Temikus

Description

@Temikus

Currently we don't support passing credentials to ts-bridge directly. It's all done through google-cloud-go library support, so classic application default credentials.

Design:

  • App would support additional 2 methods of auth:
    • `--google-json-key" argument and associated env variable allowing to pass in a JSON account key to the app
    • `--google-json-key-string" argument and associated env variable allowing to pass the same account key file as a string
  • If set, those flags must override other methods of selecting auth (library already does it so it should be enough to just be careful when piping the options through)

This should require just piping through the options from the lib, described here: https://github.com/googleapis/google-cloud-go#authorization

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions