aboutsummaryrefslogtreecommitdiffstats
path: root/appconfig-local/auth/auth_policy.json
blob: 5340a6ac7523e6c46caa56058789ef5187e58998 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
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"
        }]
    }
]}