summaryrefslogtreecommitdiffstats
path: root/robot
diff options
context:
space:
mode:
Diffstat (limited to 'robot')
-rw-r--r--robot/assets/templates/keystone_get_v2_auth.template (renamed from robot/assets/templates/keystone_get_auth.template)1
-rw-r--r--robot/assets/templates/keystone_get_v3_auth.template26
2 files changed, 27 insertions, 0 deletions
diff --git a/robot/assets/templates/keystone_get_auth.template b/robot/assets/templates/keystone_get_v2_auth.template
index c3fa82f6..97182b02 100644
--- a/robot/assets/templates/keystone_get_auth.template
+++ b/robot/assets/templates/keystone_get_v2_auth.template
@@ -7,3 +7,4 @@
}
}
}
+
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}" }
+ }
+ }
+ }
+}
+