@@ -1024,10 +1024,31 @@ let disable_repository_proxy =
10241024    ~allowed_roles: (_R_POOL_OP ++  _R_CLIENT_CERT)
10251025    () 
10261026
1027+ let  get_uefi_certificates = 
1028+   call ~name: " get_uefi_certificates" 
1029+     ~lifecycle: [] 
1030+     ~doc: " Gets the UEFI certificates used by a pool and all its hosts." 
1031+     ~params: [(Ref  _pool, " self" " The pool" 
1032+     ~allowed_roles: _R_POOL_ADMIN () 
1033+     ~result: (String , " The pool's UEFI certificates" 
1034+ 
10271035let  set_uefi_certificates = 
10281036  call ~name: " set_uefi_certificates" 
10291037    ~lifecycle: [(Published , " 22.16.0" " " 
1030-     ~doc: " Sets the UEFI certificates for a pool and all its hosts" 
1038+     ~doc: 
1039+       " Sets the UEFI certificates for a pool and all its hosts. Deprecated: \
1040+        use set_custom_uefi_certificates instead"  
1041+     ~params: 
1042+       [
1043+         (Ref  _pool, " self" " The pool" 
1044+       ; (String , " value" " The certificates to apply to the pool and its hosts" 
1045+       ]
1046+     ~allowed_roles: _R_POOL_ADMIN () 
1047+ 
1048+ let  set_custom_uefi_certificates = 
1049+   call ~name: " set_custom_uefi_certificates" 
1050+     ~lifecycle: [(Published , " 0.0.0" " " 
1051+     ~doc: " Sets custom UEFI certificates for a pool and all its hosts" 
10311052    ~params: 
10321053      [
10331054        (Ref  _pool, " self" " The pool" 
@@ -1193,7 +1214,9 @@ let t =
11931214      ; disable_client_certificate_auth
11941215      ; configure_repository_proxy
11951216      ; disable_repository_proxy
1217+       ; get_uefi_certificates
11961218      ; set_uefi_certificates
1219+       ; set_custom_uefi_certificates
11971220      ; set_https_only
11981221      ; set_telemetry_next_collection
11991222      ; reset_telemetry_uuid
@@ -1382,6 +1405,10 @@ let t =
13821405              ]
13831406            ~default_value: (Some  (VString  " " " uefi_certificates" 
13841407            " The UEFI certificates allowing Secure Boot" 
1408+         ; field ~qualifier: StaticRO  ~ty: String 
1409+             ~lifecycle: []
1410+             ~default_value: (Some  (VString  " " " custom_uefi_certificates" 
1411+             " Custom UEFI certificates allowing Secure Boot" 
13851412        ; field ~in_product_since: rel_stockholm_psr ~qualifier: RW  ~ty: Bool 
13861413            ~default_value: (Some  (VBool  false )) " is_psr_pending" 
13871414            " True if either a PSR is running or we are waiting for a PSR to be \
0 commit comments