PolicyManager interface for managing IAM policies
| 130 | |
| 131 | // PolicyManager interface for managing IAM policies |
| 132 | type PolicyManager interface { |
| 133 | GetPolicies(ctx context.Context) (map[string]policy_engine.PolicyDocument, error) |
| 134 | CreatePolicy(ctx context.Context, name string, document policy_engine.PolicyDocument) error |
| 135 | UpdatePolicy(ctx context.Context, name string, document policy_engine.PolicyDocument) error |
| 136 | DeletePolicy(ctx context.Context, name string) error |
| 137 | GetPolicy(ctx context.Context, name string) (*policy_engine.PolicyDocument, error) |
| 138 | } |
| 139 | |
| 140 | // InlinePolicyStore is an optional interface for credential stores that support |
| 141 | // per-user inline policy storage. Stores that implement this interface preserve |
no outgoing calls
no test coverage detected