From 62c912b4fe53f9e91e70746d01d196b1416b97f7 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Wed, 15 Nov 2017 10:08:07 +0100 Subject: [PATCH] Update keystone v2/tokenauth example It is no longer possible to authenticate with a service token, and keystone v2 has been removed. Stop documenting it. Also correct "secrete" misspelling that can cause some confusion to linguists. Change-Id: Iac15360957f281643d20b5f3469ad56148e6d4f0 --- .../admin/identity-keystone-usage-and-features.rst | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/doc/source/admin/identity-keystone-usage-and-features.rst b/doc/source/admin/identity-keystone-usage-and-features.rst index 6d6988312e..ada063060a 100644 --- a/doc/source/admin/identity-keystone-usage-and-features.rst +++ b/doc/source/admin/identity-keystone-usage-and-features.rst @@ -12,25 +12,25 @@ example, the :command:`openstack user list` and .. code-block:: bash # Using token auth env variables - export OS_SERVICE_ENDPOINT=http://127.0.0.1:5000/v2.0/ - export OS_SERVICE_TOKEN=secrete_token + export OS_TOKEN=secret + export OS_URL=http://127.0.0.1:5000/v3/ openstack user list openstack project create demo --domain default # Using token auth flags - openstack --os-token secrete --os-endpoint http://127.0.0.1:5000/v2.0/ user list - openstack --os-token secrete --os-endpoint http://127.0.0.1:5000/v2.0/ project create demo + openstack --os-token secret --os-url http://127.0.0.1:5000/v3/ user list + openstack --os-token secret --os-url http://127.0.0.1:5000/v3/ project create demo # Using user + password + project_name env variables export OS_USERNAME=admin - export OS_PASSWORD=secrete + export OS_PASSWORD=secret export OS_PROJECT_NAME=admin openstack user list openstack project create demo --domain default # Using user + password + project-name flags - openstack --os-username admin --os-password secrete --os-project-name admin user list - openstack --os-username admin --os-password secrete --os-project-name admin project create demo + openstack --os-username admin --os-password secret --os-project-name admin user list + openstack --os-username admin --os-password secret --os-project-name admin project create demo Logging