Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[8.15] Add section about Env Provider availability for Fleet-managed agent (backport #1285) #1302

Merged
merged 1 commit into from
Sep 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[[fleet-agent-environment-variables]]
= Set environment variables in an {agent} policy

As an advanced use case, you may wish to configure environment variables in your {agent} policy. This is useful, for example, if there are configuration details about the system on which {agent} is running that you may not know in advance. As a solution, you may want to configure environment variables to be interpreted by {agent} at runtime, using information from the running environment.

For {fleet}-managed {agents}, you can configure environment variables using the <<env-provider,Env Provider>>. Refer to <<dynamic-input-configuration,Variables and conditions in input configurations>> in the standalone {agent} documentation for more detail.
2 changes: 2 additions & 0 deletions docs/en/ingest-management/index.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,8 @@ include::create-agent-policies-no-UI.asciidoc[leveloffset=+3]

include::override-policy-settings.asciidoc[leveloffset=+3]

include::agent-policies-environment-variables.asciidoc[leveloffset=+3]

include::security/fleet-roles-and-privileges.asciidoc[leveloffset=+2]

include::security/enrollment-tokens.asciidoc[leveloffset=+2]
Expand Down