Browse Source

Add keystone_authtoken macros

Change-Id: Icd3a2276097a52e77a31cb7eeeffb2d5bca8492b
changes/59/432959/2
Sergey Reshetnyak 2 years ago
parent
commit
f042f50c0e
1 changed files with 12 additions and 0 deletions
  1. 12
    0
      exports/keystone_authtoken.j2

+ 12
- 0
exports/keystone_authtoken.j2 View File

@@ -0,0 +1,12 @@
1
+{% macro keystone_authtoken(username, password) -%}
2
+[keystone_authtoken]
3
+auth_uri = {{ address("keystone", keystone.public_port, with_scheme=True) }}
4
+auth_url = {{ address("keystone", keystone.admin_port, with_scheme=True) }}
5
+auth_type = password
6
+project_domain_name = {{ service_account.domain }}
7
+user_domain_name = {{ service_account.domain }}
8
+project_name = {{ service_account.project }}
9
+username = {{ username }}
10
+password = {{ password }}
11
+memcached_servers = {{ address("memcached", memcached.port) }}
12
+{%- endmacro %}

Loading…
Cancel
Save