@@ -592,6 +592,20 @@ spec:
592592 to add additional files. Those get added to the service config dir
593593 in /etc/<service> . TODO(dmendiza): -> implement'
594594 type : object
595+ enabledSecretStores :
596+ items :
597+ description : This SecretStore type is used by the EnabledSecretStores
598+ variable inside the specification.
599+ enum :
600+ - simple_crypto
601+ - pkcs11
602+ type : string
603+ maxItems : 2
604+ minItems : 1
605+ type : array
606+ globalDefaultSecretStore :
607+ default : simple_crypto
608+ type : string
595609 nodeSelector :
596610 additionalProperties :
597611 type : string
@@ -615,6 +629,72 @@ spec:
615629 default : SimpleCryptoKEK
616630 type : string
617631 type : object
632+ pkcs11 :
633+ description : BarbicanPKCS11Template - Includes all common HSM properties
634+ properties :
635+ hsmCertificates :
636+ additionalProperties :
637+ type : string
638+ description : ' The HSM certificates. The map'' s key is the OpenShift
639+ secret storing the certificate, and the value is the mounting
640+ point (e.g., "luna-certificates": "/usr/local/luna/config/certs").'
641+ type : object
642+ hsmClientAddress :
643+ description : The IP address of the client connecting to the HSM
644+ (X.Y.Z.K)
645+ type : string
646+ hsmEnabled :
647+ default : false
648+ type : boolean
649+ hsmHMACLabel :
650+ description : Label to identify HMAC key in the HSM (must not be
651+ the same as MKEK label)
652+ type : string
653+ hsmIpAddress :
654+ description : The HSM's IPv4 address (X.Y.Z.K)
655+ type : string
656+ hsmLibraryPath :
657+ description : Path to vendor's PKCS11 library
658+ type : string
659+ hsmLoggingLevel :
660+ default : 4
661+ description : Level of logging, where 0 means "no logging" and
662+ 7 means "debug".
663+ maximum : 7
664+ minimum : 0
665+ type : integer
666+ hsmLogin :
667+ description : OpenShift secret storing the password to login to
668+ PKCS11 session
669+ type : string
670+ hsmMKEKLabel :
671+ description : Label to identify master KEK in the HSM (must not
672+ be the same as HMAC label)
673+ type : string
674+ hsmMKEKLength :
675+ default : 32
676+ description : Length in bytes of master KEK
677+ type : integer
678+ hsmSlotId :
679+ default : 1
680+ description : HSM Slot ID that contains the token device to be
681+ used
682+ type : integer
683+ hsmTokenLabel :
684+ description : Token label used to identify the token to be used.
685+ Required when token_serial_number is not specified.
686+ type : string
687+ hsmTokenSerialNumber :
688+ default : " 12345678"
689+ description : Token serial number used to identify the token to
690+ be used. Required when the device has multiple tokens with the
691+ same label.
692+ type : string
693+ hsmType :
694+ description : ' A string containing the HSM type (currently supported:
695+ "trustway", "luna", "ncipher").'
696+ type : string
697+ type : object
618698 preserveJobs :
619699 default : false
620700 description : PreserveJobs - do not delete jobs after they finished
0 commit comments