Skip to content

Instantly share code, notes, and snippets.

@hoyhoy
Last active August 14, 2026 16:45
Show Gist options
  • Select an option

  • Save hoyhoy/95dd5b3223e4912ccfba94ae0b35a530 to your computer and use it in GitHub Desktop.

Select an option

Save hoyhoy/95dd5b3223e4912ccfba94ae0b35a530 to your computer and use it in GitHub Desktop.
Vault Agent Plist ~/Library/LaunchAgents/com.hashicorp.vault-agent.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-/Apple/DTD PLIST 1.0/EN" "http:/www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.hashicorp.vault-agent</string>
<key>KeepAlive</key>
<true/>
<key>LaunchOnlyOnce</key>
<true/>
<key>RunAtLoad</key>
<true/>
<key>OtherJobEnabled</key>
<string>com.hashicorp.vaultd</string>
<key>WorkingDirectory</key>
<string>/Users/hoyhoy</string>
<key>StandardOutPath</key>
<string>/opt/vault/log/vault-agent.log</string>
<key>StandardErrorPath</key>
<string>/opt/vault/log/vault-agent.err</string>
<key>ProgramArguments</key>
<array>
<string>/run/current-system/sw/bin/vault</string>
<string>agent</string>
<string>-config=/opt/vault/etc/agent.hcl</string>
</array>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment