forked from Azure/azure-service-operator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathazure_v1alpha1_keyvault.yaml
43 lines (42 loc) · 1.69 KB
/
azure_v1alpha1_keyvault.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
apiVersion: azure.microsoft.com/v1alpha1
kind: KeyVault
metadata:
name: keyvaultsample123
labels: # Provide tags to add to the KeyVault as labels
tag1: value1
tag2: value2
spec:
resourceGroup: resourcegroup-azure-operators
location: westus
enableSoftDelete: false
# possible values for sku.Name are "Standard" or "Premium"
sku:
name: standard
networkPolicies:
bypass: AzureServices # AzureServices or None
defaultAction: Allow # Allow or Deny
ipRules:
- 172.16.0.0/24
- 172.16.1.0/24
virtualNetworkRules:
- /subscriptions/<subid>/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1
- /subscriptions/<subid>/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet2
accessPolicies:
- tenantID: <tenantID>
objectID: <objectID>
# Use applicationID when providing access to a managed identity
# applicationID: <appID>
# We strongly recommend that you do not use the clientID field, it will be removed in a future version of the API
permissions:
keys: # backup create decrypt delete encrypt get import list purge recover restore sign unwrapKey update verify wrapKey
- list
- get
secrets: # backup delete get list purge recover restore set
- list
- get
certificates: # backup create delete deleteissuers get getissuers import list listissuers managecontacts manageissuers purge recover restore setissuers update
- list
- get
storage: # backup delete deleteas get getas list listsas purge recover regeneratekey restore set setas update
- list
- get