From 7e63572df6bbd5f6cc2ddb4e56f5327ece26381f Mon Sep 17 00:00:00 2001 From: Ryan Uber Date: Mon, 22 Jun 2015 17:19:07 -0700 Subject: [PATCH] website: document -token parameter for exec/event commands --- website/source/docs/commands/event.html.markdown | 2 ++ website/source/docs/commands/exec.html.markdown | 3 +++ 2 files changed, 5 insertions(+) diff --git a/website/source/docs/commands/event.html.markdown b/website/source/docs/commands/event.html.markdown index 3a274cc3a1..ecfb63fcfc 100644 --- a/website/source/docs/commands/event.html.markdown +++ b/website/source/docs/commands/event.html.markdown @@ -56,3 +56,5 @@ The list of available flags are: a matching tag. This must be used with `-service`. As an example, you may do "-service mysql -tag slave". +* `-token` - The ACL token to use when firing the event. This token must have + write-level privileges for the event specified. Defaults to that of the agent. diff --git a/website/source/docs/commands/exec.html.markdown b/website/source/docs/commands/exec.html.markdown index c67e4e06dd..b2dd12f113 100644 --- a/website/source/docs/commands/exec.html.markdown +++ b/website/source/docs/commands/exec.html.markdown @@ -62,3 +62,6 @@ The list of available flags are: * `-verbose` - Enables verbose output. +* `-token` - The ACL token to use during requests. This token must have access + to the prefix in the KV store as well as exec "write" access for the _rexec + event. Defaults to that of the agent.