Skip to content

Specify path to token in env var #90

Description

@MrCreosote

Currently there are 2 methods to get a token into the callback server:

https://github.com/kbase/JobRunner/blob/main/JobRunner/config.py#L12-L22

  • an env var (e.g. -e KB_AUTH_TOKEN=token), which might show up in ps output
  • a file called token in the cwd.

Add an env var that specifies the path to a token file.

Activity

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

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