bao audit enable file file_path=/var/log/openbao.log

This commit is contained in:
miwr 2025-03-18 14:21:41 +01:00
parent bc189a53e0
commit 46d6a22b65

View file

@ -25,7 +25,7 @@ server:
echo $(grep "Unseal Key 4:" /tmp/init.txt | awk '{print $NF}')| cat > /openbao/data/unseal_key4.txt
echo $(grep "Unseal Key 5:" /tmp/init.txt | awk '{print $NF}')| cat > /openbao/data/unseal_key5.txt
bao login $(grep "Initial Root Token:" /tmp/init.txt | awk '{print $NF}')
bao audit enable file file_path=/asdfsdf/sadfs.log
bao audit enable file file_path=/var/log/openbao.log
rm /tmp/init.txt
ui:
enabled: true