Skip to content

Use Windows System environment variable in host_key #13520

Answered by neuronull
marketier asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @marketier !

Yes, you should be able to use environment variables to configure the host_key.

(see https://vector.dev/docs/reference/configuration/#environment-variables)

Try:

host_key = "${HOST_ALIAS_ENV_VAR}"

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by marketier
Comment options

You must be logged in to vote
3 replies
@jszwedko
Comment options

@jszwedko
Comment options

@marketier
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants