User was following this doc to access key value items instead of datastore services but it looks like we don't set the ST2_AUTH_TOKEN env variable in action runners. This means the same code works in sensor but fails in action complaining about auth.
lkannan@HQ2-LC02QV2NDFVH8 /Volumes/workspace/src/storm/st2 (master●)$ ag "AUTH_TOKEN_ENV_VARIABLE_NAME" [ruby-2.0.0p648]
st2common/st2common/constants/system.py
22: 'AUTH_TOKEN_ENV_VARIABLE_NAME',
29:AUTH_TOKEN_ENV_VARIABLE_NAME = 'ST2_AUTH_TOKEN'
st2reactor/st2reactor/container/process_container.py
30:from st2common.constants.system import AUTH_TOKEN_ENV_VARIABLE_NAME
297: env[AUTH_TOKEN_ENV_VARIABLE_NAME] = temporary_token.token
lkannan@HQ2-LC02QV2NDFVH8 /Volumes/workspace/src/storm/st2 (master●)$
Also related: StackStorm/st2docs#156