AccessPolicy is the Schema for the AccessPolicys API. Manages a Key Vault Access Policy.
Type
CRD
Group
keyvault.azure.upbound.io
Version
v1beta1
apiVersion: keyvault.azure.upbound.io/v1beta1
kind: AccessPolicy
AccessPolicySpec defines the desired state of AccessPolicy
No description provided.
List of certificate permissions, must be one or more from the following: Backup, Create, Delete, DeleteIssuers, Get, GetIssuers, Import, List, ListIssuers, ManageContacts, ManageIssuers, Purge, Recover, Restore, SetIssuers and Update.
List of key permissions, must be one or more from the following: Backup, Create, Decrypt, Delete, Encrypt, Get, Import, List, Purge, Recover, Restore, Sign, UnwrapKey, Update, Verify, WrapKey, Release, Rotate, GetRotationPolicy and SetRotationPolicy.
Reference to a Vault to populate keyVaultId.
Policies for referencing.
Selector for a Vault to populate keyVaultId.
Policies for selection.
List of secret permissions, must be one or more from the following: Backup, Delete, Get, List, Purge, Recover, Restore and Set.
List of storage permissions, must be one or more from the following: Backup, Delete, DeleteSAS, Get, GetSAS, List, ListSAS, Purge, Recover, RegenerateKey, Restore, Set, SetSAS and Update.
THIS IS AN ALPHA FIELD. Do not use it in production. It is not honored unless the relevant Crossplane feature flag is enabled, and may be changed or removed without notice. InitProvider holds the same fields as ForProvider, with the exception of Identifier and other resource reference fields. The fields that are in InitProvider are merged into ForProvider when the resource is created. The same fields are also added to the terraform ignore_changes hook, to avoid updating them after creation. This is useful for fields that are required on creation, but we do not desire to update them after creation, for example because of an external controller is managing them, like an autoscaler.
List of certificate permissions, must be one or more from the following: Backup, Create, Delete, DeleteIssuers, Get, GetIssuers, Import, List, ListIssuers, ManageContacts, ManageIssuers, Purge, Recover, Restore, SetIssuers and Update.
List of key permissions, must be one or more from the following: Backup, Create, Decrypt, Delete, Encrypt, Get, Import, List, Purge, Recover, Restore, Sign, UnwrapKey, Update, Verify, WrapKey, Release, Rotate, GetRotationPolicy and SetRotationPolicy.
List of secret permissions, must be one or more from the following: Backup, Delete, Get, List, Purge, Recover, Restore and Set.
List of storage permissions, must be one or more from the following: Backup, Delete, DeleteSAS, Get, GetSAS, List, ListSAS, Purge, Recover, RegenerateKey, Restore, Set, SetSAS and Update.
THIS IS AN ALPHA FIELD. Do not use it in production. It is not honored unless the relevant Crossplane feature flag is enabled, and may be changed or removed without notice. ManagementPolicies specify the array of actions Crossplane is allowed to take on the managed and external resources. This field is planned to replace the DeletionPolicy field in a future release. Currently, both could be set independently and non-default values would be honored if the feature flag is enabled. If both are custom, the DeletionPolicy field will be ignored. See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 and this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md
ProviderConfigReference specifies how the provider that will be used to create, observe, update, and delete this managed resource should be configured.
Policies for referencing.
ProviderReference specifies the provider that will be used to create, observe, update, and delete this managed resource. Deprecated: Please use ProviderConfigReference, i.e. providerConfigRef
Policies for referencing.
PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret store config to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource.
WriteConnectionSecretToReference specifies the namespace and name of a Secret to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource. This field is planned to be replaced in a future release in favor of PublishConnectionDetailsTo. Currently, both could be set independently and connection details would be published to both without affecting each other.
AccessPolicyStatus defines the observed state of AccessPolicy.
No description provided.
List of certificate permissions, must be one or more from the following: Backup, Create, Delete, DeleteIssuers, Get, GetIssuers, Import, List, ListIssuers, ManageContacts, ManageIssuers, Purge, Recover, Restore, SetIssuers and Update.
List of key permissions, must be one or more from the following: Backup, Create, Decrypt, Delete, Encrypt, Get, Import, List, Purge, Recover, Restore, Sign, UnwrapKey, Update, Verify, WrapKey, Release, Rotate, GetRotationPolicy and SetRotationPolicy.
List of secret permissions, must be one or more from the following: Backup, Delete, Get, List, Purge, Recover, Restore and Set.
List of storage permissions, must be one or more from the following: Backup, Delete, DeleteSAS, Get, GetSAS, List, ListSAS, Purge, Recover, RegenerateKey, Restore, Set, SetSAS and Update.
Conditions of the resource.
server
apiVersion: keyvault.azure.upbound.io/v1beta1
kind: AccessPolicy
metadata:
annotations:
upjet.upbound.io/manual-intervention: The resource depends on a Server and it needs a manual intervention.
labels:
testing.upbound.io/example-name: server
name: server
spec:
forProvider:
keyPermissions:
- Get
- UnwrapKey
- WrapKey
keyVaultIdSelector:
matchLabels:
testing.upbound.io/example-name: example
objectId: ${azurerm_postgresql_server.example.identity.0.principal_id}
secretPermissions:
- get
tenantId: ${data.azurerm_client_config.current.tenant_id}
databricks
apiVersion: keyvault.azure.upbound.io/v1beta1
kind: AccessPolicy
metadata:
annotations:
meta.upbound.io/example-id: databricks/v1beta1/workspacecustomermanagedkey
upjet.upbound.io/manual-intervention: This resource requires Data Bricks real object ID.
labels:
testing.upbound.io/example-name: databricks
name: databricks
spec:
forProvider:
keyPermissions:
- Create
- Delete
- Get
- Purge
- Recover
- Update
- List
- Decrypt
- Sign
keyVaultIdSelector:
matchLabels:
testing.upbound.io/example-name: exampledatabrickkeyvault
objectId: ${azurerm_databricks_workspace.example.storage_account_identity.0.principal_id}
tenantId: ${azurerm_databricks_workspace.example.storage_account_identity.0.tenant_id}
example-user
apiVersion: keyvault.azure.upbound.io/v1beta1
kind: AccessPolicy
metadata:
labels:
testing.upbound.io/example-name: example-user
name: example-user
spec:
forProvider:
keyPermissions:
- Get
- Create
- Delete
keyVaultIdSelector:
matchLabels:
testing.upbound.io/example-name: example
objectId: ${data.azurerm_client_config.current.object_id}
tenantId: ${data.azurerm_client_config.current.tenant_id}
deployer
apiVersion: keyvault.azure.upbound.io/v1beta1
kind: AccessPolicy
metadata:
annotations:
meta.upbound.io/example-id: synapse/v1beta1/workspacesqlaadadmin
upjet.upbound.io/manual-intervention: This resource requires one more Access Policy with real ID
labels:
testing.upbound.io/example-name: deployer
name: deployer
spec:
forProvider:
keyPermissions:
- Create
- Get
- Delete
- Purge
keyVaultIdSelector:
matchLabels:
testing.upbound.io/example-name: wssqlaadadmin-vault
objectId: ${data.azurerm_client_config.current.object_id}
tenantId: ${data.azurerm_client_config.current.tenant_id}
example
apiVersion: keyvault.azure.upbound.io/v1beta1
kind: AccessPolicy
metadata:
labels:
testing.upbound.io/example-name: example
name: example
spec:
forProvider:
certificatePermissions:
- Get
- GetIssuers
- SetIssuers
- Import
keyPermissions:
- Get
- Create
keyVaultIdSelector:
matchLabels:
testing.upbound.io/example-name: example
objectId: ${data.azurerm_client_config.current.object_id}
secretPermissions:
- Get
- Set
- Delete
storagePermissions:
- Get
- List
- Set
- SetSAS
- GetSAS
- DeleteSAS
- Update
- RegenerateKey
tenantId: ${data.azurerm_client_config.current.tenant_id}
accesspolicya
apiVersion: keyvault.azure.upbound.io/v1beta1
kind: AccessPolicy
metadata:
annotations:
meta.upbound.io/example-id: databricks/v1beta1/workspacecustomermanagedkey
upjet.upbound.io/manual-intervention: This resource requires Data Bricks real object ID.
labels:
testing.upbound.io/example-name: accesspolicya
name: accesspolicya
spec:
forProvider:
keyPermissions:
- Create
- Delete
- Get
- Purge
- Recover
- Update
- List
- Decrypt
- Sign
keyVaultIdSelector:
matchLabels:
testing.upbound.io/example-name: exampledatabrickkeyvault
objectId: ${data.azurerm_client_config.current.object_id}
tenantId: ${data.azurerm_client_config.current.tenant_id}
test-certificatecontacts
apiVersion: keyvault.azure.upbound.io/v1beta1
kind: AccessPolicy
metadata:
annotations:
meta.upbound.io/example-id: keyvault/v1beta1/certificatecontacts
upjet.upbound.io/manual-intervention: This resource is dependency of
CertificateContacts. This resource is skipping because parent resource was
skipped.
labels:
testing.upbound.io/example-name: example
name: test-certificatecontacts
spec:
forProvider:
certificatePermissions:
- ManageContacts
keyPermissions:
- Create
keyVaultIdSelector:
matchLabels:
testing.upbound.io/example-name: example
objectId: ${data.azurerm_client_config.current.object_id}
secretPermissions:
- Set
tenantId: ${data.azurerm_client_config.current.tenant_id}
client
apiVersion: keyvault.azure.upbound.io/v1beta1
kind: AccessPolicy
metadata:
annotations:
upjet.upbound.io/manual-intervention: The resource depends on a Server and it needs a manual intervention.
labels:
testing.upbound.io/example-name: client
name: client
spec:
forProvider:
keyPermissions:
- Get
- Create
- Delete
- List
- Restore
- Recover
- UnwrapKey
- WrapKey
- Purge
- Encrypt
- Decrypt
- Sign
- Verify
keyVaultIdSelector:
matchLabels:
testing.upbound.io/example-name: example
objectId: ${data.azurerm_client_config.current.object_id}
secretPermissions:
- Get
tenantId: ${data.azurerm_client_config.current.tenant_id}
© 2022 Upbound, Inc.
Discover the building blocksfor your internal cloud platform.