Skip to content
This repository has been archived by the owner on Jun 2, 2022. It is now read-only.

Commit

Permalink
Add envvar to RDR authentication option
Browse files Browse the repository at this point in the history
Given that the authentication key for RDR is something we'd like to keep
secret, I'm adding the ability to set this option through an environment
variable.
  • Loading branch information
Mike Graves committed Oct 20, 2020
1 parent 47762ba commit a269878
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hoard/cli.py
Expand Up @@ -41,7 +41,7 @@ def main():
"source", type=click.Choice(["jpal", "llab", "whoas"], case_sensitive=False)
)
@click.argument("source_url")
@click.option("--key", "-k", help="RDR authentication key.")
@click.option("--key", "-k", envvar="HOARD_RDR_KEY", help="RDR authentication key.")
@click.option(
"--parent", "-p", default="root", help="Parent dataverse to ingest items into."
)
Expand Down

0 comments on commit a269878

Please sign in to comment.