Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=kv.vault.upbound.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type CustomMetadataInitParameters
- type CustomMetadataObservation
- type CustomMetadataParameters
- type Secret
- func (in *Secret) DeepCopy() *Secret
- func (in *Secret) DeepCopyInto(out *Secret)
- func (in *Secret) DeepCopyObject() runtime.Object
- func (mg *Secret) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Secret) GetConnectionDetailsMapping() map[string]string
- func (mg *Secret) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Secret) GetID() string
- func (tr *Secret) GetInitParameters() (map[string]any, error)
- func (mg *Secret) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *Secret) GetObservation() (map[string]any, error)
- func (tr *Secret) GetParameters() (map[string]any, error)
- func (mg *Secret) GetProviderConfigReference() *xpv1.Reference
- func (mg *Secret) GetProviderReference() *xpv1.Reference
- func (mg *Secret) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Secret) GetTerraformResourceType() string
- func (tr *Secret) GetTerraformSchemaVersion() int
- func (mg *Secret) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Secret) LateInitialize(attrs []byte) (bool, error)
- func (mg *Secret) SetConditions(c ...xpv1.Condition)
- func (mg *Secret) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Secret) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *Secret) SetObservation(obs map[string]any) error
- func (tr *Secret) SetParameters(params map[string]any) error
- func (mg *Secret) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Secret) SetProviderReference(r *xpv1.Reference)
- func (mg *Secret) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Secret) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type SecretBackendV2
- func (in *SecretBackendV2) DeepCopy() *SecretBackendV2
- func (in *SecretBackendV2) DeepCopyInto(out *SecretBackendV2)
- func (in *SecretBackendV2) DeepCopyObject() runtime.Object
- func (mg *SecretBackendV2) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *SecretBackendV2) GetConnectionDetailsMapping() map[string]string
- func (mg *SecretBackendV2) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *SecretBackendV2) GetID() string
- func (tr *SecretBackendV2) GetInitParameters() (map[string]any, error)
- func (mg *SecretBackendV2) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *SecretBackendV2) GetObservation() (map[string]any, error)
- func (tr *SecretBackendV2) GetParameters() (map[string]any, error)
- func (mg *SecretBackendV2) GetProviderConfigReference() *xpv1.Reference
- func (mg *SecretBackendV2) GetProviderReference() *xpv1.Reference
- func (mg *SecretBackendV2) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *SecretBackendV2) GetTerraformResourceType() string
- func (tr *SecretBackendV2) GetTerraformSchemaVersion() int
- func (mg *SecretBackendV2) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *SecretBackendV2) LateInitialize(attrs []byte) (bool, error)
- func (mg *SecretBackendV2) SetConditions(c ...xpv1.Condition)
- func (mg *SecretBackendV2) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *SecretBackendV2) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *SecretBackendV2) SetObservation(obs map[string]any) error
- func (tr *SecretBackendV2) SetParameters(params map[string]any) error
- func (mg *SecretBackendV2) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *SecretBackendV2) SetProviderReference(r *xpv1.Reference)
- func (mg *SecretBackendV2) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *SecretBackendV2) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type SecretBackendV2InitParameters
- type SecretBackendV2List
- type SecretBackendV2Observation
- type SecretBackendV2Parameters
- type SecretBackendV2Spec
- type SecretBackendV2Status
- type SecretInitParameters
- type SecretList
- type SecretObservation
- type SecretParameters
- type SecretSpec
- type SecretStatus
- type SecretV2
- func (in *SecretV2) DeepCopy() *SecretV2
- func (in *SecretV2) DeepCopyInto(out *SecretV2)
- func (in *SecretV2) DeepCopyObject() runtime.Object
- func (mg *SecretV2) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *SecretV2) GetConnectionDetailsMapping() map[string]string
- func (mg *SecretV2) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *SecretV2) GetID() string
- func (tr *SecretV2) GetInitParameters() (map[string]any, error)
- func (mg *SecretV2) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *SecretV2) GetObservation() (map[string]any, error)
- func (tr *SecretV2) GetParameters() (map[string]any, error)
- func (mg *SecretV2) GetProviderConfigReference() *xpv1.Reference
- func (mg *SecretV2) GetProviderReference() *xpv1.Reference
- func (mg *SecretV2) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *SecretV2) GetTerraformResourceType() string
- func (tr *SecretV2) GetTerraformSchemaVersion() int
- func (mg *SecretV2) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *SecretV2) LateInitialize(attrs []byte) (bool, error)
- func (mg *SecretV2) SetConditions(c ...xpv1.Condition)
- func (mg *SecretV2) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *SecretV2) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *SecretV2) SetObservation(obs map[string]any) error
- func (tr *SecretV2) SetParameters(params map[string]any) error
- func (mg *SecretV2) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *SecretV2) SetProviderReference(r *xpv1.Reference)
- func (mg *SecretV2) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *SecretV2) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type SecretV2InitParameters
- type SecretV2List
- type SecretV2Observation
- type SecretV2Parameters
- type SecretV2Spec
- type SecretV2Status
Constants ¶
const ( CRDGroup = "kv.vault.upbound.io" CRDVersion = "v1alpha1" )
Package type metadata.
Variables ¶
var ( // CRDGroupVersion is the API Group Version used to register the objects CRDGroupVersion = schema.GroupVersion{Group: CRDGroup, Version: CRDVersion} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: CRDGroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
var ( Secret_Kind = "Secret" Secret_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Secret_Kind}.String() Secret_KindAPIVersion = Secret_Kind + "." + CRDGroupVersion.String() Secret_GroupVersionKind = CRDGroupVersion.WithKind(Secret_Kind) )
Repository type metadata.
var ( SecretBackendV2_Kind = "SecretBackendV2" SecretBackendV2_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: SecretBackendV2_Kind}.String() SecretBackendV2_KindAPIVersion = SecretBackendV2_Kind + "." + CRDGroupVersion.String() SecretBackendV2_GroupVersionKind = CRDGroupVersion.WithKind(SecretBackendV2_Kind) )
Repository type metadata.
var ( SecretV2_Kind = "SecretV2" SecretV2_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: SecretV2_Kind}.String() SecretV2_KindAPIVersion = SecretV2_Kind + "." + CRDGroupVersion.String() SecretV2_GroupVersionKind = CRDGroupVersion.WithKind(SecretV2_Kind) )
Repository type metadata.
Functions ¶
This section is empty.
Types ¶
type CustomMetadataInitParameters ¶ added in v0.2.0
type CustomMetadataInitParameters struct { // If true, all keys will require the cas // parameter to be set on all write requests. // If true, all keys will require the cas parameter to be set on all write requests. CasRequired *bool `json:"casRequired,omitempty" tf:"cas_required,omitempty"` // A string to string map describing the secret. // A map of arbitrary string to string valued user-provided metadata meant to describe the secret. Data map[string]*string `json:"data,omitempty" tf:"data,omitempty"` // If set, specifies the length of time before // a version is deleted. Accepts duration in integer seconds. // If set, specifies the length of time before a version is deleted. DeleteVersionAfter *float64 `json:"deleteVersionAfter,omitempty" tf:"delete_version_after,omitempty"` // The number of versions to keep per key. // The number of versions to keep per key. MaxVersions *float64 `json:"maxVersions,omitempty" tf:"max_versions,omitempty"` }
func (*CustomMetadataInitParameters) DeepCopy ¶ added in v0.2.0
func (in *CustomMetadataInitParameters) DeepCopy() *CustomMetadataInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomMetadataInitParameters.
func (*CustomMetadataInitParameters) DeepCopyInto ¶ added in v0.2.0
func (in *CustomMetadataInitParameters) DeepCopyInto(out *CustomMetadataInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CustomMetadataObservation ¶
type CustomMetadataObservation struct { // If true, all keys will require the cas // parameter to be set on all write requests. // If true, all keys will require the cas parameter to be set on all write requests. CasRequired *bool `json:"casRequired,omitempty" tf:"cas_required,omitempty"` // A string to string map describing the secret. // A map of arbitrary string to string valued user-provided metadata meant to describe the secret. Data map[string]*string `json:"data,omitempty" tf:"data,omitempty"` // If set, specifies the length of time before // a version is deleted. Accepts duration in integer seconds. // If set, specifies the length of time before a version is deleted. DeleteVersionAfter *float64 `json:"deleteVersionAfter,omitempty" tf:"delete_version_after,omitempty"` // The number of versions to keep per key. // The number of versions to keep per key. MaxVersions *float64 `json:"maxVersions,omitempty" tf:"max_versions,omitempty"` }
func (*CustomMetadataObservation) DeepCopy ¶
func (in *CustomMetadataObservation) DeepCopy() *CustomMetadataObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomMetadataObservation.
func (*CustomMetadataObservation) DeepCopyInto ¶
func (in *CustomMetadataObservation) DeepCopyInto(out *CustomMetadataObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CustomMetadataParameters ¶
type CustomMetadataParameters struct { // If true, all keys will require the cas // parameter to be set on all write requests. // If true, all keys will require the cas parameter to be set on all write requests. // +kubebuilder:validation:Optional CasRequired *bool `json:"casRequired,omitempty" tf:"cas_required,omitempty"` // A string to string map describing the secret. // A map of arbitrary string to string valued user-provided metadata meant to describe the secret. // +kubebuilder:validation:Optional Data map[string]*string `json:"data,omitempty" tf:"data,omitempty"` // If set, specifies the length of time before // a version is deleted. Accepts duration in integer seconds. // If set, specifies the length of time before a version is deleted. // +kubebuilder:validation:Optional DeleteVersionAfter *float64 `json:"deleteVersionAfter,omitempty" tf:"delete_version_after,omitempty"` // The number of versions to keep per key. // The number of versions to keep per key. // +kubebuilder:validation:Optional MaxVersions *float64 `json:"maxVersions,omitempty" tf:"max_versions,omitempty"` }
func (*CustomMetadataParameters) DeepCopy ¶
func (in *CustomMetadataParameters) DeepCopy() *CustomMetadataParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomMetadataParameters.
func (*CustomMetadataParameters) DeepCopyInto ¶
func (in *CustomMetadataParameters) DeepCopyInto(out *CustomMetadataParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Secret ¶
type Secret struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.dataJsonSecretRef)",message="dataJsonSecretRef is a required parameter" // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.path) || has(self.initProvider.path)",message="path is a required parameter" Spec SecretSpec `json:"spec"` Status SecretStatus `json:"status,omitempty"` }
Secret is the Schema for the Secrets API. Writes a KV-V1 secret to a given path in Vault +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,vault}
func (*Secret) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Secret.
func (*Secret) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Secret) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Secret) GetCondition ¶
func (mg *Secret) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Secret.
func (*Secret) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this Secret
func (*Secret) GetDeletionPolicy ¶
func (mg *Secret) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Secret.
func (*Secret) GetInitParameters ¶ added in v0.2.0
GetInitParameters of this Secret
func (*Secret) GetManagementPolicies ¶ added in v0.2.0
func (mg *Secret) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this Secret.
func (*Secret) GetObservation ¶
GetObservation of this Secret
func (*Secret) GetParameters ¶
GetParameters of this Secret
func (*Secret) GetProviderConfigReference ¶
GetProviderConfigReference of this Secret.
func (*Secret) GetProviderReference ¶
GetProviderReference of this Secret. Deprecated: Use GetProviderConfigReference.
func (*Secret) GetPublishConnectionDetailsTo ¶
func (mg *Secret) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Secret.
func (*Secret) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Secret
func (*Secret) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Secret) GetWriteConnectionSecretToReference ¶
func (mg *Secret) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Secret.
func (*Secret) LateInitialize ¶
LateInitialize this Secret using its observed tfState. returns True if there are any spec changes for the resource.
func (*Secret) SetConditions ¶
SetConditions of this Secret.
func (*Secret) SetDeletionPolicy ¶
func (mg *Secret) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Secret.
func (*Secret) SetManagementPolicies ¶ added in v0.2.0
func (mg *Secret) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this Secret.
func (*Secret) SetObservation ¶
SetObservation for this Secret
func (*Secret) SetParameters ¶
SetParameters for this Secret
func (*Secret) SetProviderConfigReference ¶
SetProviderConfigReference of this Secret.
func (*Secret) SetProviderReference ¶
SetProviderReference of this Secret. Deprecated: Use SetProviderConfigReference.
func (*Secret) SetPublishConnectionDetailsTo ¶
func (mg *Secret) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Secret.
func (*Secret) SetWriteConnectionSecretToReference ¶
func (mg *Secret) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Secret.
type SecretBackendV2 ¶
type SecretBackendV2 struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.mount) || has(self.initProvider.mount)",message="mount is a required parameter" Spec SecretBackendV2Spec `json:"spec"` Status SecretBackendV2Status `json:"status,omitempty"` }
SecretBackendV2 is the Schema for the SecretBackendV2s API. Configures KV-V2 backend level settings that are applied to every key in the key-value store. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,vault}
func (*SecretBackendV2) DeepCopy ¶
func (in *SecretBackendV2) DeepCopy() *SecretBackendV2
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretBackendV2.
func (*SecretBackendV2) DeepCopyInto ¶
func (in *SecretBackendV2) DeepCopyInto(out *SecretBackendV2)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SecretBackendV2) DeepCopyObject ¶
func (in *SecretBackendV2) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*SecretBackendV2) GetCondition ¶
func (mg *SecretBackendV2) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this SecretBackendV2.
func (*SecretBackendV2) GetConnectionDetailsMapping ¶
func (tr *SecretBackendV2) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this SecretBackendV2
func (*SecretBackendV2) GetDeletionPolicy ¶
func (mg *SecretBackendV2) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this SecretBackendV2.
func (*SecretBackendV2) GetID ¶
func (tr *SecretBackendV2) GetID() string
GetID returns ID of underlying Terraform resource of this SecretBackendV2
func (*SecretBackendV2) GetInitParameters ¶ added in v0.2.0
func (tr *SecretBackendV2) GetInitParameters() (map[string]any, error)
GetInitParameters of this SecretBackendV2
func (*SecretBackendV2) GetManagementPolicies ¶ added in v0.2.0
func (mg *SecretBackendV2) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this SecretBackendV2.
func (*SecretBackendV2) GetObservation ¶
func (tr *SecretBackendV2) GetObservation() (map[string]any, error)
GetObservation of this SecretBackendV2
func (*SecretBackendV2) GetParameters ¶
func (tr *SecretBackendV2) GetParameters() (map[string]any, error)
GetParameters of this SecretBackendV2
func (*SecretBackendV2) GetProviderConfigReference ¶
func (mg *SecretBackendV2) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this SecretBackendV2.
func (*SecretBackendV2) GetProviderReference ¶
func (mg *SecretBackendV2) GetProviderReference() *xpv1.Reference
GetProviderReference of this SecretBackendV2. Deprecated: Use GetProviderConfigReference.
func (*SecretBackendV2) GetPublishConnectionDetailsTo ¶
func (mg *SecretBackendV2) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this SecretBackendV2.
func (*SecretBackendV2) GetTerraformResourceType ¶
func (mg *SecretBackendV2) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this SecretBackendV2
func (*SecretBackendV2) GetTerraformSchemaVersion ¶
func (tr *SecretBackendV2) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*SecretBackendV2) GetWriteConnectionSecretToReference ¶
func (mg *SecretBackendV2) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this SecretBackendV2.
func (*SecretBackendV2) LateInitialize ¶
func (tr *SecretBackendV2) LateInitialize(attrs []byte) (bool, error)
LateInitialize this SecretBackendV2 using its observed tfState. returns True if there are any spec changes for the resource.
func (*SecretBackendV2) SetConditions ¶
func (mg *SecretBackendV2) SetConditions(c ...xpv1.Condition)
SetConditions of this SecretBackendV2.
func (*SecretBackendV2) SetDeletionPolicy ¶
func (mg *SecretBackendV2) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this SecretBackendV2.
func (*SecretBackendV2) SetManagementPolicies ¶ added in v0.2.0
func (mg *SecretBackendV2) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this SecretBackendV2.
func (*SecretBackendV2) SetObservation ¶
func (tr *SecretBackendV2) SetObservation(obs map[string]any) error
SetObservation for this SecretBackendV2
func (*SecretBackendV2) SetParameters ¶
func (tr *SecretBackendV2) SetParameters(params map[string]any) error
SetParameters for this SecretBackendV2
func (*SecretBackendV2) SetProviderConfigReference ¶
func (mg *SecretBackendV2) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this SecretBackendV2.
func (*SecretBackendV2) SetProviderReference ¶
func (mg *SecretBackendV2) SetProviderReference(r *xpv1.Reference)
SetProviderReference of this SecretBackendV2. Deprecated: Use SetProviderConfigReference.
func (*SecretBackendV2) SetPublishConnectionDetailsTo ¶
func (mg *SecretBackendV2) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this SecretBackendV2.
func (*SecretBackendV2) SetWriteConnectionSecretToReference ¶
func (mg *SecretBackendV2) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this SecretBackendV2.
type SecretBackendV2InitParameters ¶ added in v0.2.0
type SecretBackendV2InitParameters struct { // If true, all keys will require the cas // parameter to be set on all write requests. // If true, all keys will require the cas parameter to be set on all write requests. CasRequired *bool `json:"casRequired,omitempty" tf:"cas_required,omitempty"` // If set, specifies the length of time before // a version is deleted. Accepts duration in integer seconds. // If set, specifies the length of time before a version is deleted DeleteVersionAfter *float64 `json:"deleteVersionAfter,omitempty" tf:"delete_version_after,omitempty"` // The number of versions to keep per key. // The number of versions to keep per key. MaxVersions *float64 `json:"maxVersions,omitempty" tf:"max_versions,omitempty"` // Path where KV-V2 engine is mounted. // Path where KV-V2 engine is mounted. Mount *string `json:"mount,omitempty" tf:"mount,omitempty"` // The namespace to provision the resource in. // The value should not contain leading or trailing forward slashes. // The namespace is always relative to the provider's configured namespace. // Available only for Vault Enterprise. // Target namespace. (requires Enterprise) Namespace *string `json:"namespace,omitempty" tf:"namespace,omitempty"` }
func (*SecretBackendV2InitParameters) DeepCopy ¶ added in v0.2.0
func (in *SecretBackendV2InitParameters) DeepCopy() *SecretBackendV2InitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretBackendV2InitParameters.
func (*SecretBackendV2InitParameters) DeepCopyInto ¶ added in v0.2.0
func (in *SecretBackendV2InitParameters) DeepCopyInto(out *SecretBackendV2InitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretBackendV2List ¶
type SecretBackendV2List struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []SecretBackendV2 `json:"items"` }
SecretBackendV2List contains a list of SecretBackendV2s
func (*SecretBackendV2List) DeepCopy ¶
func (in *SecretBackendV2List) DeepCopy() *SecretBackendV2List
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretBackendV2List.
func (*SecretBackendV2List) DeepCopyInto ¶
func (in *SecretBackendV2List) DeepCopyInto(out *SecretBackendV2List)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SecretBackendV2List) DeepCopyObject ¶
func (in *SecretBackendV2List) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*SecretBackendV2List) GetItems ¶
func (l *SecretBackendV2List) GetItems() []resource.Managed
GetItems of this SecretBackendV2List.
type SecretBackendV2Observation ¶
type SecretBackendV2Observation struct { // If true, all keys will require the cas // parameter to be set on all write requests. // If true, all keys will require the cas parameter to be set on all write requests. CasRequired *bool `json:"casRequired,omitempty" tf:"cas_required,omitempty"` // If set, specifies the length of time before // a version is deleted. Accepts duration in integer seconds. // If set, specifies the length of time before a version is deleted DeleteVersionAfter *float64 `json:"deleteVersionAfter,omitempty" tf:"delete_version_after,omitempty"` ID *string `json:"id,omitempty" tf:"id,omitempty"` // The number of versions to keep per key. // The number of versions to keep per key. MaxVersions *float64 `json:"maxVersions,omitempty" tf:"max_versions,omitempty"` // Path where KV-V2 engine is mounted. // Path where KV-V2 engine is mounted. Mount *string `json:"mount,omitempty" tf:"mount,omitempty"` // The namespace to provision the resource in. // The value should not contain leading or trailing forward slashes. // The namespace is always relative to the provider's configured namespace. // Available only for Vault Enterprise. // Target namespace. (requires Enterprise) Namespace *string `json:"namespace,omitempty" tf:"namespace,omitempty"` }
func (*SecretBackendV2Observation) DeepCopy ¶
func (in *SecretBackendV2Observation) DeepCopy() *SecretBackendV2Observation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretBackendV2Observation.
func (*SecretBackendV2Observation) DeepCopyInto ¶
func (in *SecretBackendV2Observation) DeepCopyInto(out *SecretBackendV2Observation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretBackendV2Parameters ¶
type SecretBackendV2Parameters struct { // If true, all keys will require the cas // parameter to be set on all write requests. // If true, all keys will require the cas parameter to be set on all write requests. // +kubebuilder:validation:Optional CasRequired *bool `json:"casRequired,omitempty" tf:"cas_required,omitempty"` // If set, specifies the length of time before // a version is deleted. Accepts duration in integer seconds. // If set, specifies the length of time before a version is deleted // +kubebuilder:validation:Optional DeleteVersionAfter *float64 `json:"deleteVersionAfter,omitempty" tf:"delete_version_after,omitempty"` // The number of versions to keep per key. // The number of versions to keep per key. // +kubebuilder:validation:Optional MaxVersions *float64 `json:"maxVersions,omitempty" tf:"max_versions,omitempty"` // Path where KV-V2 engine is mounted. // Path where KV-V2 engine is mounted. // +kubebuilder:validation:Optional Mount *string `json:"mount,omitempty" tf:"mount,omitempty"` // The namespace to provision the resource in. // The value should not contain leading or trailing forward slashes. // The namespace is always relative to the provider's configured namespace. // Available only for Vault Enterprise. // Target namespace. (requires Enterprise) // +kubebuilder:validation:Optional Namespace *string `json:"namespace,omitempty" tf:"namespace,omitempty"` }
func (*SecretBackendV2Parameters) DeepCopy ¶
func (in *SecretBackendV2Parameters) DeepCopy() *SecretBackendV2Parameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretBackendV2Parameters.
func (*SecretBackendV2Parameters) DeepCopyInto ¶
func (in *SecretBackendV2Parameters) DeepCopyInto(out *SecretBackendV2Parameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretBackendV2Spec ¶
type SecretBackendV2Spec struct { v1.ResourceSpec `json:",inline"` ForProvider SecretBackendV2Parameters `json:"forProvider"` // 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. InitProvider SecretBackendV2InitParameters `json:"initProvider,omitempty"` }
SecretBackendV2Spec defines the desired state of SecretBackendV2
func (*SecretBackendV2Spec) DeepCopy ¶
func (in *SecretBackendV2Spec) DeepCopy() *SecretBackendV2Spec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretBackendV2Spec.
func (*SecretBackendV2Spec) DeepCopyInto ¶
func (in *SecretBackendV2Spec) DeepCopyInto(out *SecretBackendV2Spec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretBackendV2Status ¶
type SecretBackendV2Status struct { v1.ResourceStatus `json:",inline"` AtProvider SecretBackendV2Observation `json:"atProvider,omitempty"` }
SecretBackendV2Status defines the observed state of SecretBackendV2.
func (*SecretBackendV2Status) DeepCopy ¶
func (in *SecretBackendV2Status) DeepCopy() *SecretBackendV2Status
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretBackendV2Status.
func (*SecretBackendV2Status) DeepCopyInto ¶
func (in *SecretBackendV2Status) DeepCopyInto(out *SecretBackendV2Status)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretInitParameters ¶ added in v0.2.0
type SecretInitParameters struct { // The namespace to provision the resource in. // The value should not contain leading or trailing forward slashes. // The namespace is always relative to the provider's configured namespace. // Available only for Vault Enterprise. // Target namespace. (requires Enterprise) Namespace *string `json:"namespace,omitempty" tf:"namespace,omitempty"` // Full path of the KV-V1 secret. // Full path of the KV-V1 secret. Path *string `json:"path,omitempty" tf:"path,omitempty"` }
func (*SecretInitParameters) DeepCopy ¶ added in v0.2.0
func (in *SecretInitParameters) DeepCopy() *SecretInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretInitParameters.
func (*SecretInitParameters) DeepCopyInto ¶ added in v0.2.0
func (in *SecretInitParameters) DeepCopyInto(out *SecretInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretList ¶
type SecretList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Secret `json:"items"` }
SecretList contains a list of Secrets
func (*SecretList) DeepCopy ¶
func (in *SecretList) DeepCopy() *SecretList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretList.
func (*SecretList) DeepCopyInto ¶
func (in *SecretList) DeepCopyInto(out *SecretList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SecretList) DeepCopyObject ¶
func (in *SecretList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*SecretList) GetItems ¶
func (l *SecretList) GetItems() []resource.Managed
GetItems of this SecretList.
type SecretObservation ¶
type SecretObservation struct { ID *string `json:"id,omitempty" tf:"id,omitempty"` // The namespace to provision the resource in. // The value should not contain leading or trailing forward slashes. // The namespace is always relative to the provider's configured namespace. // Available only for Vault Enterprise. // Target namespace. (requires Enterprise) Namespace *string `json:"namespace,omitempty" tf:"namespace,omitempty"` // Full path of the KV-V1 secret. // Full path of the KV-V1 secret. Path *string `json:"path,omitempty" tf:"path,omitempty"` }
func (*SecretObservation) DeepCopy ¶
func (in *SecretObservation) DeepCopy() *SecretObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretObservation.
func (*SecretObservation) DeepCopyInto ¶
func (in *SecretObservation) DeepCopyInto(out *SecretObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretParameters ¶
type SecretParameters struct { // JSON-encoded string that will be // written as the secret data at the given path. // JSON-encoded secret data to write. // +kubebuilder:validation:Optional DataJSONSecretRef v1.SecretKeySelector `json:"dataJsonSecretRef" tf:"-"` // The namespace to provision the resource in. // The value should not contain leading or trailing forward slashes. // The namespace is always relative to the provider's configured namespace. // Available only for Vault Enterprise. // Target namespace. (requires Enterprise) // +kubebuilder:validation:Optional Namespace *string `json:"namespace,omitempty" tf:"namespace,omitempty"` // Full path of the KV-V1 secret. // Full path of the KV-V1 secret. // +kubebuilder:validation:Optional Path *string `json:"path,omitempty" tf:"path,omitempty"` }
func (*SecretParameters) DeepCopy ¶
func (in *SecretParameters) DeepCopy() *SecretParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretParameters.
func (*SecretParameters) DeepCopyInto ¶
func (in *SecretParameters) DeepCopyInto(out *SecretParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretSpec ¶
type SecretSpec struct { v1.ResourceSpec `json:",inline"` ForProvider SecretParameters `json:"forProvider"` // 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. InitProvider SecretInitParameters `json:"initProvider,omitempty"` }
SecretSpec defines the desired state of Secret
func (*SecretSpec) DeepCopy ¶
func (in *SecretSpec) DeepCopy() *SecretSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretSpec.
func (*SecretSpec) DeepCopyInto ¶
func (in *SecretSpec) DeepCopyInto(out *SecretSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretStatus ¶
type SecretStatus struct { v1.ResourceStatus `json:",inline"` AtProvider SecretObservation `json:"atProvider,omitempty"` }
SecretStatus defines the observed state of Secret.
func (*SecretStatus) DeepCopy ¶
func (in *SecretStatus) DeepCopy() *SecretStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretStatus.
func (*SecretStatus) DeepCopyInto ¶
func (in *SecretStatus) DeepCopyInto(out *SecretStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretV2 ¶
type SecretV2 struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.dataJsonSecretRef)",message="dataJsonSecretRef is a required parameter" // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.mount) || has(self.initProvider.mount)",message="mount is a required parameter" // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" Spec SecretV2Spec `json:"spec"` Status SecretV2Status `json:"status,omitempty"` }
SecretV2 is the Schema for the SecretV2s API. Writes a KV-V2 secret to a given path in Vault +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,vault}
func (*SecretV2) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretV2.
func (*SecretV2) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SecretV2) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*SecretV2) GetCondition ¶
func (mg *SecretV2) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this SecretV2.
func (*SecretV2) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this SecretV2
func (*SecretV2) GetDeletionPolicy ¶
func (mg *SecretV2) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this SecretV2.
func (*SecretV2) GetInitParameters ¶ added in v0.2.0
GetInitParameters of this SecretV2
func (*SecretV2) GetManagementPolicies ¶ added in v0.2.0
func (mg *SecretV2) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this SecretV2.
func (*SecretV2) GetObservation ¶
GetObservation of this SecretV2
func (*SecretV2) GetParameters ¶
GetParameters of this SecretV2
func (*SecretV2) GetProviderConfigReference ¶
GetProviderConfigReference of this SecretV2.
func (*SecretV2) GetProviderReference ¶
GetProviderReference of this SecretV2. Deprecated: Use GetProviderConfigReference.
func (*SecretV2) GetPublishConnectionDetailsTo ¶
func (mg *SecretV2) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this SecretV2.
func (*SecretV2) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this SecretV2
func (*SecretV2) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*SecretV2) GetWriteConnectionSecretToReference ¶
func (mg *SecretV2) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this SecretV2.
func (*SecretV2) LateInitialize ¶
LateInitialize this SecretV2 using its observed tfState. returns True if there are any spec changes for the resource.
func (*SecretV2) SetConditions ¶
SetConditions of this SecretV2.
func (*SecretV2) SetDeletionPolicy ¶
func (mg *SecretV2) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this SecretV2.
func (*SecretV2) SetManagementPolicies ¶ added in v0.2.0
func (mg *SecretV2) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this SecretV2.
func (*SecretV2) SetObservation ¶
SetObservation for this SecretV2
func (*SecretV2) SetParameters ¶
SetParameters for this SecretV2
func (*SecretV2) SetProviderConfigReference ¶
SetProviderConfigReference of this SecretV2.
func (*SecretV2) SetProviderReference ¶
SetProviderReference of this SecretV2. Deprecated: Use SetProviderConfigReference.
func (*SecretV2) SetPublishConnectionDetailsTo ¶
func (mg *SecretV2) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this SecretV2.
func (*SecretV2) SetWriteConnectionSecretToReference ¶
func (mg *SecretV2) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this SecretV2.
type SecretV2InitParameters ¶ added in v0.2.0
type SecretV2InitParameters struct { // This flag is required if cas_required is set to true // on either the secret or the engine's config. In order for a // write operation to be successful, cas must be set to the current version // of the secret. // This flag is required if cas_required is set to true on either the secret or the engine's config. In order for a write to be successful, cas must be set to the current version of the secret. Cas *float64 `json:"cas,omitempty" tf:"cas,omitempty"` // A nested block that allows configuring metadata for the // KV secret. Refer to the // Configuration Options for more info. // Custom metadata to be set for the secret. CustomMetadata []CustomMetadataInitParameters `json:"customMetadata,omitempty" tf:"custom_metadata,omitempty"` // If set to true, permanently deletes all // versions for the specified key. // If set to true, permanently deletes all versions for the specified key. DeleteAllVersions *bool `json:"deleteAllVersions,omitempty" tf:"delete_all_versions,omitempty"` // If set to true, disables reading secret from Vault; // note: drift won't be detected. // If set to true, disables reading secret from Vault; note: drift won't be detected. DisableRead *bool `json:"disableRead,omitempty" tf:"disable_read,omitempty"` // Path where KV-V2 engine is mounted. // Path where KV-V2 engine is mounted. Mount *string `json:"mount,omitempty" tf:"mount,omitempty"` // Full name of the secret. For a nested secret // the name is the nested path excluding the mount and data // prefix. For example, for a secret at kvv2/data/foo/bar/baz // the name is foo/bar/baz. // Full name of the secret. For a nested secret, the name is the nested path excluding the mount and data prefix. For example, for a secret at 'kvv2/data/foo/bar/baz', the name is 'foo/bar/baz' Name *string `json:"name,omitempty" tf:"name,omitempty"` // The namespace to provision the resource in. // The value should not contain leading or trailing forward slashes. // The namespace is always relative to the provider's configured namespace. // Available only for Vault Enterprise. // Target namespace. (requires Enterprise) Namespace *string `json:"namespace,omitempty" tf:"namespace,omitempty"` // An object that holds option settings. // An object that holds option settings. Options map[string]*string `json:"options,omitempty" tf:"options,omitempty"` }
func (*SecretV2InitParameters) DeepCopy ¶ added in v0.2.0
func (in *SecretV2InitParameters) DeepCopy() *SecretV2InitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretV2InitParameters.
func (*SecretV2InitParameters) DeepCopyInto ¶ added in v0.2.0
func (in *SecretV2InitParameters) DeepCopyInto(out *SecretV2InitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretV2List ¶
type SecretV2List struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []SecretV2 `json:"items"` }
SecretV2List contains a list of SecretV2s
func (*SecretV2List) DeepCopy ¶
func (in *SecretV2List) DeepCopy() *SecretV2List
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretV2List.
func (*SecretV2List) DeepCopyInto ¶
func (in *SecretV2List) DeepCopyInto(out *SecretV2List)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SecretV2List) DeepCopyObject ¶
func (in *SecretV2List) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*SecretV2List) GetItems ¶
func (l *SecretV2List) GetItems() []resource.Managed
GetItems of this SecretV2List.
type SecretV2Observation ¶
type SecretV2Observation struct { // This flag is required if cas_required is set to true // on either the secret or the engine's config. In order for a // write operation to be successful, cas must be set to the current version // of the secret. // This flag is required if cas_required is set to true on either the secret or the engine's config. In order for a write to be successful, cas must be set to the current version of the secret. Cas *float64 `json:"cas,omitempty" tf:"cas,omitempty"` // A nested block that allows configuring metadata for the // KV secret. Refer to the // Configuration Options for more info. // Custom metadata to be set for the secret. CustomMetadata []CustomMetadataObservation `json:"customMetadata,omitempty" tf:"custom_metadata,omitempty"` // If set to true, permanently deletes all // versions for the specified key. // If set to true, permanently deletes all versions for the specified key. DeleteAllVersions *bool `json:"deleteAllVersions,omitempty" tf:"delete_all_versions,omitempty"` // If set to true, disables reading secret from Vault; // note: drift won't be detected. // If set to true, disables reading secret from Vault; note: drift won't be detected. DisableRead *bool `json:"disableRead,omitempty" tf:"disable_read,omitempty"` ID *string `json:"id,omitempty" tf:"id,omitempty"` // Metadata associated with this secret read from Vault. // Metadata associated with this secret read from Vault. Metadata map[string]*string `json:"metadata,omitempty" tf:"metadata,omitempty"` // Path where KV-V2 engine is mounted. // Path where KV-V2 engine is mounted. Mount *string `json:"mount,omitempty" tf:"mount,omitempty"` // Full name of the secret. For a nested secret // the name is the nested path excluding the mount and data // prefix. For example, for a secret at kvv2/data/foo/bar/baz // the name is foo/bar/baz. // Full name of the secret. For a nested secret, the name is the nested path excluding the mount and data prefix. For example, for a secret at 'kvv2/data/foo/bar/baz', the name is 'foo/bar/baz' Name *string `json:"name,omitempty" tf:"name,omitempty"` // The namespace to provision the resource in. // The value should not contain leading or trailing forward slashes. // The namespace is always relative to the provider's configured namespace. // Available only for Vault Enterprise. // Target namespace. (requires Enterprise) Namespace *string `json:"namespace,omitempty" tf:"namespace,omitempty"` // An object that holds option settings. // An object that holds option settings. Options map[string]*string `json:"options,omitempty" tf:"options,omitempty"` // Full path where the KV-V2 secret will be written. // Full path where the KV-V2 secret will be written. Path *string `json:"path,omitempty" tf:"path,omitempty"` }
func (*SecretV2Observation) DeepCopy ¶
func (in *SecretV2Observation) DeepCopy() *SecretV2Observation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretV2Observation.
func (*SecretV2Observation) DeepCopyInto ¶
func (in *SecretV2Observation) DeepCopyInto(out *SecretV2Observation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretV2Parameters ¶
type SecretV2Parameters struct { // This flag is required if cas_required is set to true // on either the secret or the engine's config. In order for a // write operation to be successful, cas must be set to the current version // of the secret. // This flag is required if cas_required is set to true on either the secret or the engine's config. In order for a write to be successful, cas must be set to the current version of the secret. // +kubebuilder:validation:Optional Cas *float64 `json:"cas,omitempty" tf:"cas,omitempty"` // A nested block that allows configuring metadata for the // KV secret. Refer to the // Configuration Options for more info. // Custom metadata to be set for the secret. // +kubebuilder:validation:Optional CustomMetadata []CustomMetadataParameters `json:"customMetadata,omitempty" tf:"custom_metadata,omitempty"` // JSON-encoded string that will be // written as the secret data at the given path. // JSON-encoded secret data to write. // +kubebuilder:validation:Optional DataJSONSecretRef v1.SecretKeySelector `json:"dataJsonSecretRef" tf:"-"` // If set to true, permanently deletes all // versions for the specified key. // If set to true, permanently deletes all versions for the specified key. // +kubebuilder:validation:Optional DeleteAllVersions *bool `json:"deleteAllVersions,omitempty" tf:"delete_all_versions,omitempty"` // If set to true, disables reading secret from Vault; // note: drift won't be detected. // If set to true, disables reading secret from Vault; note: drift won't be detected. // +kubebuilder:validation:Optional DisableRead *bool `json:"disableRead,omitempty" tf:"disable_read,omitempty"` // Path where KV-V2 engine is mounted. // Path where KV-V2 engine is mounted. // +kubebuilder:validation:Optional Mount *string `json:"mount,omitempty" tf:"mount,omitempty"` // Full name of the secret. For a nested secret // the name is the nested path excluding the mount and data // prefix. For example, for a secret at kvv2/data/foo/bar/baz // the name is foo/bar/baz. // Full name of the secret. For a nested secret, the name is the nested path excluding the mount and data prefix. For example, for a secret at 'kvv2/data/foo/bar/baz', the name is 'foo/bar/baz' // +kubebuilder:validation:Optional Name *string `json:"name,omitempty" tf:"name,omitempty"` // The namespace to provision the resource in. // The value should not contain leading or trailing forward slashes. // The namespace is always relative to the provider's configured namespace. // Available only for Vault Enterprise. // Target namespace. (requires Enterprise) // +kubebuilder:validation:Optional Namespace *string `json:"namespace,omitempty" tf:"namespace,omitempty"` // An object that holds option settings. // An object that holds option settings. // +kubebuilder:validation:Optional Options map[string]*string `json:"options,omitempty" tf:"options,omitempty"` }
func (*SecretV2Parameters) DeepCopy ¶
func (in *SecretV2Parameters) DeepCopy() *SecretV2Parameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretV2Parameters.
func (*SecretV2Parameters) DeepCopyInto ¶
func (in *SecretV2Parameters) DeepCopyInto(out *SecretV2Parameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretV2Spec ¶
type SecretV2Spec struct { v1.ResourceSpec `json:",inline"` ForProvider SecretV2Parameters `json:"forProvider"` // 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. InitProvider SecretV2InitParameters `json:"initProvider,omitempty"` }
SecretV2Spec defines the desired state of SecretV2
func (*SecretV2Spec) DeepCopy ¶
func (in *SecretV2Spec) DeepCopy() *SecretV2Spec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretV2Spec.
func (*SecretV2Spec) DeepCopyInto ¶
func (in *SecretV2Spec) DeepCopyInto(out *SecretV2Spec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretV2Status ¶
type SecretV2Status struct { v1.ResourceStatus `json:",inline"` AtProvider SecretV2Observation `json:"atProvider,omitempty"` }
SecretV2Status defines the observed state of SecretV2.
func (*SecretV2Status) DeepCopy ¶
func (in *SecretV2Status) DeepCopy() *SecretV2Status
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretV2Status.
func (*SecretV2Status) DeepCopyInto ¶
func (in *SecretV2Status) DeepCopyInto(out *SecretV2Status)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.