summaryrefslogtreecommitdiffstats
path: root/robot/assets/templates/keystone_get_v3_auth.template
diff options
context:
space:
mode:
authorAh <Ashwini.Ah@arris.com>2018-10-04 12:08:25 +0530
committerAshwini <ashwini.ah@arris.com>2018-10-04 15:17:58 +0530
commitceacbbbc139ea848c14a7896d2a895810cadfa00 (patch)
tree228693e61c70726c7b179a61ac80dbe90009f1da /robot/assets/templates/keystone_get_v3_auth.template
parent2f3b84630ab4176c95f7d8a1cb6cc1fedb28ef54 (diff)
Programmatically determining keystone api version
Issue-ID: TEST-39 Change-Id: Iae3c27af601a82d5e15744c682741841f76e839e Signed-off-by: Ah <Ashwini.Ah@arris.com>
Diffstat (limited to 'robot/assets/templates/keystone_get_v3_auth.template')
-rw-r--r--robot/assets/templates/keystone_get_v3_auth.template26
1 files changed, 26 insertions, 0 deletions
diff --git a/robot/assets/templates/keystone_get_v3_auth.template b/robot/assets/templates/keystone_get_v3_auth.template
new file mode 100644
index 00000000..49623367
--- /dev/null
+++ b/robot/assets/templates/keystone_get_v3_auth.template
@@ -0,0 +1,26 @@
+{
+ "auth": {
+ "identity": {
+ "methods": [
+ "password"
+ ],
+ "password": {
+ "user": {
+ "name": "${username}",
+ "domain": {
+ "id": "${domain_id}"
+ },
+ "password": "${password}"
+ }
+ }
+
+ },
+ "scope": {
+ "project": {
+ "name": "${project_name}",
+ "domain": { "id": "${domain_id}" }
+ }
+ }
+ }
+}
+