summaryrefslogtreecommitdiffstats
path: root/kubernetes/aai/components/aai-data-router/resources/config/auth
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/aai/components/aai-data-router/resources/config/auth')
-rw-r--r--kubernetes/aai/components/aai-data-router/resources/config/auth/client-cert-onap.p12bin0 -> 2556 bytes
-rw-r--r--kubernetes/aai/components/aai-data-router/resources/config/auth/data-router_policy.json18
-rw-r--r--kubernetes/aai/components/aai-data-router/resources/config/auth/tomcat_keystorebin0 -> 4767 bytes
3 files changed, 18 insertions, 0 deletions
diff --git a/kubernetes/aai/components/aai-data-router/resources/config/auth/client-cert-onap.p12 b/kubernetes/aai/components/aai-data-router/resources/config/auth/client-cert-onap.p12
new file mode 100644
index 0000000000..dbf4fcacec
--- /dev/null
+++ b/kubernetes/aai/components/aai-data-router/resources/config/auth/client-cert-onap.p12
Binary files differ
diff --git a/kubernetes/aai/components/aai-data-router/resources/config/auth/data-router_policy.json b/kubernetes/aai/components/aai-data-router/resources/config/auth/data-router_policy.json
new file mode 100644
index 0000000000..c03870e288
--- /dev/null
+++ b/kubernetes/aai/components/aai-data-router/resources/config/auth/data-router_policy.json
@@ -0,0 +1,18 @@
+{
+ "roles": [
+ {
+ "name": "admin",
+ "functions": [
+ {
+ "name": "search", "methods": [ { "name": "GET" },{ "name": "DELETE" }, { "name": "PUT" }, { "name": "POST" } ]
+ }
+ ],
+
+ "users": [
+ {
+ "username": "CN=ONAP, OU=ONAP, O=ONAP, L=Ottawa, ST=Ontario, C=CA"
+ }
+ ]
+ }
+ ]
+}
diff --git a/kubernetes/aai/components/aai-data-router/resources/config/auth/tomcat_keystore b/kubernetes/aai/components/aai-data-router/resources/config/auth/tomcat_keystore
new file mode 100644
index 0000000000..7a7738602d
--- /dev/null
+++ b/kubernetes/aai/components/aai-data-router/resources/config/auth/tomcat_keystore
Binary files differ