This is the command keystone that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator
keystone - Client for OpenStack Identity API
keystone [options] <command> [command-options]
keystone help <command>
The keystone command line utility is pending deprecation. The OpenStackClient unified
command line utility should be used instead. The keystone command line utility only
supports V2 of the Identity API whereas the OSC program supports both V2 and V3.
The keystone command line utility interacts with services providing OpenStack Identity API
To communicate with the API, you will need to be authenticated - and the keystone provides
multiple options for this.
While bootstrapping Keystone the authentication is accomplished with a shared secret token
and the location of the Identity API endpoint. The shared secret token is configured in
keystone.conf as "admin_token".
You can specify those values on the command line with --os-token and --os-endpoint, or set
them in environment variables:
Your Keystone administrative token
Your Identity API endpoint
The command line options will override any environment variables set.
If you already have accounts, you can use your OpenStack username and password. You can do
this with the --os-username, --os-password.
Keystone allows a user to be associated with one or more projects which are historically
called tenants. To specify the project for which you want to authorize against, you may
optionally specify a --os-tenant-id or --os-tenant-name.
Instead of using options, it is easier to just set them as environment variables:
Your Keystone username.
Your Keystone password.
Name of Keystone project.
ID of Keystone Tenant.
The OpenStack API server URL.
The OpenStack Identity API version.
The location for the CA truststore (PEM formatted) for this client.
The location for the keystore (PEM formatted) containing the public key of this
client. This keystore can also optionally contain the private key of this client.
OS_KEY The location for the keystore (PEM formatted) containing the private key of this
client. This value can be empty if the private key is included in the OS_CERT
For example, in Bash you'd use:
To get a list of available commands and options run:
To get usage and options of a command:
keystone help <command>
Get information about endpoint-create command:
keystone help endpoint-create
View endpoints of OpenStack services:
Create a 'service' project:
keystone tenant-create --name=service
Create service user for nova:
keystone user-create --name=nova \
--tenant_id=<project ID> \
Use keystone online using onworks.net services