Skip to content

Commit 39248f8

Browse files
committed
add wazuh keypaths for multiple environments to docs
1 parent e567738 commit 39248f8

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

doc/source/configuration/wazuh.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ You may need to modify some of the variables, including:
231231
for example ``etc/kayobe/environments/production/inventory/group_vars/``.
232232

233233
Files which values can be overridden (in the context of Wazuh):
234-
234+
235235
- etc/kayobe/inventory/group_vars/wazuh/wazuh-manager/wazuh-manager
236236
- etc/kayobe/wazuh-manager.yml
237237
- etc/kayobe/inventory/group_vars/wazuh/wazuh-agent/wazuh-agent
@@ -317,6 +317,9 @@ If you are using the wazuh generated certificates,
317317
this will result in the creation of some certificates and keys (in case of custom certs adjust path to it).
318318
Encrypt the keys (and remember to commit to git):
319319

320+
``ansible-vault encrypt --vault-password-file ~/vault.pass $KAYOBE_CONFIG_PATH/environments/<environment>/wazuh/wazuh-certificates/*.key``
321+
322+
if using the kayobe environments feature, otherwise:
320323

321324
``ansible-vault encrypt --vault-password-file ~/vault.pass $KAYOBE_CONFIG_PATH/ansible/wazuh/certificates/certs/*.key``
322325

0 commit comments

Comments
 (0)