aboutsummaryrefslogtreecommitdiffstats
path: root/charts/aai-babel/resources/config/auth
diff options
context:
space:
mode:
authorJessica Wagantall <jwagantall@linuxfoundation.org>2019-04-22 11:57:18 -0700
committerJessica Wagantall <jwagantall@linuxfoundation.org>2019-04-22 11:58:36 -0700
commit9b34a8a4d357fc5a03875f99244f48bdd8b2d03e (patch)
treedbabc5e56188f200913bcefb75424febaabe9952 /charts/aai-babel/resources/config/auth
parent9a427329607433c038f9a8fec8d866f354881234 (diff)
parent201670e70e53a3a9b7e2e8536e8e6719a8ebbab8 (diff)
OOM code transfer for AAI
Transfer code from oom/kubernetes/aai into the aai/oom tech team repo. Change-Id: I7bcd43ff9acbc12ae36c95e3ebcee567fb7572cf Issue-ID: CIMAN-250 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
Diffstat (limited to 'charts/aai-babel/resources/config/auth')
-rw-r--r--charts/aai-babel/resources/config/auth/auth_policy.json47
-rw-r--r--charts/aai-babel/resources/config/auth/tomcat_keystorebin0 -> 2214 bytes
2 files changed, 47 insertions, 0 deletions
diff --git a/charts/aai-babel/resources/config/auth/auth_policy.json b/charts/aai-babel/resources/config/auth/auth_policy.json
new file mode 100644
index 0000000..ff33c17
--- /dev/null
+++ b/charts/aai-babel/resources/config/auth/auth_policy.json
@@ -0,0 +1,47 @@
+{"roles": [
+ {
+ "name": "admin",
+ "functions": [
+ {
+ "name": "generateArtifacts",
+ "methods": [{"name": "POST"}]
+ }
+ ],
+ "users": [
+ {"username": "CN=ONAP, OU=ONAP, O=ONAP, L=Ottawa, ST=Ontario, C=CA"}
+ ]
+ },
+ {
+ "name": "ops",
+ "functions": [{
+ "name": "actions",
+ "methods": [{"name": "POST"}]
+ }],
+ "users": [
+ {"username": "CN=ONAP, OU=ONAP, O=ONAP, L=Ottawa, ST=Ontario, C=CA"}
+ ]
+ },
+ {
+ "name": "readonly",
+ "functions": [
+ {
+ "name": "actions",
+ "methods": [{"name": "GET"}]
+ }
+ ],
+ "users": [
+ {"username": "CN=ONAP, OU=ONAP, O=ONAP, L=Ottawa, ST=Ontario, C=CA"}
+ ]
+ },
+ {
+ "name": "basicauth",
+ "functions": [{
+ "name": "util",
+ "methods": [{"name": "GET"}]
+ }],
+ "users": [{
+ "user": "aai",
+ "pass": "OBF:deadbeef"
+ }]
+ }
+]}
diff --git a/charts/aai-babel/resources/config/auth/tomcat_keystore b/charts/aai-babel/resources/config/auth/tomcat_keystore
new file mode 100644
index 0000000..9eec841
--- /dev/null
+++ b/charts/aai-babel/resources/config/auth/tomcat_keystore
Binary files differ