Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
Types
Daniel Hougaardb7f5fa2cec8a
diff --git a/k8-operator/api/v1alpha1/infisicalsecret_types.go b/k8-operator/api/v1alpha1/infisicalsecret_types.goindex f6a7ef022e..b0cc49a8f6 100644--- a/k8-operator/api/v1alpha1/infisicalsecret_types.go+++ b/k8-operator/api/v1alpha1/infisicalsecret_types.go@@ -11,6 +11,16 @@ type Authentication struct {ServiceToken ServiceTokenDetails `json:"serviceToken"`// +kubebuilder:validation:OptionalUniversalAuth UniversalAuthDetails `json:"universalAuth"`+ // +kubebuilder:validation:Optional+ KubernetesAuth KubernetesAuthDetails `json:"kubernetesAuth"`+ // +kubebuilder:validation:Optional+ AwsIamAuth AWSIamAuthDetails `json:"awsIamAuth"`+ // +kubebuilder:validation:Optional+ AzureAuth AzureAuthDetails `json:"azureAuth"`+ // +kubebuilder:validation:Optional+ GcpIdTokenAuth GCPIdTokenAuthDetails `json:"gcpIdTokenAuth"`+ // +kubebuilder:validation:Optional+ GcpIamAuth GcpIamAuthDetails `json:"gcpIamAuth"`}type UniversalAuthDetails struct {@@ -20,6 +30,50 @@ type UniversalAuthDetails struct {SecretsScope MachineIdentityScopeInWorkspace `json:"secretsScope"`}+type KubernetesAuthDetails struct {+ // +kubebuilder:validation:Required+ IdentityID string `json:"identityId"`+ // +kubebuilder:validation:Optional+ ServiceAccountTokenPath string `json:"serviceAccountTokenPath"`++ // +kubebuilder:validation:Required+ SecretsScope MachineIdentityScopeInWorkspace `json:"secretsScope"`+}++type AWSIamAuthDetails struct {+ // +kubebuilder:validation:Required+ IdentityID string `json:"identityId"`++ // +kubebuilder:validation:Required+ SecretsScope MachineIdentityScopeInWorkspace `json:"secretsScope"`+}++type AzureAuthDetails struct {+ // +kubebuilder:validation:Required+ IdentityID string `json:"identityId"`++ // +kubebuilder:validation:Required+ SecretsScope MachineIdentityScopeInWorkspace `json:"secretsScope"`+}++type GCPIdTokenAuthDetails struct {+ // +kubebuilder:validation:Required+ IdentityID string `json:"identityId"`++ // +kubebuilder:validation:Required+ SecretsScope MachineIdentityScopeInWorkspace `json:"secretsScope"`+}++type GcpIamAuthDetails struct {+ // +kubebuilder:validation:Required+ IdentityID string `json:"identityId"`+ // +kubebuilder:validation:Required+ ServiceAccountKeyFilePath string `json:"serviceAccountKeyFilePath"`++ // +kubebuilder:validation:Required+ SecretsScope MachineIdentityScopeInWorkspace `json:"secretsScope"`+}+type ServiceTokenDetails struct {// +kubebuilder:validation:RequiredServiceTokenSecretReference KubeSecretReference `json:"serviceTokenSecretReference"`diff --git a/k8-operator/api/v1alpha1/zz_generated.deepcopy.go b/k8-operator/api/v1alpha1/zz_generated.deepcopy.goindex 23251a194b..2f2e58a5ea 100644--- a/k8-operator/api/v1alpha1/zz_generated.deepcopy.go+++ b/k8-operator/api/v1alpha1/zz_generated.deepcopy.go@@ -32,6 +32,7 @@ func (in *Authentication) DeepCopyInto(out *Authentication) {out.ServiceAccount = in.ServiceAccountout.ServiceToken = in.ServiceTokenout.UniversalAuth = in.UniversalAuth+ out.KubernetesAuth = in.KubernetesAuth}// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Authentication.@@ -158,6 +159,22 @@ func (in *KubeSecretReference) DeepCopy() *KubeSecretReference {return out}+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.+func (in *KubernetesAuthDetails) DeepCopyInto(out *KubernetesAuthDetails) {+ *out = *in+ out.SecretsScope = in.SecretsScope+}++// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubernetesAuthDetails.+func (in *KubernetesAuthDetails) DeepCopy() *KubernetesAuthDetails {+ if in == nil {+ return nil+ }+ out := new(KubernetesAuthDetails)+ in.DeepCopyInto(out)+ return out+}+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.func (in *MachineIdentityScopeInWorkspace) DeepCopyInto(out *MachineIdentityScopeInWorkspace) {*out = *in