Skip to content

Commit

Permalink
Clarify how to pass contents of file to engflow_auth import command (
Browse files Browse the repository at this point in the history
…#51)

- Add clarifications for how to store token and pass contents to
`engflow_auth import` command.
  • Loading branch information
nlopezgi authored Sep 13, 2024
1 parent 8495458 commit 88157ed
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,9 @@ You can use `engflow_auth` to authenticate when no web browser is available, for
1. At the beginning of a job, retrieve the secret and import it on stdin using the command below. The `-store=file` flag may be necessary to store the credential as an unencrypted file instead of your encrypted keyring. Non-interactive environments typically don't have an encrypted keyring.

```bash
engflow_auth import -store=file <<<"${ENGFLOW_CRED}"
engflow_auth import -store=file <<<'${ENGFLOW_CRED}'
```
Replace `${ENGFLOW_CRED}` with the credential exported previously.

1. At the end of a job, remove the credential using the command below.

Expand Down

0 comments on commit 88157ed

Please sign in to comment.