Implement managed policy storage (#8385)
* Persist managed IAM policies * Add IAM list/get policy integration test * Faster marker lookup and cleanup * Handle delete conflict and improve listing * Add delete-in-use policy integration test * Stabilize policy ID and guard path prefix * Tighten CreatePolicy guard and reload * Add ListPolicyNames to credential store
This commit is contained in:
@@ -71,6 +71,8 @@ type CredentialStore interface {
|
||||
|
||||
// Policy Management
|
||||
GetPolicies(ctx context.Context) (map[string]policy_engine.PolicyDocument, error)
|
||||
// ListPolicyNames returns the names of all policies
|
||||
ListPolicyNames(ctx context.Context) ([]string, error)
|
||||
// PutPolicy creates or replaces a policy document.
|
||||
PutPolicy(ctx context.Context, name string, document policy_engine.PolicyDocument) error
|
||||
DeletePolicy(ctx context.Context, name string) error
|
||||
|
||||
Reference in New Issue
Block a user