aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/aai/components/aai-data-router/resources/config/auth
diff options
context:
space:
mode:
authorKrzysztof Opasiak <k.opasiak@samsung.com>2020-12-04 21:33:02 +0000
committerGerrit Code Review <gerrit@onap.org>2020-12-04 21:33:02 +0000
commit2dce7527bc6a7c88934eb07f16e2b1b568fb29a6 (patch)
treeeb1b92897c63e1f8f6b63b269beb75e2d31316ce /kubernetes/aai/components/aai-data-router/resources/config/auth
parent402744dfb6a0c0b1de43614c9919d513a24ee729 (diff)
parent7007041548231606f3a2f0f98419d43619340bda (diff)
Merge "[AAI] Reintegrate AAI OOM charts in main repo"
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