Debian Codegraph @

doc/source/cli/index.rst

raw
1 =============================
2 Command-line Tool Reference
3 =============================
4
5 In order to use the CLI, you must provide your OpenStack username,
6 password, tenant, and auth endpoint. Use the corresponding
7 configuration options (``--os-username``, ``--os-password``,
8 ``--os-project-id``, and ``--os-auth-url``) or set them in environment
9 variables::
10
11 export OS_USERNAME=user
12 export OS_PASSWORD=pass
13 export OS_PROJECT_ID=b363706f891f48019483f8bd6503c54b
14 export OS_AUTH_URL=http://auth.example.com:5000/v2.0
15
16 The command line tool will attempt to reauthenticate using your
17 provided credentials for every request. You can override this behavior
18 by manually supplying an auth token using ``--os-image-url`` and
19 ``--os-auth-token``. You can alternatively set these environment
20 variables::
21
22 export OS_IMAGE_URL=http://glance.example.org:9292/
23 export OS_AUTH_TOKEN=3bcc3d3a03f44e3d8377f9247b0ad155
24
25 Once you've configured your authentication parameters, you can run
26 ``glance help`` to see a complete listing of available commands.
27
28 .. toctree::
29
30 details
31 property-keys
32 glance