"consul agent" should support -token-file #9723
Comments
|
Hi @jsosulska, can I give it a try? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
|
Hi @jsosulska, can I give it a try? |
Please search the existing issues for relevant feature requests, and use the reaction feature (https://blog.github.com/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/) to add upvotes to pre-existing requests.
Feature Description
The
consul logincommand has the ability to write tokens to files, namely the-token-sink-fileoption. It would be nice if theconsul agentcommand would get a-token-fileoption (incl. the CONSUL_HTTP_TOKEN_FILE env var) to make those two commands integrate nicely.Use Case(s)
Generating a token and then using it requires to manually or using 3rd party tools (e.g. jq) to produce valid client config files or hcl fragments.
The text was updated successfully, but these errors were encountered: