aboutsummaryrefslogtreecommitdiffstats
path: root/charts/aai-babel/resources/config/auth
diff options
context:
space:
mode:
authorMichael Arrastia <MArrasti@amdocs.com>2018-03-29 14:53:40 +0100
committerMichael Arrastia <MArrasti@amdocs.com>2018-04-11 16:24:02 +0100
commit66b071a49dc894563d77dca3c673bd5e910f6be7 (patch)
treec0135c3d2b3f9a54d6bb42534305b81d561c66e3 /charts/aai-babel/resources/config/auth
parent8bc9a7ca202e417cd82b1fd639c11a4a2daf6a56 (diff)
Add BABEL chart to AAI
Includes: - aligned chart name - image name updated with version set to latest - handling of passwords as secrets Issue-ID: AAI-974 Change-Id: I5898364059217e77a80f43067acd6a343f893117 Signed-off-by: Michael Arrastia <MArrasti@amdocs.com>
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 -> 17136 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..5340a6a
--- /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=someone.onap.org, OU=someone, O=\"ONAP ORG\", L=NA, ST=NA, C=NA"}
+ ]
+ },
+ {
+ "name": "ops",
+ "functions": [{
+ "name": "actions",
+ "methods": [{"name": "POST"}]
+ }],
+ "users": [
+ {"username": "CN=someone.onap.org, OU=someone, O=\"ONAP ORG\", L=NA, ST=NA, C=NA"}
+ ]
+ },
+ {
+ "name": "readonly",
+ "functions": [
+ {
+ "name": "actions",
+ "methods": [{"name": "GET"}]
+ }
+ ],
+ "users": [
+ {"username": "CN=someone.onap.org, OU=someone, O=\"ONAP ORG\", L=NA, ST=NA, C=NA"}
+ ]
+ },
+ {
+ "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..cbec390
--- /dev/null
+++ b/charts/aai-babel/resources/config/auth/tomcat_keystore
Binary files differ