1 # Use this pipeline for no auth or image caching - DEFAULT
3 pipeline = cors healthcheck versionnegotiation osprofiler unauthenticated-context rootapp
5 # Use this pipeline for image caching and no auth
6 [pipeline:glance-api-caching]
7 pipeline = cors healthcheck versionnegotiation osprofiler unauthenticated-context cache rootapp
9 # Use this pipeline for caching w/ management interface but no auth
10 [pipeline:glance-api-cachemanagement]
11 pipeline = cors healthcheck versionnegotiation osprofiler unauthenticated-context cache cachemanage rootapp
13 # Use this pipeline for keystone auth
14 [pipeline:glance-api-keystone]
15 pipeline = cors healthcheck versionnegotiation osprofiler authtoken context rootapp
17 # Use this pipeline for keystone auth with image caching
18 [pipeline:glance-api-keystone+caching]
19 pipeline = cors healthcheck versionnegotiation osprofiler authtoken context cache rootapp
21 # Use this pipeline for keystone auth with caching and cache management
22 [pipeline:glance-api-keystone+cachemanagement]
23 pipeline = cors healthcheck versionnegotiation osprofiler authtoken context cache cachemanage rootapp
25 # Use this pipeline for authZ only. This means that the registry will treat a
26 # user as authenticated without making requests to keystone to reauthenticate
28 [pipeline:glance-api-trusted-auth]
29 pipeline = cors healthcheck versionnegotiation osprofiler context rootapp
31 # Use this pipeline for authZ only. This means that the registry will treat a
32 # user as authenticated without making requests to keystone to reauthenticate
33 # the user and uses cache management
34 [pipeline:glance-api-trusted-auth+cachemanagement]
35 pipeline = cors healthcheck versionnegotiation osprofiler context cache cachemanage rootapp
38 paste.composite_factory = glance.api:root_app_factory
44 paste.app_factory = glance.api.versions:create_resource
47 paste.app_factory = glance.api.v1.router:API.factory
50 paste.app_factory = glance.api.v2.router:API.factory
53 paste.filter_factory = oslo_middleware:Healthcheck.factory
54 backends = disable_by_file
55 disable_by_file_path = /etc/glance/healthcheck_disable
57 [filter:versionnegotiation]
58 paste.filter_factory = glance.api.middleware.version_negotiation:VersionNegotiationFilter.factory
61 paste.filter_factory = glance.api.middleware.cache:CacheFilter.factory
64 paste.filter_factory = glance.api.middleware.cache_manage:CacheManageFilter.factory
67 paste.filter_factory = glance.api.middleware.context:ContextMiddleware.factory
69 [filter:unauthenticated-context]
70 paste.filter_factory = glance.api.middleware.context:UnauthenticatedContextMiddleware.factory
73 paste.filter_factory = keystonemiddleware.auth_token:filter_factory
74 delay_auth_decision = true
77 paste.filter_factory = glance.api.middleware.gzip:GzipMiddleware.factory
80 paste.filter_factory = osprofiler.web:WsgiMiddleware.factory
81 hmac_keys = SECRET_KEY #DEPRECATED
82 enabled = yes #DEPRECATED
85 paste.filter_factory = oslo_middleware.cors:filter_factory
86 oslo_config_project = glance
87 oslo_config_program = glance-api