3 Commits

Author SHA1 Message Date
Takashi Kajinami
af93169d4d Accept system scope credentials for Keystone API request
This change is the first step to support secure RBAC and allows usage
of system scope credentials for Keystone API request.

This change covers the following three items.
 - assignment of system scope roles to system user
 - credential parameters for authtoken middleware
 - credential parameters for service token feature

Note that the credential parameters for authtoken middleware are
used in some providers, and these providers still require a project
scope credential. This will be fixed by the subsequent change.

Depends-on: https://review.opendev.org/804325
Change-Id: Ibd7afcb121b669cf533b077b926637b092e3df19
2021-11-25 20:37:08 +09:00
Takashi Kajinami
69c1295a6e Do not test service_user parameters directly
The service_user parameters are not managed directly but managed by
the keystone::resource::service_user resource type. Thus we should
avoid testing parameters directly otherwise any change in the resource
type can cause test failures.

Change-Id: Id2470a87fc08d3c8d52743333487f7fbf6cb7cbe
2021-08-27 22:11:54 +09:00
Takashi Kajinami
9cde9d9326 Implement class to configure parameters to use service token
This patch introduces nova::keystone::service_user class
to configure parameters to enable service token feature
in Nova.

Depends-on: https://review.opendev.org/#/c/666467/
Change-Id: I0400fdbaf098121c0f5e380379b7cfb660963ddd
2019-08-01 12:51:57 +09:00