Skip to content

Commit

Permalink
update permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
cnadolny committed Feb 29, 2020
1 parent 45524b9 commit 9b6aa84
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions controllers/keyvaultkey_controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,13 @@ func TestKeyvaultKeyControllerHappyPath(t *testing.T) {

keyVaultLocation := tc.resourceGroupLocation

allPermissions := []string{"get", "list", "set", "delete", "recover", "backup", "restore", "create"}
keyPermissions := []string{"get", "list", "update", "delete", "recover", "backup", "restore", "create", "import"}
accessPolicies := []azurev1alpha1.AccessPolicyEntry{
{
TenantID: config.TenantID(),
ObjectID: config.ClientID(),
Permissions: &azurev1alpha1.Permissions{
Keys: &allPermissions,
Secrets: &allPermissions,
Certificates: &allPermissions,
Storage: &allPermissions,
Keys: &keyPermissions,
},
}}

Expand Down

0 comments on commit 9b6aa84

Please sign in to comment.