Adding temporary auth config
Change-Id: I7ab3777cd4cc5c95345e0f4399e09b565c76fd30
This commit is contained in:
parent
477926f3de
commit
e8ee8f8cbd
@ -15,6 +15,14 @@ limitations under the License.
|
||||
"""
|
||||
|
||||
from cloudcafe.common.models.configuration import ConfigSectionInterface
|
||||
from cloudcafe.identity.config import IdentityTokenConfig
|
||||
|
||||
|
||||
class CloudKeepAuthConfig(IdentityTokenConfig):
|
||||
""" Temporary Hack until we can refactor identity in CloudCAFE """
|
||||
@property
|
||||
def auth_type(self):
|
||||
return str(self.get("auth_type")).lower()
|
||||
|
||||
|
||||
class MarshallingConfig(ConfigSectionInterface):
|
||||
|
@ -53,6 +53,7 @@ payload_content_type=application/octet-stream
|
||||
payload_content_encoding=base64
|
||||
|
||||
[tokens_api]
|
||||
auth_type=<auth_type>
|
||||
authentication_endpoint=<auth_endpoint>
|
||||
username=<keystone_user>
|
||||
password=<keystone_password>
|
||||
|
Loading…
Reference in New Issue
Block a user