blob: 238b4d453aa2c09dca8b62a1a4ffb40f7f542d64 [file] [log] [blame]
Michel Nederlof3a867812017-05-15 09:46:11 +02001{%- from "glance/map.jinja" import server with context %}
2
Benjamin Drung35de7642018-02-14 23:54:30 +01003{% for reference_key, reference in server.storage.get('swift', {}).get('store', {}).get('references', {}).items() %}
Michel Nederlof3a867812017-05-15 09:46:11 +02004[{{ reference_key }}]
5# A project_name user_name pair in the project_name:user_name format to authenticate against the Swift authentication service.
6user = {{ reference.user }}
7
8# An authentication key for a user authenticating against the Swift authentication service.
9key = {{ reference.key }}
10
11# An address where the Swift authentication service is located.
12auth_address = {{ reference.auth.address }}
13
14# A version of the authentication service to use. Valid versions are 2 and 3 for Keystone and 1 (deprecated) for Swauth and Rackspace.
15# Optional. Default: 2
16auth_version = {{ reference.auth.get('version', '2') }}
17
18{%- if reference.project_domain_id is defined %}
19# A domain ID of the project which is the requested project-level authorization scope.
20# Optional. Default: None
21# This option can be specified if ``auth_version` is 3 .`
22project_domain_id = {{ reference.project_domain_id }}
23{% endif %}
24
25{%- if reference.project_domain_name is defined %}
26# A domain name of the project which is the requested project-level authorization scope.
27# Optional. Default: None
28# This option can be specified if ``auth_version` is 3 .`
29project_domain_name = {{ reference.project_domain_name }}
30{% endif %}
31
32{%- if reference.user_domain_id is defined %}
33# A domain ID of the user which is the requested domain-level authorization scope.
34# Optional. Default: None
35# This option can be specified if ``auth_version` is 3 .`
36user_domain_id = {{ reference.user_domain_id }}
37{% endif %}
38
39{%- if reference.user_domain_name is defined %}
40# A domain name of the user which is the requested domain-level authorization scope.
41# Optional. Default: None
42# This option can be specified if ``auth_version` is 3. `
43user_domain_name = {{ reference.user_domain_name }}
44{% endif %}
45
46{% endfor %}