Updated on 2023-11-24 GMT+08:00

IEF Custom Policies

IEF allows you to create custom policies.

You can create custom policies in either of the following ways:

  • Visual editor: Select cloud services, actions, resources, and request conditions. This does not require knowledge of policy syntax.
  • JSON: Edit JSON policies from scratch or based on an existing policy.

For details, see Creating a Custom Policy.. The following section contains examples of common IEF custom policies.

Example Custom Policies

Allowing users to create and update applications and application templates
{
    "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:*"
            ]
        }
    ]
}