:~# keystone user-list

Expecting authentication method via
 either a service token, --token or env[SERVICE_TOKEN],
 or credentials, --os_username or env[OS_USERNAME].

You can get .sh script.

wget https://github.com/OpenStackCookbook/OpenStackCookbook/blob/master/keystone.sh

export OS_TENANT_NAME=admin

export OS_USERNAME=admin
export OS_PASSWORD=admin
export OS_AUTH_URL=http://localhost:5000/v2.0/