bao audit enable file file_path=stdout

This commit is contained in:
miwr 2025-03-31 14:26:58 +02:00
parent 63b17c9e32
commit fd02d55dda

View file

@ -63,7 +63,7 @@ server:
echo $(grep "Unseal Key 5:" /tmp/init.txt | awk '{print $NF}')| cat > /openbao/data/unseal_key5.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 login $(grep "Initial Root Token:" /tmp/init.txt | awk '{print $NF}')
rm /tmp/init.txt rm /tmp/init.txt
# bao audit enable file file_path=stdout bao audit enable file file_path=stdout
bao audit enable -path="file" file file_path=/openbao/logs/openbao/openbao.log bao audit enable -path="file" file file_path=/openbao/logs/openbao/openbao.log
ui: ui:
enabled: true enabled: true