st2 key load <file>

Load a list of key value pairs from file

Arguments

NameDescription
fileJSON/YAML file

Options

NameDescription
-h, --helpShow this help and exit
-t, --token <TOKEN>Access token for user authentication. Get ST2_AUTH_TOKEN from the environment variables by default
--api-key <API_KEY>Api Key for user authentication. Get ST2_API_KEY from the environment variables by default
-j, --jsonPrint output in JSON format
-y, --yamlPrint output in YAML format
-c, --convertConvert non-string types (hash, array, boolean, int, float) to a JSON string before loading it into the datastore