diff --git a/cloudcafe/cloudkeep/config.py b/cloudcafe/cloudkeep/config.py index 13b417b8..8fa88383 100644 --- a/cloudcafe/cloudkeep/config.py +++ b/cloudcafe/cloudkeep/config.py @@ -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): diff --git a/configs/cloudkeep/reference.config b/configs/cloudkeep/reference.config index 5d11f06c..1314e45f 100644 --- a/configs/cloudkeep/reference.config +++ b/configs/cloudkeep/reference.config @@ -53,6 +53,7 @@ payload_content_type=application/octet-stream payload_content_encoding=base64 [tokens_api] +auth_type= authentication_endpoint= username= password=