A Kubernetes operator that bridges Hardware Security Module (HSM) data storage with Kubernetes Secrets, providing true secret portability th
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix lint

+2 -2
+2 -2
internal/hsm/client.go
··· 104 104 // ConfigFromHSMDevice creates a Config from HSMDevice spec 105 105 func ConfigFromHSMDevice(hsmDevice HSMDeviceSpec, pin string) Config { 106 106 config := DefaultConfig() 107 - 107 + 108 108 if hsmDevice.PKCS11 != nil { 109 109 config.PKCS11LibraryPath = hsmDevice.PKCS11.LibraryPath 110 110 config.SlotID = uint(hsmDevice.PKCS11.SlotId) 111 111 config.TokenLabel = hsmDevice.PKCS11.TokenLabel 112 112 } 113 - 113 + 114 114 config.PIN = pin 115 115 return config 116 116 }