st2 key list

Get the list of the 50 most recent key value pairs

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
--attr <ATTR...>List of attributes to include in the output. 'all' or unspecified will return all attributes
-w, --width <WIDTH...>Set the width of the columns in output
--prefix <PREFIX>Only return values with names starting with the provided prefix
-d, --decryptDecrypt secrets and displays plain text
-s, --scopeScope item is under. Example: 'user'
-u, --user <USER>User under which to run the action (admins only)
-n, --last <LAST>List N most recent; use -n -1 to fetch the full result set