Adding temporary auth config

Change-Id: I7ab3777cd4cc5c95345e0f4399e09b565c76fd30
This commit is contained in:
John Vrbanac 2014-02-02 23:43:12 -06:00
parent 477926f3de
commit e8ee8f8cbd
2 changed files with 9 additions and 0 deletions

View File

@ -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):

View File

@ -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>