智能边缘平台 IEF-自定义策略:IEF自定义策略样例

时间:2024-09-05 15:36:09

IEF自定义策略样例

授权用户创建、更新应用和应用模板的权限。
{
    "Version": "1.1",
    "Statement": [
        {
            "Effect": "Allow",
            "Action": [
                "ief:deployment:create",
                "ief:appVersion:update",
                "ief:deployment:update",
                "ief:application:create"
            ],
            "Condition": {
                "StringEquals": {
                    "ief:AssumeUserName": [
                        "test"
                    ]
                }
            },
            "Resource": [
                "ief:*:*:deployment:*",
                "ief:*:*:appVersion:*",
                "ief:*:*:application:*"
            ]
        }
    ]
}
support.huaweicloud.com/usermanual-ief/ief_01_0065.html