]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
Migrate stored credentials to keystone trusts
authorSteven Hardy <shardy@redhat.com>
Mon, 2 Sep 2013 15:32:40 +0000 (16:32 +0100)
committerSteven Hardy <shardy@redhat.com>
Tue, 3 Sep 2013 23:12:07 +0000 (00:12 +0100)
commite686699b00ee2ca190946261677d89641707e6c6
tree4b97fa0d2968e82f67180ad04cd5072b6fc2cf92
parentff0122f83f13082b3a89f38fe2aa0b52c7e6d492
Migrate stored credentials to keystone trusts

Migrate the stored user_creds, which currently only supports
storing username/password credentials to use the keystone v3
API OS-TRUST extension, which allows explicit impersonation of
users calling heat (trustors) by the heat service user (the
trustee)

Note this feature is made optional via a new config option,
defaulted to off, and it requires the following patches to
keystoneclient (in 0.3.2 release) and keystone to work:

https://review.openstack.org/#/c/39899/
https://review.openstack.org/#/c/42456/

Also note that if the feature is enabled, by setting
deferred_auth_method=trusts in heat.conf, you must add
a keystone_authtoken section, which is also used by the
keystoneclient auth_token middleware.

blueprint heat-trusts

Change-Id: I288114d827481bc0a24eba4556400d98b1a44c09
12 files changed:
etc/heat/heat.conf.sample
heat/common/config.py
heat/common/heat_keystoneclient.py
heat/engine/service.py
heat/tests/fakes.py
heat/tests/test_ceilometer_alarm.py
heat/tests/test_engine_service.py
heat/tests/test_heatclient.py
heat/tests/test_metadata_refresh.py
heat/tests/test_signal.py
heat/tests/utils.py
requirements.txt