Documentation ¶
Overview ¶
Package iampolicy provides primitives for working with IAM policies.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddBinding ¶ added in v0.6.0
func AddBinding(policy *iam.Policy, role, member string)
AddBinding adds the provided role and member binding to the policy. If the role and member already exists, no updates are made. No validation on the role or member is performed.
func RemoveBinding ¶ added in v0.6.0
func RemoveBinding(policy *iam.Policy, role, member string)
RemoveBinding removes the provided role and member binding from the policy. If a binding of the the role and member don't exist, no updates are made. No validation on the role or member is performed.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.