Skip to content

Specify path to token in env var #90

@MrCreosote

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions