diff --git a/templates/api-paste.ini.j2 b/templates/api-paste.ini.j2 index b1068ef..986a4a2 100644 --- a/templates/api-paste.ini.j2 +++ b/templates/api-paste.ini.j2 @@ -22,6 +22,13 @@ pipeline = cors request_id faultwrap http_proxy_to_wsgi versionnegotiation authu [pipeline:heat-api-custombackend] pipeline = cors request_id faultwrap versionnegotiation context custombackendauth apiv1app +# To enable, in heat.conf: +# [paste_deploy] +# flavor = noauth +# +[pipeline:heat-api-noauth] +pipeline = cors request_id faultwrap http_proxy_to_wsgi versionnegotiation noauth context apiv1app + # heat-api-cfn pipeline [pipeline:heat-api-cfn] pipeline = cors http_proxy_to_wsgi cfnversionnegotiation osprofiler ec2authtoken authtoken context apicfnv1app @@ -97,6 +104,10 @@ paste.filter_factory = heat.common.auth_password:filter_factory [filter:custombackendauth] paste.filter_factory = heat.common.custom_backend_auth:filter_factory +# Auth middleware that accepts any auth +[filter:noauth] +paste.filter_factory = heat.common.noauth:filter_factory + # Middleware to set x-openstack-request-id in http response header [filter:request_id] paste.filter_factory = oslo_middleware.request_id:RequestId.factory