diff options
Diffstat (limited to 'champ-service/appconfig/auth/champ_policy.json')
-rw-r--r-- | champ-service/appconfig/auth/champ_policy.json | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/champ-service/appconfig/auth/champ_policy.json b/champ-service/appconfig/auth/champ_policy.json new file mode 100644 index 0000000..a39a146 --- /dev/null +++ b/champ-service/appconfig/auth/champ_policy.json @@ -0,0 +1,18 @@ +{ + "roles": [ + { + "name": "admin", + "functions": [ + { + "name": "champ", "methods": [ { "name": "GET" },{ "name": "DELETE" }, { "name": "PUT" }, { "name": "POST" } ] + } + ], + + "users": [ + { + "username": "CN=ONAP, OU=ONAP, O=ONAP, L=Ottawa, ST=Ontario, C=CA" + } + ] + } + ] +} |