Skip to content

Commit

Permalink
add an example for eim policy for capi controllers
Browse files Browse the repository at this point in the history
Signed-off-by: hanenMizouni <[email protected]>
  • Loading branch information
outscale-hmi committed Nov 20, 2024
1 parent b884c2c commit 945f90e
Showing 1 changed file with 62 additions and 0 deletions.
62 changes: 62 additions & 0 deletions eim-policy.example.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"api:CreateInternetService",
"api:CreateLoadBalancer",
"api:CreateLoadBalancerTags",
"api:CreateNatService",
"api:CreateNet",
"api:CreatePublicIp",
"api:CreateRoute",
"api:CreateRouteTable",
"api:CreateSecurityGroup",
"api:CreateSecurityGroupRule",
"api:CreateSubnet",
"api:CreateVms",
"api:CreateVolume",
"api:DeleteInternetService",
"api:DeleteLoadBalancer",
"api:DeleteLoadBalancerTags",
"api:DeleteNatService",
"api:DeleteNet",
"api:DeletePublicIp",
"api:DeleteRoute",
"api:DeleteRouteTable",
"api:DeleteSecurityGroup",
"api:DeleteSecurityGroupRule",
"api:DeleteSubnet",
"api:DeleteVms",
"api:DeleteVolume",
"api:GetApi",
"api:LinkInternetService",
"api:LinkLoadBalancerBackendMachines",
"api:LinkPublicIp",
"api:LinkRouteTable",
"api:LinkVolume",
"api:ReadImages",
"api:ReadInternetServices",
"api:ReadLoadBalancerTags",
"api:ReadLoadBalancers",
"api:ReadNatServices",
"api:ReadNets",
"api:ReadPublicIps",
"api:ReadRouteTables",
"api:ReadSecurityGroups",
"api:ReadSubnets",
"api:ReadTags",
"api:ReadVms",
"api:ReadVolumes",
"api:UnlinkInternetService",
"api:UnlinkLoadBalancerBackendMachines",
"api:UnlinkPublicIp",
"api:UnlinkRouteTable",
"api:UnlinkVolume",
"api:UpdateLoadBalancer"
],
"Resource": "*"
}
]
}

0 comments on commit 945f90e

Please sign in to comment.