cloudflare 6.2.0 → 6.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (389) hide show
  1. package/CHANGELOG.md +131 -0
  2. package/index.d.mts +3 -0
  3. package/index.d.ts +3 -0
  4. package/index.d.ts.map +1 -1
  5. package/index.js +3 -0
  6. package/index.js.map +1 -1
  7. package/index.mjs +3 -0
  8. package/index.mjs.map +1 -1
  9. package/package.json +1 -1
  10. package/resources/ai/models/models.d.ts +5 -0
  11. package/resources/ai/models/models.d.ts.map +1 -1
  12. package/resources/ai/models/models.js.map +1 -1
  13. package/resources/ai/models/models.mjs.map +1 -1
  14. package/resources/aisearch/instances/instances.d.ts +5 -0
  15. package/resources/aisearch/instances/instances.d.ts.map +1 -1
  16. package/resources/aisearch/instances/instances.js.map +1 -1
  17. package/resources/aisearch/instances/instances.mjs.map +1 -1
  18. package/resources/aisearch/namespaces/instances/instances.d.ts +5 -0
  19. package/resources/aisearch/namespaces/instances/instances.d.ts.map +1 -1
  20. package/resources/aisearch/namespaces/instances/instances.js.map +1 -1
  21. package/resources/aisearch/namespaces/instances/instances.mjs.map +1 -1
  22. package/resources/billing/billing.d.ts +2 -2
  23. package/resources/billing/billing.d.ts.map +1 -1
  24. package/resources/billing/billing.js.map +1 -1
  25. package/resources/billing/billing.mjs.map +1 -1
  26. package/resources/billing/index.d.ts +1 -1
  27. package/resources/billing/index.d.ts.map +1 -1
  28. package/resources/billing/index.js.map +1 -1
  29. package/resources/billing/index.mjs +1 -1
  30. package/resources/billing/index.mjs.map +1 -1
  31. package/resources/billing/usage.d.ts +213 -3
  32. package/resources/billing/usage.d.ts.map +1 -1
  33. package/resources/billing/usage.js +20 -4
  34. package/resources/billing/usage.js.map +1 -1
  35. package/resources/billing/usage.mjs +20 -4
  36. package/resources/billing/usage.mjs.map +1 -1
  37. package/resources/cloudforce-one/threat-events/countries.d.ts +1 -0
  38. package/resources/cloudforce-one/threat-events/countries.d.ts.map +1 -1
  39. package/resources/custom-certificates/custom-certificates.d.ts +9 -7
  40. package/resources/custom-certificates/custom-certificates.d.ts.map +1 -1
  41. package/resources/custom-certificates/custom-certificates.js +0 -2
  42. package/resources/custom-certificates/custom-certificates.js.map +1 -1
  43. package/resources/custom-certificates/custom-certificates.mjs +0 -2
  44. package/resources/custom-certificates/custom-certificates.mjs.map +1 -1
  45. package/resources/dls/dls.d.ts +14 -0
  46. package/resources/dls/dls.d.ts.map +1 -0
  47. package/resources/dls/dls.js +44 -0
  48. package/resources/dls/dls.js.map +1 -0
  49. package/resources/dls/dls.mjs +17 -0
  50. package/resources/dls/dls.mjs.map +1 -0
  51. package/resources/dls/index.d.ts +4 -0
  52. package/resources/dls/index.d.ts.map +1 -0
  53. package/resources/dls/index.js +12 -0
  54. package/resources/dls/index.js.map +1 -0
  55. package/resources/dls/index.mjs +5 -0
  56. package/resources/dls/index.mjs.map +1 -0
  57. package/resources/dls/regional-services/index.d.ts +3 -0
  58. package/resources/dls/regional-services/index.d.ts.map +1 -0
  59. package/resources/dls/regional-services/index.js +10 -0
  60. package/resources/dls/regional-services/index.js.map +1 -0
  61. package/resources/dls/regional-services/index.mjs +4 -0
  62. package/resources/dls/regional-services/index.mjs.map +1 -0
  63. package/resources/dls/regional-services/prefix-bindings.d.ts +197 -0
  64. package/resources/dls/regional-services/prefix-bindings.d.ts.map +1 -0
  65. package/resources/dls/regional-services/prefix-bindings.js +103 -0
  66. package/resources/dls/regional-services/prefix-bindings.js.map +1 -0
  67. package/resources/dls/regional-services/prefix-bindings.mjs +98 -0
  68. package/resources/dls/regional-services/prefix-bindings.mjs.map +1 -0
  69. package/resources/dls/regional-services/regional-services.d.ts +10 -0
  70. package/resources/dls/regional-services/regional-services.d.ts.map +1 -0
  71. package/resources/dls/regional-services/regional-services.js +40 -0
  72. package/resources/dls/regional-services/regional-services.js.map +1 -0
  73. package/resources/dls/regional-services/regional-services.mjs +13 -0
  74. package/resources/dls/regional-services/regional-services.mjs.map +1 -0
  75. package/resources/dls/regional-services.d.ts +2 -0
  76. package/resources/dls/regional-services.d.ts.map +1 -0
  77. package/resources/dls/regional-services.js +19 -0
  78. package/resources/dls/regional-services.js.map +1 -0
  79. package/resources/dls/regional-services.mjs +3 -0
  80. package/resources/dls/regional-services.mjs.map +1 -0
  81. package/resources/dls/regions.d.ts +68 -0
  82. package/resources/dls/regions.d.ts.map +1 -0
  83. package/resources/dls/regions.js +46 -0
  84. package/resources/dls/regions.js.map +1 -0
  85. package/resources/dls/regions.mjs +41 -0
  86. package/resources/dls/regions.mjs.map +1 -0
  87. package/resources/dls.d.ts +2 -0
  88. package/resources/dls.d.ts.map +1 -0
  89. package/resources/dls.js +19 -0
  90. package/resources/dls.js.map +1 -0
  91. package/resources/dls.mjs +3 -0
  92. package/resources/dls.mjs.map +1 -0
  93. package/resources/email-sending/email-sending.d.ts +2 -2
  94. package/resources/index.d.ts +1 -0
  95. package/resources/index.d.ts.map +1 -1
  96. package/resources/index.js +5 -3
  97. package/resources/index.js.map +1 -1
  98. package/resources/index.mjs +1 -0
  99. package/resources/index.mjs.map +1 -1
  100. package/resources/intel/sinkholes.d.ts +9 -9
  101. package/resources/intel/sinkholes.js +1 -1
  102. package/resources/intel/sinkholes.mjs +1 -1
  103. package/resources/logpush/datasets/fields.d.ts +2 -2
  104. package/resources/logpush/datasets/fields.d.ts.map +1 -1
  105. package/resources/logpush/datasets/fields.js.map +1 -1
  106. package/resources/logpush/datasets/fields.mjs.map +1 -1
  107. package/resources/logpush/datasets/jobs.d.ts +2 -2
  108. package/resources/logpush/datasets/jobs.d.ts.map +1 -1
  109. package/resources/logpush/datasets/jobs.js.map +1 -1
  110. package/resources/logpush/datasets/jobs.mjs.map +1 -1
  111. package/resources/logpush/jobs.d.ts +2 -2
  112. package/resources/logpush/jobs.d.ts.map +1 -1
  113. package/resources/logpush/jobs.js.map +1 -1
  114. package/resources/logpush/jobs.mjs.map +1 -1
  115. package/resources/organizations/billing/billing.d.ts +10 -0
  116. package/resources/organizations/billing/billing.d.ts.map +1 -0
  117. package/resources/organizations/billing/billing.js +39 -0
  118. package/resources/organizations/billing/billing.js.map +1 -0
  119. package/resources/organizations/billing/billing.mjs +12 -0
  120. package/resources/organizations/billing/billing.mjs.map +1 -0
  121. package/resources/organizations/billing/index.d.ts +3 -0
  122. package/resources/organizations/billing/index.d.ts.map +1 -0
  123. package/resources/organizations/billing/index.js +9 -0
  124. package/resources/organizations/billing/index.js.map +1 -0
  125. package/resources/organizations/billing/index.mjs +4 -0
  126. package/resources/organizations/billing/index.mjs.map +1 -0
  127. package/resources/organizations/billing/usage.d.ts +210 -0
  128. package/resources/organizations/billing/usage.d.ts.map +1 -0
  129. package/resources/organizations/billing/usage.js +19 -0
  130. package/resources/organizations/billing/usage.js.map +1 -0
  131. package/resources/organizations/billing/usage.mjs +15 -0
  132. package/resources/organizations/billing/usage.mjs.map +1 -0
  133. package/resources/organizations/billing.d.ts +2 -0
  134. package/resources/organizations/billing.d.ts.map +1 -0
  135. package/resources/organizations/billing.js +19 -0
  136. package/resources/organizations/billing.js.map +1 -0
  137. package/resources/organizations/billing.mjs +3 -0
  138. package/resources/organizations/billing.mjs.map +1 -0
  139. package/resources/organizations/index.d.ts +1 -0
  140. package/resources/organizations/index.d.ts.map +1 -1
  141. package/resources/organizations/index.js +5 -3
  142. package/resources/organizations/index.js.map +1 -1
  143. package/resources/organizations/index.mjs +1 -0
  144. package/resources/organizations/index.mjs.map +1 -1
  145. package/resources/organizations/organization-profile.d.ts +2 -2
  146. package/resources/organizations/organization-profile.js +2 -2
  147. package/resources/organizations/organization-profile.mjs +2 -2
  148. package/resources/organizations/organizations.d.ts +9 -5
  149. package/resources/organizations/organizations.d.ts.map +1 -1
  150. package/resources/organizations/organizations.js +8 -4
  151. package/resources/organizations/organizations.js.map +1 -1
  152. package/resources/organizations/organizations.mjs +8 -4
  153. package/resources/organizations/organizations.mjs.map +1 -1
  154. package/resources/r2/buckets/buckets.d.ts +4 -0
  155. package/resources/r2/buckets/buckets.d.ts.map +1 -1
  156. package/resources/r2/buckets/buckets.js +5 -0
  157. package/resources/r2/buckets/buckets.js.map +1 -1
  158. package/resources/r2/buckets/buckets.mjs +5 -0
  159. package/resources/r2/buckets/buckets.mjs.map +1 -1
  160. package/resources/r2/buckets/index.d.ts +1 -0
  161. package/resources/r2/buckets/index.d.ts.map +1 -1
  162. package/resources/r2/buckets/index.js +4 -1
  163. package/resources/r2/buckets/index.js.map +1 -1
  164. package/resources/r2/buckets/index.mjs +1 -0
  165. package/resources/r2/buckets/index.mjs.map +1 -1
  166. package/resources/r2/buckets/objects.d.ts +281 -0
  167. package/resources/r2/buckets/objects.d.ts.map +1 -0
  168. package/resources/r2/buckets/objects.js +151 -0
  169. package/resources/r2/buckets/objects.js.map +1 -0
  170. package/resources/r2/buckets/objects.mjs +146 -0
  171. package/resources/r2/buckets/objects.mjs.map +1 -0
  172. package/resources/radar/http/http.d.ts +16 -4
  173. package/resources/radar/http/http.d.ts.map +1 -1
  174. package/resources/radar/http/http.js.map +1 -1
  175. package/resources/radar/http/http.mjs.map +1 -1
  176. package/resources/secrets-store/index.d.ts +1 -1
  177. package/resources/secrets-store/index.d.ts.map +1 -1
  178. package/resources/secrets-store/index.js.map +1 -1
  179. package/resources/secrets-store/index.mjs.map +1 -1
  180. package/resources/secrets-store/secrets-store.d.ts +2 -2
  181. package/resources/secrets-store/secrets-store.d.ts.map +1 -1
  182. package/resources/secrets-store/secrets-store.js.map +1 -1
  183. package/resources/secrets-store/secrets-store.mjs.map +1 -1
  184. package/resources/secrets-store/stores/index.d.ts +1 -1
  185. package/resources/secrets-store/stores/index.d.ts.map +1 -1
  186. package/resources/secrets-store/stores/index.js.map +1 -1
  187. package/resources/secrets-store/stores/index.mjs.map +1 -1
  188. package/resources/secrets-store/stores/stores.d.ts +41 -1
  189. package/resources/secrets-store/stores/stores.d.ts.map +1 -1
  190. package/resources/secrets-store/stores/stores.js +15 -0
  191. package/resources/secrets-store/stores/stores.js.map +1 -1
  192. package/resources/secrets-store/stores/stores.mjs +15 -0
  193. package/resources/secrets-store/stores/stores.mjs.map +1 -1
  194. package/resources/spectrum/apps.d.ts +30 -0
  195. package/resources/spectrum/apps.d.ts.map +1 -1
  196. package/resources/spectrum/apps.js.map +1 -1
  197. package/resources/spectrum/apps.mjs.map +1 -1
  198. package/resources/workers/beta/workers/workers.d.ts +32 -0
  199. package/resources/workers/beta/workers/workers.d.ts.map +1 -1
  200. package/resources/workers/beta/workers/workers.js.map +1 -1
  201. package/resources/workers/beta/workers/workers.mjs.map +1 -1
  202. package/resources/workers/observability/destinations.d.ts +5 -5
  203. package/resources/workers/observability/destinations.d.ts.map +1 -1
  204. package/resources/workers/observability/index.d.ts +1 -0
  205. package/resources/workers/observability/index.d.ts.map +1 -1
  206. package/resources/workers/observability/index.js +4 -1
  207. package/resources/workers/observability/index.js.map +1 -1
  208. package/resources/workers/observability/index.mjs +1 -0
  209. package/resources/workers/observability/index.mjs.map +1 -1
  210. package/resources/workers/observability/observability.d.ts +4 -0
  211. package/resources/workers/observability/observability.d.ts.map +1 -1
  212. package/resources/workers/observability/observability.js +5 -0
  213. package/resources/workers/observability/observability.js.map +1 -1
  214. package/resources/workers/observability/observability.mjs +5 -0
  215. package/resources/workers/observability/observability.mjs.map +1 -1
  216. package/resources/workers/observability/queries.d.ts +471 -0
  217. package/resources/workers/observability/queries.d.ts.map +1 -0
  218. package/resources/workers/observability/queries.js +52 -0
  219. package/resources/workers/observability/queries.js.map +1 -0
  220. package/resources/workers/observability/queries.mjs +47 -0
  221. package/resources/workers/observability/queries.mjs.map +1 -0
  222. package/resources/workers/observability/telemetry.d.ts +62 -36
  223. package/resources/workers/observability/telemetry.d.ts.map +1 -1
  224. package/resources/workers/observability/telemetry.js.map +1 -1
  225. package/resources/workers/observability/telemetry.mjs.map +1 -1
  226. package/resources/workers/scripts/index.d.ts +1 -1
  227. package/resources/workers/scripts/index.d.ts.map +1 -1
  228. package/resources/workers/scripts/index.js.map +1 -1
  229. package/resources/workers/scripts/index.mjs.map +1 -1
  230. package/resources/workers/scripts/script-and-version-settings.d.ts +24 -0
  231. package/resources/workers/scripts/script-and-version-settings.d.ts.map +1 -1
  232. package/resources/workers/scripts/scripts.d.ts +42 -2
  233. package/resources/workers/scripts/scripts.d.ts.map +1 -1
  234. package/resources/workers/scripts/scripts.js.map +1 -1
  235. package/resources/workers/scripts/scripts.mjs.map +1 -1
  236. package/resources/workers/scripts/secrets.d.ts +137 -1
  237. package/resources/workers/scripts/secrets.d.ts.map +1 -1
  238. package/resources/workers/scripts/secrets.js +27 -0
  239. package/resources/workers/scripts/secrets.js.map +1 -1
  240. package/resources/workers/scripts/secrets.mjs +27 -0
  241. package/resources/workers/scripts/secrets.mjs.map +1 -1
  242. package/resources/workers/scripts/settings.d.ts +8 -0
  243. package/resources/workers/scripts/settings.d.ts.map +1 -1
  244. package/resources/workers-for-platforms/dispatch/namespaces/scripts/index.d.ts +1 -1
  245. package/resources/workers-for-platforms/dispatch/namespaces/scripts/index.d.ts.map +1 -1
  246. package/resources/workers-for-platforms/dispatch/namespaces/scripts/index.js.map +1 -1
  247. package/resources/workers-for-platforms/dispatch/namespaces/scripts/index.mjs.map +1 -1
  248. package/resources/workers-for-platforms/dispatch/namespaces/scripts/scripts.d.ts +18 -2
  249. package/resources/workers-for-platforms/dispatch/namespaces/scripts/scripts.d.ts.map +1 -1
  250. package/resources/workers-for-platforms/dispatch/namespaces/scripts/scripts.js.map +1 -1
  251. package/resources/workers-for-platforms/dispatch/namespaces/scripts/scripts.mjs.map +1 -1
  252. package/resources/workers-for-platforms/dispatch/namespaces/scripts/secrets.d.ts +138 -1
  253. package/resources/workers-for-platforms/dispatch/namespaces/scripts/secrets.d.ts.map +1 -1
  254. package/resources/workers-for-platforms/dispatch/namespaces/scripts/secrets.js +28 -0
  255. package/resources/workers-for-platforms/dispatch/namespaces/scripts/secrets.js.map +1 -1
  256. package/resources/workers-for-platforms/dispatch/namespaces/scripts/secrets.mjs +28 -0
  257. package/resources/workers-for-platforms/dispatch/namespaces/scripts/secrets.mjs.map +1 -1
  258. package/resources/workers-for-platforms/dispatch/namespaces/scripts/settings.d.ts +24 -0
  259. package/resources/workers-for-platforms/dispatch/namespaces/scripts/settings.d.ts.map +1 -1
  260. package/resources/zero-trust/access/access.d.ts +4 -0
  261. package/resources/zero-trust/access/access.d.ts.map +1 -1
  262. package/resources/zero-trust/access/access.js +5 -0
  263. package/resources/zero-trust/access/access.js.map +1 -1
  264. package/resources/zero-trust/access/access.mjs +5 -0
  265. package/resources/zero-trust/access/access.mjs.map +1 -1
  266. package/resources/zero-trust/access/ai-controls/mcp/portals.d.ts +190 -0
  267. package/resources/zero-trust/access/ai-controls/mcp/portals.d.ts.map +1 -1
  268. package/resources/zero-trust/access/ai-controls/mcp/portals.js.map +1 -1
  269. package/resources/zero-trust/access/ai-controls/mcp/portals.mjs.map +1 -1
  270. package/resources/zero-trust/access/ai-controls/mcp/servers.d.ts +202 -2
  271. package/resources/zero-trust/access/ai-controls/mcp/servers.d.ts.map +1 -1
  272. package/resources/zero-trust/access/ai-controls/mcp/servers.js +2 -1
  273. package/resources/zero-trust/access/ai-controls/mcp/servers.js.map +1 -1
  274. package/resources/zero-trust/access/ai-controls/mcp/servers.mjs +2 -1
  275. package/resources/zero-trust/access/ai-controls/mcp/servers.mjs.map +1 -1
  276. package/resources/zero-trust/access/applications/policies.d.ts +32 -2
  277. package/resources/zero-trust/access/applications/policies.d.ts.map +1 -1
  278. package/resources/zero-trust/access/applications/policies.js.map +1 -1
  279. package/resources/zero-trust/access/applications/policies.mjs.map +1 -1
  280. package/resources/zero-trust/access/index.d.ts +1 -0
  281. package/resources/zero-trust/access/index.d.ts.map +1 -1
  282. package/resources/zero-trust/access/index.js +4 -1
  283. package/resources/zero-trust/access/index.js.map +1 -1
  284. package/resources/zero-trust/access/index.mjs +1 -0
  285. package/resources/zero-trust/access/index.mjs.map +1 -1
  286. package/resources/zero-trust/access/saml-certificates.d.ts +248 -0
  287. package/resources/zero-trust/access/saml-certificates.d.ts.map +1 -0
  288. package/resources/zero-trust/access/saml-certificates.js +100 -0
  289. package/resources/zero-trust/access/saml-certificates.js.map +1 -0
  290. package/resources/zero-trust/access/saml-certificates.mjs +95 -0
  291. package/resources/zero-trust/access/saml-certificates.mjs.map +1 -0
  292. package/resources/zero-trust/devices/posture/posture.d.ts +10 -0
  293. package/resources/zero-trust/devices/posture/posture.d.ts.map +1 -1
  294. package/resources/zero-trust/devices/posture/posture.js.map +1 -1
  295. package/resources/zero-trust/devices/posture/posture.mjs.map +1 -1
  296. package/resources/zero-trust/identity-providers/identity-providers.d.ts +2689 -108
  297. package/resources/zero-trust/identity-providers/identity-providers.d.ts.map +1 -1
  298. package/resources/zero-trust/identity-providers/identity-providers.js +4 -0
  299. package/resources/zero-trust/identity-providers/identity-providers.js.map +1 -1
  300. package/resources/zero-trust/identity-providers/identity-providers.mjs +4 -0
  301. package/resources/zero-trust/identity-providers/identity-providers.mjs.map +1 -1
  302. package/resources/zero-trust/identity-providers/index.d.ts +1 -0
  303. package/resources/zero-trust/identity-providers/index.d.ts.map +1 -1
  304. package/resources/zero-trust/identity-providers/index.js +3 -1
  305. package/resources/zero-trust/identity-providers/index.js.map +1 -1
  306. package/resources/zero-trust/identity-providers/index.mjs +1 -0
  307. package/resources/zero-trust/identity-providers/index.mjs.map +1 -1
  308. package/resources/zero-trust/identity-providers/saml-certificate.d.ts +91 -0
  309. package/resources/zero-trust/identity-providers/saml-certificate.d.ts.map +1 -0
  310. package/resources/zero-trust/identity-providers/saml-certificate.js +37 -0
  311. package/resources/zero-trust/identity-providers/saml-certificate.js.map +1 -0
  312. package/resources/zero-trust/identity-providers/saml-certificate.mjs +33 -0
  313. package/resources/zero-trust/identity-providers/saml-certificate.mjs.map +1 -0
  314. package/src/index.ts +5 -0
  315. package/src/resources/ai/models/models.ts +6 -0
  316. package/src/resources/aisearch/instances/instances.ts +6 -0
  317. package/src/resources/aisearch/namespaces/instances/instances.ts +6 -0
  318. package/src/resources/billing/api.md +3 -1
  319. package/src/resources/billing/billing.ts +3 -1
  320. package/src/resources/billing/index.ts +7 -1
  321. package/src/resources/billing/usage.ts +268 -7
  322. package/src/resources/cloudforce-one/threat-events/countries.ts +2 -0
  323. package/src/resources/custom-certificates/custom-certificates.ts +10 -8
  324. package/src/resources/dls/api.md +33 -0
  325. package/src/resources/dls/dls.ts +38 -0
  326. package/src/resources/dls/index.ts +12 -0
  327. package/src/resources/dls/regional-services/index.ts +17 -0
  328. package/src/resources/dls/regional-services/prefix-bindings.ts +301 -0
  329. package/src/resources/dls/regional-services/regional-services.ts +42 -0
  330. package/src/resources/dls/regional-services.ts +3 -0
  331. package/src/resources/dls/regions.ts +118 -0
  332. package/src/resources/dls.ts +3 -0
  333. package/src/resources/email-sending/email-sending.ts +2 -2
  334. package/src/resources/index.ts +1 -0
  335. package/src/resources/intel/sinkholes.ts +9 -9
  336. package/src/resources/logpush/datasets/fields.ts +3 -0
  337. package/src/resources/logpush/datasets/jobs.ts +3 -0
  338. package/src/resources/logpush/jobs.ts +2 -0
  339. package/src/resources/organizations/api.md +12 -0
  340. package/src/resources/organizations/billing/billing.ts +15 -0
  341. package/src/resources/organizations/billing/index.ts +4 -0
  342. package/src/resources/organizations/billing/usage.ts +270 -0
  343. package/src/resources/organizations/billing.ts +3 -0
  344. package/src/resources/organizations/index.ts +1 -0
  345. package/src/resources/organizations/organization-profile.ts +2 -2
  346. package/src/resources/organizations/organizations.ts +11 -5
  347. package/src/resources/r2/api.md +15 -0
  348. package/src/resources/r2/buckets/buckets.ts +27 -0
  349. package/src/resources/r2/buckets/index.ts +11 -0
  350. package/src/resources/r2/buckets/objects.ts +419 -0
  351. package/src/resources/radar/http/http.ts +72 -0
  352. package/src/resources/secrets-store/api.md +2 -0
  353. package/src/resources/secrets-store/index.ts +2 -0
  354. package/src/resources/secrets-store/secrets-store.ts +4 -0
  355. package/src/resources/secrets-store/stores/index.ts +2 -0
  356. package/src/resources/secrets-store/stores/stores.ts +61 -0
  357. package/src/resources/spectrum/apps.ts +36 -0
  358. package/src/resources/workers/api.md +14 -0
  359. package/src/resources/workers/beta/workers/workers.ts +36 -0
  360. package/src/resources/workers/observability/destinations.ts +5 -5
  361. package/src/resources/workers/observability/index.ts +8 -0
  362. package/src/resources/workers/observability/observability.ts +21 -0
  363. package/src/resources/workers/observability/queries.ts +825 -0
  364. package/src/resources/workers/observability/telemetry.ts +84 -36
  365. package/src/resources/workers/scripts/index.ts +2 -0
  366. package/src/resources/workers/scripts/script-and-version-settings.ts +27 -0
  367. package/src/resources/workers/scripts/scripts.ts +49 -0
  368. package/src/resources/workers/scripts/secrets.ts +180 -0
  369. package/src/resources/workers/scripts/settings.ts +9 -0
  370. package/src/resources/workers-for-platforms/api.md +2 -0
  371. package/src/resources/workers-for-platforms/dispatch/namespaces/scripts/index.ts +2 -0
  372. package/src/resources/workers-for-platforms/dispatch/namespaces/scripts/scripts.ts +22 -0
  373. package/src/resources/workers-for-platforms/dispatch/namespaces/scripts/secrets.ts +185 -0
  374. package/src/resources/workers-for-platforms/dispatch/namespaces/scripts/settings.ts +27 -0
  375. package/src/resources/zero-trust/access/access.ts +29 -0
  376. package/src/resources/zero-trust/access/ai-controls/mcp/portals.ts +236 -0
  377. package/src/resources/zero-trust/access/ai-controls/mcp/servers.ts +246 -2
  378. package/src/resources/zero-trust/access/applications/policies.ts +38 -2
  379. package/src/resources/zero-trust/access/index.ts +11 -0
  380. package/src/resources/zero-trust/access/saml-certificates.ts +343 -0
  381. package/src/resources/zero-trust/api.md +25 -0
  382. package/src/resources/zero-trust/devices/posture/posture.ts +12 -0
  383. package/src/resources/zero-trust/identity-providers/identity-providers.ts +3045 -38
  384. package/src/resources/zero-trust/identity-providers/index.ts +5 -0
  385. package/src/resources/zero-trust/identity-providers/saml-certificate.ts +119 -0
  386. package/src/version.ts +1 -1
  387. package/version.d.ts +1 -1
  388. package/version.js +1 -1
  389. package/version.mjs +1 -1
@@ -4,6 +4,12 @@ import { APIResource } from '../../../resource';
4
4
  import { isRequestOptions } from '../../../core';
5
5
  import * as Core from '../../../core';
6
6
  import * as IdentityProvidersAPI from './identity-providers';
7
+ import * as SAMLCertificateAPI from './saml-certificate';
8
+ import {
9
+ SAMLCertificate,
10
+ SAMLCertificateCreateParams,
11
+ SAMLCertificateCreateResponse,
12
+ } from './saml-certificate';
7
13
  import * as SCIMAPI from './scim/scim';
8
14
  import { SCIM } from './scim/scim';
9
15
  import { CloudflareError } from '../../../error';
@@ -11,6 +17,7 @@ import { V4PagePaginationArray, type V4PagePaginationArrayParams } from '../../.
11
17
 
12
18
  export class IdentityProviders extends APIResource {
13
19
  scim: SCIMAPI.SCIM = new SCIMAPI.SCIM(this._client);
20
+ samlCertificate: SAMLCertificateAPI.SAMLCertificate = new SAMLCertificateAPI.SAMLCertificate(this._client);
14
21
 
15
22
  /**
16
23
  * Adds a new identity provider to Access.
@@ -286,6 +293,21 @@ export interface AzureAD {
286
293
  */
287
294
  id?: string;
288
295
 
296
+ /**
297
+ * The SAML encryption certificate set details, including current and previous
298
+ * certificates. Only present for SAML identity providers with a certificate set
299
+ * assigned.
300
+ */
301
+ saml_certificate_set?: AzureAD.SAMLCertificateSet;
302
+
303
+ /**
304
+ * The UID of the SAML encryption certificate set assigned to this Identity
305
+ * Provider. Only present for SAML identity providers with encryption configured.
306
+ * Create a certificate set via POST to
307
+ * `/identity_providers/{id}/saml_certificate`.
308
+ */
309
+ saml_certificate_set_id?: string;
310
+
289
311
  /**
290
312
  * The configuration settings for enabling a System for Cross-Domain Identity
291
313
  * Management (SCIM) with the identity provider.
@@ -347,6 +369,68 @@ export namespace AzureAD {
347
369
  */
348
370
  support_groups?: boolean;
349
371
  }
372
+
373
+ /**
374
+ * The SAML encryption certificate set details, including current and previous
375
+ * certificates. Only present for SAML identity providers with a certificate set
376
+ * assigned.
377
+ */
378
+ export interface SAMLCertificateSet {
379
+ /**
380
+ * Timestamp when the certificate set was created
381
+ */
382
+ created_at: string;
383
+
384
+ /**
385
+ * Unique identifier for the certificate set
386
+ */
387
+ uid: string;
388
+
389
+ /**
390
+ * Timestamp when the certificate set was last updated (e.g., during rotation)
391
+ */
392
+ updated_at: string;
393
+
394
+ /**
395
+ * The currently active certificate used for encrypting SAML assertions
396
+ */
397
+ current_certificate?: SAMLCertificateSet.CurrentCertificate;
398
+
399
+ /**
400
+ * The previous certificate, maintained during rotation to ensure continuity. Null
401
+ * if no rotation has occurred. Mirrors the structure of `saml_certificate`.
402
+ */
403
+ previous_certificate?: unknown | null;
404
+ }
405
+
406
+ export namespace SAMLCertificateSet {
407
+ /**
408
+ * The currently active certificate used for encrypting SAML assertions
409
+ */
410
+ export interface CurrentCertificate {
411
+ /**
412
+ * Indicates whether this is the currently active certificate
413
+ */
414
+ is_current: boolean;
415
+
416
+ /**
417
+ * Certificate expiration date. Certificates are automatically rotated 30 days
418
+ * before expiration.
419
+ */
420
+ not_after: string;
421
+
422
+ /**
423
+ * PEM-encoded X.509 certificate containing the public key. Configure this
424
+ * certificate in your external SAML Identity Provider to enable encryption.
425
+ */
426
+ public_certificate: string;
427
+
428
+ /**
429
+ * Unique identifier for the certificate
430
+ */
431
+ uid: string;
432
+ }
433
+ }
350
434
  }
351
435
 
352
436
  export interface AzureADParam {
@@ -369,6 +453,14 @@ export interface AzureADParam {
369
453
  */
370
454
  type: IdentityProviderTypeParam;
371
455
 
456
+ /**
457
+ * The UID of the SAML encryption certificate set assigned to this Identity
458
+ * Provider. Only present for SAML identity providers with encryption configured.
459
+ * Create a certificate set via POST to
460
+ * `/identity_providers/{id}/saml_certificate`.
461
+ */
462
+ saml_certificate_set_id?: string;
463
+
372
464
  /**
373
465
  * The configuration settings for enabling a System for Cross-Domain Identity
374
466
  * Management (SCIM) with the identity provider.
@@ -470,7 +562,8 @@ export type IdentityProvider =
470
562
  | IdentityProvider.AccessPingone
471
563
  | IdentityProvider.AccessSAML
472
564
  | IdentityProvider.AccessYandex
473
- | IdentityProvider.AccessOnetimepin;
565
+ | IdentityProvider.AccessOnetimepin
566
+ | IdentityProvider.AccessCloudflare;
474
567
 
475
568
  export namespace IdentityProvider {
476
569
  export interface AccessCentrify {
@@ -498,6 +591,21 @@ export namespace IdentityProvider {
498
591
  */
499
592
  id?: string;
500
593
 
594
+ /**
595
+ * The SAML encryption certificate set details, including current and previous
596
+ * certificates. Only present for SAML identity providers with a certificate set
597
+ * assigned.
598
+ */
599
+ saml_certificate_set?: AccessCentrify.SAMLCertificateSet;
600
+
601
+ /**
602
+ * The UID of the SAML encryption certificate set assigned to this Identity
603
+ * Provider. Only present for SAML identity providers with encryption configured.
604
+ * Create a certificate set via POST to
605
+ * `/identity_providers/{id}/saml_certificate`.
606
+ */
607
+ saml_certificate_set_id?: string;
608
+
501
609
  /**
502
610
  * The configuration settings for enabling a System for Cross-Domain Identity
503
611
  * Management (SCIM) with the identity provider.
@@ -542,6 +650,68 @@ export namespace IdentityProvider {
542
650
  */
543
651
  email_claim_name?: string;
544
652
  }
653
+
654
+ /**
655
+ * The SAML encryption certificate set details, including current and previous
656
+ * certificates. Only present for SAML identity providers with a certificate set
657
+ * assigned.
658
+ */
659
+ export interface SAMLCertificateSet {
660
+ /**
661
+ * Timestamp when the certificate set was created
662
+ */
663
+ created_at: string;
664
+
665
+ /**
666
+ * Unique identifier for the certificate set
667
+ */
668
+ uid: string;
669
+
670
+ /**
671
+ * Timestamp when the certificate set was last updated (e.g., during rotation)
672
+ */
673
+ updated_at: string;
674
+
675
+ /**
676
+ * The currently active certificate used for encrypting SAML assertions
677
+ */
678
+ current_certificate?: SAMLCertificateSet.CurrentCertificate;
679
+
680
+ /**
681
+ * The previous certificate, maintained during rotation to ensure continuity. Null
682
+ * if no rotation has occurred. Mirrors the structure of `saml_certificate`.
683
+ */
684
+ previous_certificate?: unknown | null;
685
+ }
686
+
687
+ export namespace SAMLCertificateSet {
688
+ /**
689
+ * The currently active certificate used for encrypting SAML assertions
690
+ */
691
+ export interface CurrentCertificate {
692
+ /**
693
+ * Indicates whether this is the currently active certificate
694
+ */
695
+ is_current: boolean;
696
+
697
+ /**
698
+ * Certificate expiration date. Certificates are automatically rotated 30 days
699
+ * before expiration.
700
+ */
701
+ not_after: string;
702
+
703
+ /**
704
+ * PEM-encoded X.509 certificate containing the public key. Configure this
705
+ * certificate in your external SAML Identity Provider to enable encryption.
706
+ */
707
+ public_certificate: string;
708
+
709
+ /**
710
+ * Unique identifier for the certificate
711
+ */
712
+ uid: string;
713
+ }
714
+ }
545
715
  }
546
716
 
547
717
  export interface AccessFacebook {
@@ -569,6 +739,21 @@ export namespace IdentityProvider {
569
739
  */
570
740
  id?: string;
571
741
 
742
+ /**
743
+ * The SAML encryption certificate set details, including current and previous
744
+ * certificates. Only present for SAML identity providers with a certificate set
745
+ * assigned.
746
+ */
747
+ saml_certificate_set?: AccessFacebook.SAMLCertificateSet;
748
+
749
+ /**
750
+ * The UID of the SAML encryption certificate set assigned to this Identity
751
+ * Provider. Only present for SAML identity providers with encryption configured.
752
+ * Create a certificate set via POST to
753
+ * `/identity_providers/{id}/saml_certificate`.
754
+ */
755
+ saml_certificate_set_id?: string;
756
+
572
757
  /**
573
758
  * The configuration settings for enabling a System for Cross-Domain Identity
574
759
  * Management (SCIM) with the identity provider.
@@ -576,6 +761,70 @@ export namespace IdentityProvider {
576
761
  scim_config?: IdentityProvidersAPI.IdentityProviderSCIMConfig;
577
762
  }
578
763
 
764
+ export namespace AccessFacebook {
765
+ /**
766
+ * The SAML encryption certificate set details, including current and previous
767
+ * certificates. Only present for SAML identity providers with a certificate set
768
+ * assigned.
769
+ */
770
+ export interface SAMLCertificateSet {
771
+ /**
772
+ * Timestamp when the certificate set was created
773
+ */
774
+ created_at: string;
775
+
776
+ /**
777
+ * Unique identifier for the certificate set
778
+ */
779
+ uid: string;
780
+
781
+ /**
782
+ * Timestamp when the certificate set was last updated (e.g., during rotation)
783
+ */
784
+ updated_at: string;
785
+
786
+ /**
787
+ * The currently active certificate used for encrypting SAML assertions
788
+ */
789
+ current_certificate?: SAMLCertificateSet.CurrentCertificate;
790
+
791
+ /**
792
+ * The previous certificate, maintained during rotation to ensure continuity. Null
793
+ * if no rotation has occurred. Mirrors the structure of `saml_certificate`.
794
+ */
795
+ previous_certificate?: unknown | null;
796
+ }
797
+
798
+ export namespace SAMLCertificateSet {
799
+ /**
800
+ * The currently active certificate used for encrypting SAML assertions
801
+ */
802
+ export interface CurrentCertificate {
803
+ /**
804
+ * Indicates whether this is the currently active certificate
805
+ */
806
+ is_current: boolean;
807
+
808
+ /**
809
+ * Certificate expiration date. Certificates are automatically rotated 30 days
810
+ * before expiration.
811
+ */
812
+ not_after: string;
813
+
814
+ /**
815
+ * PEM-encoded X.509 certificate containing the public key. Configure this
816
+ * certificate in your external SAML Identity Provider to enable encryption.
817
+ */
818
+ public_certificate: string;
819
+
820
+ /**
821
+ * Unique identifier for the certificate
822
+ */
823
+ uid: string;
824
+ }
825
+ }
826
+ }
827
+
579
828
  export interface AccessGitHub {
580
829
  /**
581
830
  * The configuration parameters for the identity provider. To view the required
@@ -601,6 +850,21 @@ export namespace IdentityProvider {
601
850
  */
602
851
  id?: string;
603
852
 
853
+ /**
854
+ * The SAML encryption certificate set details, including current and previous
855
+ * certificates. Only present for SAML identity providers with a certificate set
856
+ * assigned.
857
+ */
858
+ saml_certificate_set?: AccessGitHub.SAMLCertificateSet;
859
+
860
+ /**
861
+ * The UID of the SAML encryption certificate set assigned to this Identity
862
+ * Provider. Only present for SAML identity providers with encryption configured.
863
+ * Create a certificate set via POST to
864
+ * `/identity_providers/{id}/saml_certificate`.
865
+ */
866
+ saml_certificate_set_id?: string;
867
+
604
868
  /**
605
869
  * The configuration settings for enabling a System for Cross-Domain Identity
606
870
  * Management (SCIM) with the identity provider.
@@ -608,6 +872,70 @@ export namespace IdentityProvider {
608
872
  scim_config?: IdentityProvidersAPI.IdentityProviderSCIMConfig;
609
873
  }
610
874
 
875
+ export namespace AccessGitHub {
876
+ /**
877
+ * The SAML encryption certificate set details, including current and previous
878
+ * certificates. Only present for SAML identity providers with a certificate set
879
+ * assigned.
880
+ */
881
+ export interface SAMLCertificateSet {
882
+ /**
883
+ * Timestamp when the certificate set was created
884
+ */
885
+ created_at: string;
886
+
887
+ /**
888
+ * Unique identifier for the certificate set
889
+ */
890
+ uid: string;
891
+
892
+ /**
893
+ * Timestamp when the certificate set was last updated (e.g., during rotation)
894
+ */
895
+ updated_at: string;
896
+
897
+ /**
898
+ * The currently active certificate used for encrypting SAML assertions
899
+ */
900
+ current_certificate?: SAMLCertificateSet.CurrentCertificate;
901
+
902
+ /**
903
+ * The previous certificate, maintained during rotation to ensure continuity. Null
904
+ * if no rotation has occurred. Mirrors the structure of `saml_certificate`.
905
+ */
906
+ previous_certificate?: unknown | null;
907
+ }
908
+
909
+ export namespace SAMLCertificateSet {
910
+ /**
911
+ * The currently active certificate used for encrypting SAML assertions
912
+ */
913
+ export interface CurrentCertificate {
914
+ /**
915
+ * Indicates whether this is the currently active certificate
916
+ */
917
+ is_current: boolean;
918
+
919
+ /**
920
+ * Certificate expiration date. Certificates are automatically rotated 30 days
921
+ * before expiration.
922
+ */
923
+ not_after: string;
924
+
925
+ /**
926
+ * PEM-encoded X.509 certificate containing the public key. Configure this
927
+ * certificate in your external SAML Identity Provider to enable encryption.
928
+ */
929
+ public_certificate: string;
930
+
931
+ /**
932
+ * Unique identifier for the certificate
933
+ */
934
+ uid: string;
935
+ }
936
+ }
937
+ }
938
+
611
939
  export interface AccessGoogle {
612
940
  /**
613
941
  * The configuration parameters for the identity provider. To view the required
@@ -633,6 +961,21 @@ export namespace IdentityProvider {
633
961
  */
634
962
  id?: string;
635
963
 
964
+ /**
965
+ * The SAML encryption certificate set details, including current and previous
966
+ * certificates. Only present for SAML identity providers with a certificate set
967
+ * assigned.
968
+ */
969
+ saml_certificate_set?: AccessGoogle.SAMLCertificateSet;
970
+
971
+ /**
972
+ * The UID of the SAML encryption certificate set assigned to this Identity
973
+ * Provider. Only present for SAML identity providers with encryption configured.
974
+ * Create a certificate set via POST to
975
+ * `/identity_providers/{id}/saml_certificate`.
976
+ */
977
+ saml_certificate_set_id?: string;
978
+
636
979
  /**
637
980
  * The configuration settings for enabling a System for Cross-Domain Identity
638
981
  * Management (SCIM) with the identity provider.
@@ -667,6 +1010,68 @@ export namespace IdentityProvider {
667
1010
  */
668
1011
  email_claim_name?: string;
669
1012
  }
1013
+
1014
+ /**
1015
+ * The SAML encryption certificate set details, including current and previous
1016
+ * certificates. Only present for SAML identity providers with a certificate set
1017
+ * assigned.
1018
+ */
1019
+ export interface SAMLCertificateSet {
1020
+ /**
1021
+ * Timestamp when the certificate set was created
1022
+ */
1023
+ created_at: string;
1024
+
1025
+ /**
1026
+ * Unique identifier for the certificate set
1027
+ */
1028
+ uid: string;
1029
+
1030
+ /**
1031
+ * Timestamp when the certificate set was last updated (e.g., during rotation)
1032
+ */
1033
+ updated_at: string;
1034
+
1035
+ /**
1036
+ * The currently active certificate used for encrypting SAML assertions
1037
+ */
1038
+ current_certificate?: SAMLCertificateSet.CurrentCertificate;
1039
+
1040
+ /**
1041
+ * The previous certificate, maintained during rotation to ensure continuity. Null
1042
+ * if no rotation has occurred. Mirrors the structure of `saml_certificate`.
1043
+ */
1044
+ previous_certificate?: unknown | null;
1045
+ }
1046
+
1047
+ export namespace SAMLCertificateSet {
1048
+ /**
1049
+ * The currently active certificate used for encrypting SAML assertions
1050
+ */
1051
+ export interface CurrentCertificate {
1052
+ /**
1053
+ * Indicates whether this is the currently active certificate
1054
+ */
1055
+ is_current: boolean;
1056
+
1057
+ /**
1058
+ * Certificate expiration date. Certificates are automatically rotated 30 days
1059
+ * before expiration.
1060
+ */
1061
+ not_after: string;
1062
+
1063
+ /**
1064
+ * PEM-encoded X.509 certificate containing the public key. Configure this
1065
+ * certificate in your external SAML Identity Provider to enable encryption.
1066
+ */
1067
+ public_certificate: string;
1068
+
1069
+ /**
1070
+ * Unique identifier for the certificate
1071
+ */
1072
+ uid: string;
1073
+ }
1074
+ }
670
1075
  }
671
1076
 
672
1077
  export interface AccessGoogleApps {
@@ -694,6 +1099,21 @@ export namespace IdentityProvider {
694
1099
  */
695
1100
  id?: string;
696
1101
 
1102
+ /**
1103
+ * The SAML encryption certificate set details, including current and previous
1104
+ * certificates. Only present for SAML identity providers with a certificate set
1105
+ * assigned.
1106
+ */
1107
+ saml_certificate_set?: AccessGoogleApps.SAMLCertificateSet;
1108
+
1109
+ /**
1110
+ * The UID of the SAML encryption certificate set assigned to this Identity
1111
+ * Provider. Only present for SAML identity providers with encryption configured.
1112
+ * Create a certificate set via POST to
1113
+ * `/identity_providers/{id}/saml_certificate`.
1114
+ */
1115
+ saml_certificate_set_id?: string;
1116
+
697
1117
  /**
698
1118
  * The configuration settings for enabling a System for Cross-Domain Identity
699
1119
  * Management (SCIM) with the identity provider.
@@ -733,6 +1153,68 @@ export namespace IdentityProvider {
733
1153
  */
734
1154
  email_claim_name?: string;
735
1155
  }
1156
+
1157
+ /**
1158
+ * The SAML encryption certificate set details, including current and previous
1159
+ * certificates. Only present for SAML identity providers with a certificate set
1160
+ * assigned.
1161
+ */
1162
+ export interface SAMLCertificateSet {
1163
+ /**
1164
+ * Timestamp when the certificate set was created
1165
+ */
1166
+ created_at: string;
1167
+
1168
+ /**
1169
+ * Unique identifier for the certificate set
1170
+ */
1171
+ uid: string;
1172
+
1173
+ /**
1174
+ * Timestamp when the certificate set was last updated (e.g., during rotation)
1175
+ */
1176
+ updated_at: string;
1177
+
1178
+ /**
1179
+ * The currently active certificate used for encrypting SAML assertions
1180
+ */
1181
+ current_certificate?: SAMLCertificateSet.CurrentCertificate;
1182
+
1183
+ /**
1184
+ * The previous certificate, maintained during rotation to ensure continuity. Null
1185
+ * if no rotation has occurred. Mirrors the structure of `saml_certificate`.
1186
+ */
1187
+ previous_certificate?: unknown | null;
1188
+ }
1189
+
1190
+ export namespace SAMLCertificateSet {
1191
+ /**
1192
+ * The currently active certificate used for encrypting SAML assertions
1193
+ */
1194
+ export interface CurrentCertificate {
1195
+ /**
1196
+ * Indicates whether this is the currently active certificate
1197
+ */
1198
+ is_current: boolean;
1199
+
1200
+ /**
1201
+ * Certificate expiration date. Certificates are automatically rotated 30 days
1202
+ * before expiration.
1203
+ */
1204
+ not_after: string;
1205
+
1206
+ /**
1207
+ * PEM-encoded X.509 certificate containing the public key. Configure this
1208
+ * certificate in your external SAML Identity Provider to enable encryption.
1209
+ */
1210
+ public_certificate: string;
1211
+
1212
+ /**
1213
+ * Unique identifier for the certificate
1214
+ */
1215
+ uid: string;
1216
+ }
1217
+ }
736
1218
  }
737
1219
 
738
1220
  export interface AccessLinkedin {
@@ -760,6 +1242,21 @@ export namespace IdentityProvider {
760
1242
  */
761
1243
  id?: string;
762
1244
 
1245
+ /**
1246
+ * The SAML encryption certificate set details, including current and previous
1247
+ * certificates. Only present for SAML identity providers with a certificate set
1248
+ * assigned.
1249
+ */
1250
+ saml_certificate_set?: AccessLinkedin.SAMLCertificateSet;
1251
+
1252
+ /**
1253
+ * The UID of the SAML encryption certificate set assigned to this Identity
1254
+ * Provider. Only present for SAML identity providers with encryption configured.
1255
+ * Create a certificate set via POST to
1256
+ * `/identity_providers/{id}/saml_certificate`.
1257
+ */
1258
+ saml_certificate_set_id?: string;
1259
+
763
1260
  /**
764
1261
  * The configuration settings for enabling a System for Cross-Domain Identity
765
1262
  * Management (SCIM) with the identity provider.
@@ -767,13 +1264,77 @@ export namespace IdentityProvider {
767
1264
  scim_config?: IdentityProvidersAPI.IdentityProviderSCIMConfig;
768
1265
  }
769
1266
 
770
- export interface AccessOIDC {
1267
+ export namespace AccessLinkedin {
771
1268
  /**
772
- * The configuration parameters for the identity provider. To view the required
773
- * parameters for a specific provider, refer to our
774
- * [developer documentation](https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/).
1269
+ * The SAML encryption certificate set details, including current and previous
1270
+ * certificates. Only present for SAML identity providers with a certificate set
1271
+ * assigned.
775
1272
  */
776
- config: AccessOIDC.Config;
1273
+ export interface SAMLCertificateSet {
1274
+ /**
1275
+ * Timestamp when the certificate set was created
1276
+ */
1277
+ created_at: string;
1278
+
1279
+ /**
1280
+ * Unique identifier for the certificate set
1281
+ */
1282
+ uid: string;
1283
+
1284
+ /**
1285
+ * Timestamp when the certificate set was last updated (e.g., during rotation)
1286
+ */
1287
+ updated_at: string;
1288
+
1289
+ /**
1290
+ * The currently active certificate used for encrypting SAML assertions
1291
+ */
1292
+ current_certificate?: SAMLCertificateSet.CurrentCertificate;
1293
+
1294
+ /**
1295
+ * The previous certificate, maintained during rotation to ensure continuity. Null
1296
+ * if no rotation has occurred. Mirrors the structure of `saml_certificate`.
1297
+ */
1298
+ previous_certificate?: unknown | null;
1299
+ }
1300
+
1301
+ export namespace SAMLCertificateSet {
1302
+ /**
1303
+ * The currently active certificate used for encrypting SAML assertions
1304
+ */
1305
+ export interface CurrentCertificate {
1306
+ /**
1307
+ * Indicates whether this is the currently active certificate
1308
+ */
1309
+ is_current: boolean;
1310
+
1311
+ /**
1312
+ * Certificate expiration date. Certificates are automatically rotated 30 days
1313
+ * before expiration.
1314
+ */
1315
+ not_after: string;
1316
+
1317
+ /**
1318
+ * PEM-encoded X.509 certificate containing the public key. Configure this
1319
+ * certificate in your external SAML Identity Provider to enable encryption.
1320
+ */
1321
+ public_certificate: string;
1322
+
1323
+ /**
1324
+ * Unique identifier for the certificate
1325
+ */
1326
+ uid: string;
1327
+ }
1328
+ }
1329
+ }
1330
+
1331
+ export interface AccessOIDC {
1332
+ /**
1333
+ * The configuration parameters for the identity provider. To view the required
1334
+ * parameters for a specific provider, refer to our
1335
+ * [developer documentation](https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/).
1336
+ */
1337
+ config: AccessOIDC.Config;
777
1338
 
778
1339
  /**
779
1340
  * The name of the identity provider, shown to users on the login page.
@@ -792,6 +1353,21 @@ export namespace IdentityProvider {
792
1353
  */
793
1354
  id?: string;
794
1355
 
1356
+ /**
1357
+ * The SAML encryption certificate set details, including current and previous
1358
+ * certificates. Only present for SAML identity providers with a certificate set
1359
+ * assigned.
1360
+ */
1361
+ saml_certificate_set?: AccessOIDC.SAMLCertificateSet;
1362
+
1363
+ /**
1364
+ * The UID of the SAML encryption certificate set assigned to this Identity
1365
+ * Provider. Only present for SAML identity providers with encryption configured.
1366
+ * Create a certificate set via POST to
1367
+ * `/identity_providers/{id}/saml_certificate`.
1368
+ */
1369
+ saml_certificate_set_id?: string;
1370
+
795
1371
  /**
796
1372
  * The configuration settings for enabling a System for Cross-Domain Identity
797
1373
  * Management (SCIM) with the identity provider.
@@ -851,6 +1427,68 @@ export namespace IdentityProvider {
851
1427
  */
852
1428
  token_url?: string;
853
1429
  }
1430
+
1431
+ /**
1432
+ * The SAML encryption certificate set details, including current and previous
1433
+ * certificates. Only present for SAML identity providers with a certificate set
1434
+ * assigned.
1435
+ */
1436
+ export interface SAMLCertificateSet {
1437
+ /**
1438
+ * Timestamp when the certificate set was created
1439
+ */
1440
+ created_at: string;
1441
+
1442
+ /**
1443
+ * Unique identifier for the certificate set
1444
+ */
1445
+ uid: string;
1446
+
1447
+ /**
1448
+ * Timestamp when the certificate set was last updated (e.g., during rotation)
1449
+ */
1450
+ updated_at: string;
1451
+
1452
+ /**
1453
+ * The currently active certificate used for encrypting SAML assertions
1454
+ */
1455
+ current_certificate?: SAMLCertificateSet.CurrentCertificate;
1456
+
1457
+ /**
1458
+ * The previous certificate, maintained during rotation to ensure continuity. Null
1459
+ * if no rotation has occurred. Mirrors the structure of `saml_certificate`.
1460
+ */
1461
+ previous_certificate?: unknown | null;
1462
+ }
1463
+
1464
+ export namespace SAMLCertificateSet {
1465
+ /**
1466
+ * The currently active certificate used for encrypting SAML assertions
1467
+ */
1468
+ export interface CurrentCertificate {
1469
+ /**
1470
+ * Indicates whether this is the currently active certificate
1471
+ */
1472
+ is_current: boolean;
1473
+
1474
+ /**
1475
+ * Certificate expiration date. Certificates are automatically rotated 30 days
1476
+ * before expiration.
1477
+ */
1478
+ not_after: string;
1479
+
1480
+ /**
1481
+ * PEM-encoded X.509 certificate containing the public key. Configure this
1482
+ * certificate in your external SAML Identity Provider to enable encryption.
1483
+ */
1484
+ public_certificate: string;
1485
+
1486
+ /**
1487
+ * Unique identifier for the certificate
1488
+ */
1489
+ uid: string;
1490
+ }
1491
+ }
854
1492
  }
855
1493
 
856
1494
  export interface AccessOkta {
@@ -878,6 +1516,21 @@ export namespace IdentityProvider {
878
1516
  */
879
1517
  id?: string;
880
1518
 
1519
+ /**
1520
+ * The SAML encryption certificate set details, including current and previous
1521
+ * certificates. Only present for SAML identity providers with a certificate set
1522
+ * assigned.
1523
+ */
1524
+ saml_certificate_set?: AccessOkta.SAMLCertificateSet;
1525
+
1526
+ /**
1527
+ * The UID of the SAML encryption certificate set assigned to this Identity
1528
+ * Provider. Only present for SAML identity providers with encryption configured.
1529
+ * Create a certificate set via POST to
1530
+ * `/identity_providers/{id}/saml_certificate`.
1531
+ */
1532
+ saml_certificate_set_id?: string;
1533
+
881
1534
  /**
882
1535
  * The configuration settings for enabling a System for Cross-Domain Identity
883
1536
  * Management (SCIM) with the identity provider.
@@ -922,6 +1575,68 @@ export namespace IdentityProvider {
922
1575
  */
923
1576
  okta_account?: string;
924
1577
  }
1578
+
1579
+ /**
1580
+ * The SAML encryption certificate set details, including current and previous
1581
+ * certificates. Only present for SAML identity providers with a certificate set
1582
+ * assigned.
1583
+ */
1584
+ export interface SAMLCertificateSet {
1585
+ /**
1586
+ * Timestamp when the certificate set was created
1587
+ */
1588
+ created_at: string;
1589
+
1590
+ /**
1591
+ * Unique identifier for the certificate set
1592
+ */
1593
+ uid: string;
1594
+
1595
+ /**
1596
+ * Timestamp when the certificate set was last updated (e.g., during rotation)
1597
+ */
1598
+ updated_at: string;
1599
+
1600
+ /**
1601
+ * The currently active certificate used for encrypting SAML assertions
1602
+ */
1603
+ current_certificate?: SAMLCertificateSet.CurrentCertificate;
1604
+
1605
+ /**
1606
+ * The previous certificate, maintained during rotation to ensure continuity. Null
1607
+ * if no rotation has occurred. Mirrors the structure of `saml_certificate`.
1608
+ */
1609
+ previous_certificate?: unknown | null;
1610
+ }
1611
+
1612
+ export namespace SAMLCertificateSet {
1613
+ /**
1614
+ * The currently active certificate used for encrypting SAML assertions
1615
+ */
1616
+ export interface CurrentCertificate {
1617
+ /**
1618
+ * Indicates whether this is the currently active certificate
1619
+ */
1620
+ is_current: boolean;
1621
+
1622
+ /**
1623
+ * Certificate expiration date. Certificates are automatically rotated 30 days
1624
+ * before expiration.
1625
+ */
1626
+ not_after: string;
1627
+
1628
+ /**
1629
+ * PEM-encoded X.509 certificate containing the public key. Configure this
1630
+ * certificate in your external SAML Identity Provider to enable encryption.
1631
+ */
1632
+ public_certificate: string;
1633
+
1634
+ /**
1635
+ * Unique identifier for the certificate
1636
+ */
1637
+ uid: string;
1638
+ }
1639
+ }
925
1640
  }
926
1641
 
927
1642
  export interface AccessOnelogin {
@@ -949,6 +1664,21 @@ export namespace IdentityProvider {
949
1664
  */
950
1665
  id?: string;
951
1666
 
1667
+ /**
1668
+ * The SAML encryption certificate set details, including current and previous
1669
+ * certificates. Only present for SAML identity providers with a certificate set
1670
+ * assigned.
1671
+ */
1672
+ saml_certificate_set?: AccessOnelogin.SAMLCertificateSet;
1673
+
1674
+ /**
1675
+ * The UID of the SAML encryption certificate set assigned to this Identity
1676
+ * Provider. Only present for SAML identity providers with encryption configured.
1677
+ * Create a certificate set via POST to
1678
+ * `/identity_providers/{id}/saml_certificate`.
1679
+ */
1680
+ saml_certificate_set_id?: string;
1681
+
952
1682
  /**
953
1683
  * The configuration settings for enabling a System for Cross-Domain Identity
954
1684
  * Management (SCIM) with the identity provider.
@@ -988,6 +1718,68 @@ export namespace IdentityProvider {
988
1718
  */
989
1719
  onelogin_account?: string;
990
1720
  }
1721
+
1722
+ /**
1723
+ * The SAML encryption certificate set details, including current and previous
1724
+ * certificates. Only present for SAML identity providers with a certificate set
1725
+ * assigned.
1726
+ */
1727
+ export interface SAMLCertificateSet {
1728
+ /**
1729
+ * Timestamp when the certificate set was created
1730
+ */
1731
+ created_at: string;
1732
+
1733
+ /**
1734
+ * Unique identifier for the certificate set
1735
+ */
1736
+ uid: string;
1737
+
1738
+ /**
1739
+ * Timestamp when the certificate set was last updated (e.g., during rotation)
1740
+ */
1741
+ updated_at: string;
1742
+
1743
+ /**
1744
+ * The currently active certificate used for encrypting SAML assertions
1745
+ */
1746
+ current_certificate?: SAMLCertificateSet.CurrentCertificate;
1747
+
1748
+ /**
1749
+ * The previous certificate, maintained during rotation to ensure continuity. Null
1750
+ * if no rotation has occurred. Mirrors the structure of `saml_certificate`.
1751
+ */
1752
+ previous_certificate?: unknown | null;
1753
+ }
1754
+
1755
+ export namespace SAMLCertificateSet {
1756
+ /**
1757
+ * The currently active certificate used for encrypting SAML assertions
1758
+ */
1759
+ export interface CurrentCertificate {
1760
+ /**
1761
+ * Indicates whether this is the currently active certificate
1762
+ */
1763
+ is_current: boolean;
1764
+
1765
+ /**
1766
+ * Certificate expiration date. Certificates are automatically rotated 30 days
1767
+ * before expiration.
1768
+ */
1769
+ not_after: string;
1770
+
1771
+ /**
1772
+ * PEM-encoded X.509 certificate containing the public key. Configure this
1773
+ * certificate in your external SAML Identity Provider to enable encryption.
1774
+ */
1775
+ public_certificate: string;
1776
+
1777
+ /**
1778
+ * Unique identifier for the certificate
1779
+ */
1780
+ uid: string;
1781
+ }
1782
+ }
991
1783
  }
992
1784
 
993
1785
  export interface AccessPingone {
@@ -1015,6 +1807,21 @@ export namespace IdentityProvider {
1015
1807
  */
1016
1808
  id?: string;
1017
1809
 
1810
+ /**
1811
+ * The SAML encryption certificate set details, including current and previous
1812
+ * certificates. Only present for SAML identity providers with a certificate set
1813
+ * assigned.
1814
+ */
1815
+ saml_certificate_set?: AccessPingone.SAMLCertificateSet;
1816
+
1817
+ /**
1818
+ * The UID of the SAML encryption certificate set assigned to this Identity
1819
+ * Provider. Only present for SAML identity providers with encryption configured.
1820
+ * Create a certificate set via POST to
1821
+ * `/identity_providers/{id}/saml_certificate`.
1822
+ */
1823
+ saml_certificate_set_id?: string;
1824
+
1018
1825
  /**
1019
1826
  * The configuration settings for enabling a System for Cross-Domain Identity
1020
1827
  * Management (SCIM) with the identity provider.
@@ -1054,6 +1861,68 @@ export namespace IdentityProvider {
1054
1861
  */
1055
1862
  ping_env_id?: string;
1056
1863
  }
1864
+
1865
+ /**
1866
+ * The SAML encryption certificate set details, including current and previous
1867
+ * certificates. Only present for SAML identity providers with a certificate set
1868
+ * assigned.
1869
+ */
1870
+ export interface SAMLCertificateSet {
1871
+ /**
1872
+ * Timestamp when the certificate set was created
1873
+ */
1874
+ created_at: string;
1875
+
1876
+ /**
1877
+ * Unique identifier for the certificate set
1878
+ */
1879
+ uid: string;
1880
+
1881
+ /**
1882
+ * Timestamp when the certificate set was last updated (e.g., during rotation)
1883
+ */
1884
+ updated_at: string;
1885
+
1886
+ /**
1887
+ * The currently active certificate used for encrypting SAML assertions
1888
+ */
1889
+ current_certificate?: SAMLCertificateSet.CurrentCertificate;
1890
+
1891
+ /**
1892
+ * The previous certificate, maintained during rotation to ensure continuity. Null
1893
+ * if no rotation has occurred. Mirrors the structure of `saml_certificate`.
1894
+ */
1895
+ previous_certificate?: unknown | null;
1896
+ }
1897
+
1898
+ export namespace SAMLCertificateSet {
1899
+ /**
1900
+ * The currently active certificate used for encrypting SAML assertions
1901
+ */
1902
+ export interface CurrentCertificate {
1903
+ /**
1904
+ * Indicates whether this is the currently active certificate
1905
+ */
1906
+ is_current: boolean;
1907
+
1908
+ /**
1909
+ * Certificate expiration date. Certificates are automatically rotated 30 days
1910
+ * before expiration.
1911
+ */
1912
+ not_after: string;
1913
+
1914
+ /**
1915
+ * PEM-encoded X.509 certificate containing the public key. Configure this
1916
+ * certificate in your external SAML Identity Provider to enable encryption.
1917
+ */
1918
+ public_certificate: string;
1919
+
1920
+ /**
1921
+ * Unique identifier for the certificate
1922
+ */
1923
+ uid: string;
1924
+ }
1925
+ }
1057
1926
  }
1058
1927
 
1059
1928
  export interface AccessSAML {
@@ -1081,6 +1950,21 @@ export namespace IdentityProvider {
1081
1950
  */
1082
1951
  id?: string;
1083
1952
 
1953
+ /**
1954
+ * The SAML encryption certificate set details, including current and previous
1955
+ * certificates. Only present for SAML identity providers with a certificate set
1956
+ * assigned.
1957
+ */
1958
+ saml_certificate_set?: AccessSAML.SAMLCertificateSet;
1959
+
1960
+ /**
1961
+ * The UID of the SAML encryption certificate set assigned to this Identity
1962
+ * Provider. Only present for SAML identity providers with encryption configured.
1963
+ * Create a certificate set via POST to
1964
+ * `/identity_providers/{id}/saml_certificate`.
1965
+ */
1966
+ saml_certificate_set_id?: string;
1967
+
1084
1968
  /**
1085
1969
  * The configuration settings for enabling a System for Cross-Domain Identity
1086
1970
  * Management (SCIM) with the identity provider.
@@ -1106,6 +1990,22 @@ export namespace IdentityProvider {
1106
1990
  */
1107
1991
  email_attribute_name?: string;
1108
1992
 
1993
+ /**
1994
+ * Enable SAML assertion encryption. When enabled, the Identity Provider will
1995
+ * encrypt SAML assertions using the certificate from the assigned certificate set.
1996
+ *
1997
+ * To enable encryption:
1998
+ *
1999
+ * 1. Create a certificate set via POST to
2000
+ * `/identity_providers/{id}/saml_certificate`
2001
+ * 2. Set this field to `true` and include `saml_certificate_set_id` in the PUT
2002
+ * request
2003
+ * 3. Configure the public certificate in your external Identity Provider
2004
+ *
2005
+ * Note: Requires `saml_certificate_set_id` to be set when `true`.
2006
+ */
2007
+ enable_encryption?: boolean;
2008
+
1109
2009
  /**
1110
2010
  * Add a list of attribute names that will be returned in the response header from
1111
2011
  * the Access callback.
@@ -1147,6 +2047,68 @@ export namespace IdentityProvider {
1147
2047
  header_name?: string;
1148
2048
  }
1149
2049
  }
2050
+
2051
+ /**
2052
+ * The SAML encryption certificate set details, including current and previous
2053
+ * certificates. Only present for SAML identity providers with a certificate set
2054
+ * assigned.
2055
+ */
2056
+ export interface SAMLCertificateSet {
2057
+ /**
2058
+ * Timestamp when the certificate set was created
2059
+ */
2060
+ created_at: string;
2061
+
2062
+ /**
2063
+ * Unique identifier for the certificate set
2064
+ */
2065
+ uid: string;
2066
+
2067
+ /**
2068
+ * Timestamp when the certificate set was last updated (e.g., during rotation)
2069
+ */
2070
+ updated_at: string;
2071
+
2072
+ /**
2073
+ * The currently active certificate used for encrypting SAML assertions
2074
+ */
2075
+ current_certificate?: SAMLCertificateSet.CurrentCertificate;
2076
+
2077
+ /**
2078
+ * The previous certificate, maintained during rotation to ensure continuity. Null
2079
+ * if no rotation has occurred. Mirrors the structure of `saml_certificate`.
2080
+ */
2081
+ previous_certificate?: unknown | null;
2082
+ }
2083
+
2084
+ export namespace SAMLCertificateSet {
2085
+ /**
2086
+ * The currently active certificate used for encrypting SAML assertions
2087
+ */
2088
+ export interface CurrentCertificate {
2089
+ /**
2090
+ * Indicates whether this is the currently active certificate
2091
+ */
2092
+ is_current: boolean;
2093
+
2094
+ /**
2095
+ * Certificate expiration date. Certificates are automatically rotated 30 days
2096
+ * before expiration.
2097
+ */
2098
+ not_after: string;
2099
+
2100
+ /**
2101
+ * PEM-encoded X.509 certificate containing the public key. Configure this
2102
+ * certificate in your external SAML Identity Provider to enable encryption.
2103
+ */
2104
+ public_certificate: string;
2105
+
2106
+ /**
2107
+ * Unique identifier for the certificate
2108
+ */
2109
+ uid: string;
2110
+ }
2111
+ }
1150
2112
  }
1151
2113
 
1152
2114
  export interface AccessYandex {
@@ -1174,6 +2136,21 @@ export namespace IdentityProvider {
1174
2136
  */
1175
2137
  id?: string;
1176
2138
 
2139
+ /**
2140
+ * The SAML encryption certificate set details, including current and previous
2141
+ * certificates. Only present for SAML identity providers with a certificate set
2142
+ * assigned.
2143
+ */
2144
+ saml_certificate_set?: AccessYandex.SAMLCertificateSet;
2145
+
2146
+ /**
2147
+ * The UID of the SAML encryption certificate set assigned to this Identity
2148
+ * Provider. Only present for SAML identity providers with encryption configured.
2149
+ * Create a certificate set via POST to
2150
+ * `/identity_providers/{id}/saml_certificate`.
2151
+ */
2152
+ saml_certificate_set_id?: string;
2153
+
1177
2154
  /**
1178
2155
  * The configuration settings for enabling a System for Cross-Domain Identity
1179
2156
  * Management (SCIM) with the identity provider.
@@ -1181,13 +2158,77 @@ export namespace IdentityProvider {
1181
2158
  scim_config?: IdentityProvidersAPI.IdentityProviderSCIMConfig;
1182
2159
  }
1183
2160
 
1184
- export interface AccessOnetimepin {
2161
+ export namespace AccessYandex {
1185
2162
  /**
1186
- * The configuration parameters for the identity provider. To view the required
1187
- * parameters for a specific provider, refer to our
1188
- * [developer documentation](https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/).
2163
+ * The SAML encryption certificate set details, including current and previous
2164
+ * certificates. Only present for SAML identity providers with a certificate set
2165
+ * assigned.
1189
2166
  */
1190
- config: AccessOnetimepin.Config;
2167
+ export interface SAMLCertificateSet {
2168
+ /**
2169
+ * Timestamp when the certificate set was created
2170
+ */
2171
+ created_at: string;
2172
+
2173
+ /**
2174
+ * Unique identifier for the certificate set
2175
+ */
2176
+ uid: string;
2177
+
2178
+ /**
2179
+ * Timestamp when the certificate set was last updated (e.g., during rotation)
2180
+ */
2181
+ updated_at: string;
2182
+
2183
+ /**
2184
+ * The currently active certificate used for encrypting SAML assertions
2185
+ */
2186
+ current_certificate?: SAMLCertificateSet.CurrentCertificate;
2187
+
2188
+ /**
2189
+ * The previous certificate, maintained during rotation to ensure continuity. Null
2190
+ * if no rotation has occurred. Mirrors the structure of `saml_certificate`.
2191
+ */
2192
+ previous_certificate?: unknown | null;
2193
+ }
2194
+
2195
+ export namespace SAMLCertificateSet {
2196
+ /**
2197
+ * The currently active certificate used for encrypting SAML assertions
2198
+ */
2199
+ export interface CurrentCertificate {
2200
+ /**
2201
+ * Indicates whether this is the currently active certificate
2202
+ */
2203
+ is_current: boolean;
2204
+
2205
+ /**
2206
+ * Certificate expiration date. Certificates are automatically rotated 30 days
2207
+ * before expiration.
2208
+ */
2209
+ not_after: string;
2210
+
2211
+ /**
2212
+ * PEM-encoded X.509 certificate containing the public key. Configure this
2213
+ * certificate in your external SAML Identity Provider to enable encryption.
2214
+ */
2215
+ public_certificate: string;
2216
+
2217
+ /**
2218
+ * Unique identifier for the certificate
2219
+ */
2220
+ uid: string;
2221
+ }
2222
+ }
2223
+ }
2224
+
2225
+ export interface AccessOnetimepin {
2226
+ /**
2227
+ * The configuration parameters for the identity provider. To view the required
2228
+ * parameters for a specific provider, refer to our
2229
+ * [developer documentation](https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/).
2230
+ */
2231
+ config: AccessOnetimepin.Config;
1191
2232
 
1192
2233
  /**
1193
2234
  * The name of the identity provider, shown to users on the login page.
@@ -1206,6 +2247,21 @@ export namespace IdentityProvider {
1206
2247
  */
1207
2248
  id?: string;
1208
2249
 
2250
+ /**
2251
+ * The SAML encryption certificate set details, including current and previous
2252
+ * certificates. Only present for SAML identity providers with a certificate set
2253
+ * assigned.
2254
+ */
2255
+ saml_certificate_set?: AccessOnetimepin.SAMLCertificateSet;
2256
+
2257
+ /**
2258
+ * The UID of the SAML encryption certificate set assigned to this Identity
2259
+ * Provider. Only present for SAML identity providers with encryption configured.
2260
+ * Create a certificate set via POST to
2261
+ * `/identity_providers/{id}/saml_certificate`.
2262
+ */
2263
+ saml_certificate_set_id?: string;
2264
+
1209
2265
  /**
1210
2266
  * The configuration settings for enabling a System for Cross-Domain Identity
1211
2267
  * Management (SCIM) with the identity provider.
@@ -1222,6 +2278,195 @@ export namespace IdentityProvider {
1222
2278
  export interface Config {
1223
2279
  redirect_url?: string;
1224
2280
  }
2281
+
2282
+ /**
2283
+ * The SAML encryption certificate set details, including current and previous
2284
+ * certificates. Only present for SAML identity providers with a certificate set
2285
+ * assigned.
2286
+ */
2287
+ export interface SAMLCertificateSet {
2288
+ /**
2289
+ * Timestamp when the certificate set was created
2290
+ */
2291
+ created_at: string;
2292
+
2293
+ /**
2294
+ * Unique identifier for the certificate set
2295
+ */
2296
+ uid: string;
2297
+
2298
+ /**
2299
+ * Timestamp when the certificate set was last updated (e.g., during rotation)
2300
+ */
2301
+ updated_at: string;
2302
+
2303
+ /**
2304
+ * The currently active certificate used for encrypting SAML assertions
2305
+ */
2306
+ current_certificate?: SAMLCertificateSet.CurrentCertificate;
2307
+
2308
+ /**
2309
+ * The previous certificate, maintained during rotation to ensure continuity. Null
2310
+ * if no rotation has occurred. Mirrors the structure of `saml_certificate`.
2311
+ */
2312
+ previous_certificate?: unknown | null;
2313
+ }
2314
+
2315
+ export namespace SAMLCertificateSet {
2316
+ /**
2317
+ * The currently active certificate used for encrypting SAML assertions
2318
+ */
2319
+ export interface CurrentCertificate {
2320
+ /**
2321
+ * Indicates whether this is the currently active certificate
2322
+ */
2323
+ is_current: boolean;
2324
+
2325
+ /**
2326
+ * Certificate expiration date. Certificates are automatically rotated 30 days
2327
+ * before expiration.
2328
+ */
2329
+ not_after: string;
2330
+
2331
+ /**
2332
+ * PEM-encoded X.509 certificate containing the public key. Configure this
2333
+ * certificate in your external SAML Identity Provider to enable encryption.
2334
+ */
2335
+ public_certificate: string;
2336
+
2337
+ /**
2338
+ * Unique identifier for the certificate
2339
+ */
2340
+ uid: string;
2341
+ }
2342
+ }
2343
+ }
2344
+
2345
+ export interface AccessCloudflare {
2346
+ /**
2347
+ * The configuration parameters for the identity provider. To view the required
2348
+ * parameters for a specific provider, refer to our
2349
+ * [developer documentation](https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/).
2350
+ */
2351
+ config: AccessCloudflare.Config;
2352
+
2353
+ /**
2354
+ * The name of the identity provider, shown to users on the login page.
2355
+ */
2356
+ name: string;
2357
+
2358
+ /**
2359
+ * The type of identity provider. To determine the value for a specific provider,
2360
+ * refer to our
2361
+ * [developer documentation](https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/).
2362
+ */
2363
+ type: IdentityProvidersAPI.IdentityProviderType;
2364
+
2365
+ /**
2366
+ * UUID.
2367
+ */
2368
+ id?: string;
2369
+
2370
+ /**
2371
+ * The SAML encryption certificate set details, including current and previous
2372
+ * certificates. Only present for SAML identity providers with a certificate set
2373
+ * assigned.
2374
+ */
2375
+ saml_certificate_set?: AccessCloudflare.SAMLCertificateSet;
2376
+
2377
+ /**
2378
+ * The UID of the SAML encryption certificate set assigned to this Identity
2379
+ * Provider. Only present for SAML identity providers with encryption configured.
2380
+ * Create a certificate set via POST to
2381
+ * `/identity_providers/{id}/saml_certificate`.
2382
+ */
2383
+ saml_certificate_set_id?: string;
2384
+
2385
+ /**
2386
+ * The configuration settings for enabling a System for Cross-Domain Identity
2387
+ * Management (SCIM) with the identity provider.
2388
+ */
2389
+ scim_config?: IdentityProvidersAPI.IdentityProviderSCIMConfig;
2390
+ }
2391
+
2392
+ export namespace AccessCloudflare {
2393
+ /**
2394
+ * The configuration parameters for the identity provider. To view the required
2395
+ * parameters for a specific provider, refer to our
2396
+ * [developer documentation](https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/).
2397
+ */
2398
+ export interface Config {
2399
+ redirect_url?: string;
2400
+
2401
+ /**
2402
+ * When enabled, only users who are members of your Cloudflare account can
2403
+ * authenticate through this identity provider. When disabled, any user with a
2404
+ * Cloudflare account can authenticate, subject to your Access policies.
2405
+ */
2406
+ restrict_to_account_members?: boolean;
2407
+ }
2408
+
2409
+ /**
2410
+ * The SAML encryption certificate set details, including current and previous
2411
+ * certificates. Only present for SAML identity providers with a certificate set
2412
+ * assigned.
2413
+ */
2414
+ export interface SAMLCertificateSet {
2415
+ /**
2416
+ * Timestamp when the certificate set was created
2417
+ */
2418
+ created_at: string;
2419
+
2420
+ /**
2421
+ * Unique identifier for the certificate set
2422
+ */
2423
+ uid: string;
2424
+
2425
+ /**
2426
+ * Timestamp when the certificate set was last updated (e.g., during rotation)
2427
+ */
2428
+ updated_at: string;
2429
+
2430
+ /**
2431
+ * The currently active certificate used for encrypting SAML assertions
2432
+ */
2433
+ current_certificate?: SAMLCertificateSet.CurrentCertificate;
2434
+
2435
+ /**
2436
+ * The previous certificate, maintained during rotation to ensure continuity. Null
2437
+ * if no rotation has occurred. Mirrors the structure of `saml_certificate`.
2438
+ */
2439
+ previous_certificate?: unknown | null;
2440
+ }
2441
+
2442
+ export namespace SAMLCertificateSet {
2443
+ /**
2444
+ * The currently active certificate used for encrypting SAML assertions
2445
+ */
2446
+ export interface CurrentCertificate {
2447
+ /**
2448
+ * Indicates whether this is the currently active certificate
2449
+ */
2450
+ is_current: boolean;
2451
+
2452
+ /**
2453
+ * Certificate expiration date. Certificates are automatically rotated 30 days
2454
+ * before expiration.
2455
+ */
2456
+ not_after: string;
2457
+
2458
+ /**
2459
+ * PEM-encoded X.509 certificate containing the public key. Configure this
2460
+ * certificate in your external SAML Identity Provider to enable encryption.
2461
+ */
2462
+ public_certificate: string;
2463
+
2464
+ /**
2465
+ * Unique identifier for the certificate
2466
+ */
2467
+ uid: string;
2468
+ }
2469
+ }
1225
2470
  }
1226
2471
  }
1227
2472
 
@@ -1239,7 +2484,8 @@ export type IdentityProviderParam =
1239
2484
  | IdentityProviderParam.AccessPingone
1240
2485
  | IdentityProviderParam.AccessSAML
1241
2486
  | IdentityProviderParam.AccessYandex
1242
- | IdentityProviderParam.AccessOnetimepin;
2487
+ | IdentityProviderParam.AccessOnetimepin
2488
+ | IdentityProviderParam.AccessCloudflare;
1243
2489
 
1244
2490
  export namespace IdentityProviderParam {
1245
2491
  export interface AccessCentrify {
@@ -1262,6 +2508,14 @@ export namespace IdentityProviderParam {
1262
2508
  */
1263
2509
  type: IdentityProvidersAPI.IdentityProviderTypeParam;
1264
2510
 
2511
+ /**
2512
+ * The UID of the SAML encryption certificate set assigned to this Identity
2513
+ * Provider. Only present for SAML identity providers with encryption configured.
2514
+ * Create a certificate set via POST to
2515
+ * `/identity_providers/{id}/saml_certificate`.
2516
+ */
2517
+ saml_certificate_set_id?: string;
2518
+
1265
2519
  /**
1266
2520
  * The configuration settings for enabling a System for Cross-Domain Identity
1267
2521
  * Management (SCIM) with the identity provider.
@@ -1328,6 +2582,14 @@ export namespace IdentityProviderParam {
1328
2582
  */
1329
2583
  type: IdentityProvidersAPI.IdentityProviderTypeParam;
1330
2584
 
2585
+ /**
2586
+ * The UID of the SAML encryption certificate set assigned to this Identity
2587
+ * Provider. Only present for SAML identity providers with encryption configured.
2588
+ * Create a certificate set via POST to
2589
+ * `/identity_providers/{id}/saml_certificate`.
2590
+ */
2591
+ saml_certificate_set_id?: string;
2592
+
1331
2593
  /**
1332
2594
  * The configuration settings for enabling a System for Cross-Domain Identity
1333
2595
  * Management (SCIM) with the identity provider.
@@ -1355,6 +2617,14 @@ export namespace IdentityProviderParam {
1355
2617
  */
1356
2618
  type: IdentityProvidersAPI.IdentityProviderTypeParam;
1357
2619
 
2620
+ /**
2621
+ * The UID of the SAML encryption certificate set assigned to this Identity
2622
+ * Provider. Only present for SAML identity providers with encryption configured.
2623
+ * Create a certificate set via POST to
2624
+ * `/identity_providers/{id}/saml_certificate`.
2625
+ */
2626
+ saml_certificate_set_id?: string;
2627
+
1358
2628
  /**
1359
2629
  * The configuration settings for enabling a System for Cross-Domain Identity
1360
2630
  * Management (SCIM) with the identity provider.
@@ -1382,6 +2652,14 @@ export namespace IdentityProviderParam {
1382
2652
  */
1383
2653
  type: IdentityProvidersAPI.IdentityProviderTypeParam;
1384
2654
 
2655
+ /**
2656
+ * The UID of the SAML encryption certificate set assigned to this Identity
2657
+ * Provider. Only present for SAML identity providers with encryption configured.
2658
+ * Create a certificate set via POST to
2659
+ * `/identity_providers/{id}/saml_certificate`.
2660
+ */
2661
+ saml_certificate_set_id?: string;
2662
+
1385
2663
  /**
1386
2664
  * The configuration settings for enabling a System for Cross-Domain Identity
1387
2665
  * Management (SCIM) with the identity provider.
@@ -1438,6 +2716,14 @@ export namespace IdentityProviderParam {
1438
2716
  */
1439
2717
  type: IdentityProvidersAPI.IdentityProviderTypeParam;
1440
2718
 
2719
+ /**
2720
+ * The UID of the SAML encryption certificate set assigned to this Identity
2721
+ * Provider. Only present for SAML identity providers with encryption configured.
2722
+ * Create a certificate set via POST to
2723
+ * `/identity_providers/{id}/saml_certificate`.
2724
+ */
2725
+ saml_certificate_set_id?: string;
2726
+
1441
2727
  /**
1442
2728
  * The configuration settings for enabling a System for Cross-Domain Identity
1443
2729
  * Management (SCIM) with the identity provider.
@@ -1499,6 +2785,14 @@ export namespace IdentityProviderParam {
1499
2785
  */
1500
2786
  type: IdentityProvidersAPI.IdentityProviderTypeParam;
1501
2787
 
2788
+ /**
2789
+ * The UID of the SAML encryption certificate set assigned to this Identity
2790
+ * Provider. Only present for SAML identity providers with encryption configured.
2791
+ * Create a certificate set via POST to
2792
+ * `/identity_providers/{id}/saml_certificate`.
2793
+ */
2794
+ saml_certificate_set_id?: string;
2795
+
1502
2796
  /**
1503
2797
  * The configuration settings for enabling a System for Cross-Domain Identity
1504
2798
  * Management (SCIM) with the identity provider.
@@ -1526,6 +2820,14 @@ export namespace IdentityProviderParam {
1526
2820
  */
1527
2821
  type: IdentityProvidersAPI.IdentityProviderTypeParam;
1528
2822
 
2823
+ /**
2824
+ * The UID of the SAML encryption certificate set assigned to this Identity
2825
+ * Provider. Only present for SAML identity providers with encryption configured.
2826
+ * Create a certificate set via POST to
2827
+ * `/identity_providers/{id}/saml_certificate`.
2828
+ */
2829
+ saml_certificate_set_id?: string;
2830
+
1529
2831
  /**
1530
2832
  * The configuration settings for enabling a System for Cross-Domain Identity
1531
2833
  * Management (SCIM) with the identity provider.
@@ -1607,6 +2909,14 @@ export namespace IdentityProviderParam {
1607
2909
  */
1608
2910
  type: IdentityProvidersAPI.IdentityProviderTypeParam;
1609
2911
 
2912
+ /**
2913
+ * The UID of the SAML encryption certificate set assigned to this Identity
2914
+ * Provider. Only present for SAML identity providers with encryption configured.
2915
+ * Create a certificate set via POST to
2916
+ * `/identity_providers/{id}/saml_certificate`.
2917
+ */
2918
+ saml_certificate_set_id?: string;
2919
+
1610
2920
  /**
1611
2921
  * The configuration settings for enabling a System for Cross-Domain Identity
1612
2922
  * Management (SCIM) with the identity provider.
@@ -1673,6 +2983,14 @@ export namespace IdentityProviderParam {
1673
2983
  */
1674
2984
  type: IdentityProvidersAPI.IdentityProviderTypeParam;
1675
2985
 
2986
+ /**
2987
+ * The UID of the SAML encryption certificate set assigned to this Identity
2988
+ * Provider. Only present for SAML identity providers with encryption configured.
2989
+ * Create a certificate set via POST to
2990
+ * `/identity_providers/{id}/saml_certificate`.
2991
+ */
2992
+ saml_certificate_set_id?: string;
2993
+
1676
2994
  /**
1677
2995
  * The configuration settings for enabling a System for Cross-Domain Identity
1678
2996
  * Management (SCIM) with the identity provider.
@@ -1734,6 +3052,14 @@ export namespace IdentityProviderParam {
1734
3052
  */
1735
3053
  type: IdentityProvidersAPI.IdentityProviderTypeParam;
1736
3054
 
3055
+ /**
3056
+ * The UID of the SAML encryption certificate set assigned to this Identity
3057
+ * Provider. Only present for SAML identity providers with encryption configured.
3058
+ * Create a certificate set via POST to
3059
+ * `/identity_providers/{id}/saml_certificate`.
3060
+ */
3061
+ saml_certificate_set_id?: string;
3062
+
1737
3063
  /**
1738
3064
  * The configuration settings for enabling a System for Cross-Domain Identity
1739
3065
  * Management (SCIM) with the identity provider.
@@ -1795,6 +3121,14 @@ export namespace IdentityProviderParam {
1795
3121
  */
1796
3122
  type: IdentityProvidersAPI.IdentityProviderTypeParam;
1797
3123
 
3124
+ /**
3125
+ * The UID of the SAML encryption certificate set assigned to this Identity
3126
+ * Provider. Only present for SAML identity providers with encryption configured.
3127
+ * Create a certificate set via POST to
3128
+ * `/identity_providers/{id}/saml_certificate`.
3129
+ */
3130
+ saml_certificate_set_id?: string;
3131
+
1798
3132
  /**
1799
3133
  * The configuration settings for enabling a System for Cross-Domain Identity
1800
3134
  * Management (SCIM) with the identity provider.
@@ -1820,6 +3154,22 @@ export namespace IdentityProviderParam {
1820
3154
  */
1821
3155
  email_attribute_name?: string;
1822
3156
 
3157
+ /**
3158
+ * Enable SAML assertion encryption. When enabled, the Identity Provider will
3159
+ * encrypt SAML assertions using the certificate from the assigned certificate set.
3160
+ *
3161
+ * To enable encryption:
3162
+ *
3163
+ * 1. Create a certificate set via POST to
3164
+ * `/identity_providers/{id}/saml_certificate`
3165
+ * 2. Set this field to `true` and include `saml_certificate_set_id` in the PUT
3166
+ * request
3167
+ * 3. Configure the public certificate in your external Identity Provider
3168
+ *
3169
+ * Note: Requires `saml_certificate_set_id` to be set when `true`.
3170
+ */
3171
+ enable_encryption?: boolean;
3172
+
1823
3173
  /**
1824
3174
  * Add a list of attribute names that will be returned in the response header from
1825
3175
  * the Access callback.
@@ -1883,6 +3233,14 @@ export namespace IdentityProviderParam {
1883
3233
  */
1884
3234
  type: IdentityProvidersAPI.IdentityProviderTypeParam;
1885
3235
 
3236
+ /**
3237
+ * The UID of the SAML encryption certificate set assigned to this Identity
3238
+ * Provider. Only present for SAML identity providers with encryption configured.
3239
+ * Create a certificate set via POST to
3240
+ * `/identity_providers/{id}/saml_certificate`.
3241
+ */
3242
+ saml_certificate_set_id?: string;
3243
+
1886
3244
  /**
1887
3245
  * The configuration settings for enabling a System for Cross-Domain Identity
1888
3246
  * Management (SCIM) with the identity provider.
@@ -1910,6 +3268,14 @@ export namespace IdentityProviderParam {
1910
3268
  */
1911
3269
  type: IdentityProvidersAPI.IdentityProviderTypeParam;
1912
3270
 
3271
+ /**
3272
+ * The UID of the SAML encryption certificate set assigned to this Identity
3273
+ * Provider. Only present for SAML identity providers with encryption configured.
3274
+ * Create a certificate set via POST to
3275
+ * `/identity_providers/{id}/saml_certificate`.
3276
+ */
3277
+ saml_certificate_set_id?: string;
3278
+
1913
3279
  /**
1914
3280
  * The configuration settings for enabling a System for Cross-Domain Identity
1915
3281
  * Management (SCIM) with the identity provider.
@@ -1925,6 +3291,57 @@ export namespace IdentityProviderParam {
1925
3291
  */
1926
3292
  export interface Config {}
1927
3293
  }
3294
+
3295
+ export interface AccessCloudflare {
3296
+ /**
3297
+ * The configuration parameters for the identity provider. To view the required
3298
+ * parameters for a specific provider, refer to our
3299
+ * [developer documentation](https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/).
3300
+ */
3301
+ config: AccessCloudflare.Config;
3302
+
3303
+ /**
3304
+ * The name of the identity provider, shown to users on the login page.
3305
+ */
3306
+ name: string;
3307
+
3308
+ /**
3309
+ * The type of identity provider. To determine the value for a specific provider,
3310
+ * refer to our
3311
+ * [developer documentation](https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/).
3312
+ */
3313
+ type: IdentityProvidersAPI.IdentityProviderTypeParam;
3314
+
3315
+ /**
3316
+ * The UID of the SAML encryption certificate set assigned to this Identity
3317
+ * Provider. Only present for SAML identity providers with encryption configured.
3318
+ * Create a certificate set via POST to
3319
+ * `/identity_providers/{id}/saml_certificate`.
3320
+ */
3321
+ saml_certificate_set_id?: string;
3322
+
3323
+ /**
3324
+ * The configuration settings for enabling a System for Cross-Domain Identity
3325
+ * Management (SCIM) with the identity provider.
3326
+ */
3327
+ scim_config?: IdentityProvidersAPI.IdentityProviderSCIMConfigParam;
3328
+ }
3329
+
3330
+ export namespace AccessCloudflare {
3331
+ /**
3332
+ * The configuration parameters for the identity provider. To view the required
3333
+ * parameters for a specific provider, refer to our
3334
+ * [developer documentation](https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/).
3335
+ */
3336
+ export interface Config {
3337
+ /**
3338
+ * When enabled, only users who are members of your Cloudflare account can
3339
+ * authenticate through this identity provider. When disabled, any user with a
3340
+ * Cloudflare account can authenticate, subject to your Access policies.
3341
+ */
3342
+ restrict_to_account_members?: boolean;
3343
+ }
3344
+ }
1928
3345
  }
1929
3346
 
1930
3347
  /**
@@ -2028,7 +3445,8 @@ export type IdentityProviderType =
2028
3445
  | 'okta'
2029
3446
  | 'onelogin'
2030
3447
  | 'pingone'
2031
- | 'yandex';
3448
+ | 'yandex'
3449
+ | 'cloudflare';
2032
3450
 
2033
3451
  /**
2034
3452
  * The type of identity provider. To determine the value for a specific provider,
@@ -2049,7 +3467,8 @@ export type IdentityProviderTypeParam =
2049
3467
  | 'okta'
2050
3468
  | 'onelogin'
2051
3469
  | 'pingone'
2052
- | 'yandex';
3470
+ | 'yandex'
3471
+ | 'cloudflare';
2053
3472
 
2054
3473
  export type IdentityProviderListResponse =
2055
3474
  | AzureAD
@@ -2064,7 +3483,9 @@ export type IdentityProviderListResponse =
2064
3483
  | IdentityProviderListResponse.AccessOnelogin
2065
3484
  | IdentityProviderListResponse.AccessPingone
2066
3485
  | IdentityProviderListResponse.AccessSAML
2067
- | IdentityProviderListResponse.AccessYandex;
3486
+ | IdentityProviderListResponse.AccessYandex
3487
+ | IdentityProviderListResponse.AccessOnetimepin
3488
+ | IdentityProviderListResponse.AccessCloudflare;
2068
3489
 
2069
3490
  export namespace IdentityProviderListResponse {
2070
3491
  export interface AccessCentrify {
@@ -2092,6 +3513,21 @@ export namespace IdentityProviderListResponse {
2092
3513
  */
2093
3514
  id?: string;
2094
3515
 
3516
+ /**
3517
+ * The SAML encryption certificate set details, including current and previous
3518
+ * certificates. Only present for SAML identity providers with a certificate set
3519
+ * assigned.
3520
+ */
3521
+ saml_certificate_set?: AccessCentrify.SAMLCertificateSet;
3522
+
3523
+ /**
3524
+ * The UID of the SAML encryption certificate set assigned to this Identity
3525
+ * Provider. Only present for SAML identity providers with encryption configured.
3526
+ * Create a certificate set via POST to
3527
+ * `/identity_providers/{id}/saml_certificate`.
3528
+ */
3529
+ saml_certificate_set_id?: string;
3530
+
2095
3531
  /**
2096
3532
  * The configuration settings for enabling a System for Cross-Domain Identity
2097
3533
  * Management (SCIM) with the identity provider.
@@ -2136,15 +3572,77 @@ export namespace IdentityProviderListResponse {
2136
3572
  */
2137
3573
  email_claim_name?: string;
2138
3574
  }
2139
- }
2140
3575
 
2141
- export interface AccessFacebook {
2142
3576
  /**
2143
- * The configuration parameters for the identity provider. To view the required
2144
- * parameters for a specific provider, refer to our
2145
- * [developer documentation](https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/).
3577
+ * The SAML encryption certificate set details, including current and previous
3578
+ * certificates. Only present for SAML identity providers with a certificate set
3579
+ * assigned.
2146
3580
  */
2147
- config: IdentityProvidersAPI.GenericOAuthConfig;
3581
+ export interface SAMLCertificateSet {
3582
+ /**
3583
+ * Timestamp when the certificate set was created
3584
+ */
3585
+ created_at: string;
3586
+
3587
+ /**
3588
+ * Unique identifier for the certificate set
3589
+ */
3590
+ uid: string;
3591
+
3592
+ /**
3593
+ * Timestamp when the certificate set was last updated (e.g., during rotation)
3594
+ */
3595
+ updated_at: string;
3596
+
3597
+ /**
3598
+ * The currently active certificate used for encrypting SAML assertions
3599
+ */
3600
+ current_certificate?: SAMLCertificateSet.CurrentCertificate;
3601
+
3602
+ /**
3603
+ * The previous certificate, maintained during rotation to ensure continuity. Null
3604
+ * if no rotation has occurred. Mirrors the structure of `saml_certificate`.
3605
+ */
3606
+ previous_certificate?: unknown | null;
3607
+ }
3608
+
3609
+ export namespace SAMLCertificateSet {
3610
+ /**
3611
+ * The currently active certificate used for encrypting SAML assertions
3612
+ */
3613
+ export interface CurrentCertificate {
3614
+ /**
3615
+ * Indicates whether this is the currently active certificate
3616
+ */
3617
+ is_current: boolean;
3618
+
3619
+ /**
3620
+ * Certificate expiration date. Certificates are automatically rotated 30 days
3621
+ * before expiration.
3622
+ */
3623
+ not_after: string;
3624
+
3625
+ /**
3626
+ * PEM-encoded X.509 certificate containing the public key. Configure this
3627
+ * certificate in your external SAML Identity Provider to enable encryption.
3628
+ */
3629
+ public_certificate: string;
3630
+
3631
+ /**
3632
+ * Unique identifier for the certificate
3633
+ */
3634
+ uid: string;
3635
+ }
3636
+ }
3637
+ }
3638
+
3639
+ export interface AccessFacebook {
3640
+ /**
3641
+ * The configuration parameters for the identity provider. To view the required
3642
+ * parameters for a specific provider, refer to our
3643
+ * [developer documentation](https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/).
3644
+ */
3645
+ config: IdentityProvidersAPI.GenericOAuthConfig;
2148
3646
 
2149
3647
  /**
2150
3648
  * The name of the identity provider, shown to users on the login page.
@@ -2163,6 +3661,21 @@ export namespace IdentityProviderListResponse {
2163
3661
  */
2164
3662
  id?: string;
2165
3663
 
3664
+ /**
3665
+ * The SAML encryption certificate set details, including current and previous
3666
+ * certificates. Only present for SAML identity providers with a certificate set
3667
+ * assigned.
3668
+ */
3669
+ saml_certificate_set?: AccessFacebook.SAMLCertificateSet;
3670
+
3671
+ /**
3672
+ * The UID of the SAML encryption certificate set assigned to this Identity
3673
+ * Provider. Only present for SAML identity providers with encryption configured.
3674
+ * Create a certificate set via POST to
3675
+ * `/identity_providers/{id}/saml_certificate`.
3676
+ */
3677
+ saml_certificate_set_id?: string;
3678
+
2166
3679
  /**
2167
3680
  * The configuration settings for enabling a System for Cross-Domain Identity
2168
3681
  * Management (SCIM) with the identity provider.
@@ -2170,6 +3683,70 @@ export namespace IdentityProviderListResponse {
2170
3683
  scim_config?: IdentityProvidersAPI.IdentityProviderSCIMConfig;
2171
3684
  }
2172
3685
 
3686
+ export namespace AccessFacebook {
3687
+ /**
3688
+ * The SAML encryption certificate set details, including current and previous
3689
+ * certificates. Only present for SAML identity providers with a certificate set
3690
+ * assigned.
3691
+ */
3692
+ export interface SAMLCertificateSet {
3693
+ /**
3694
+ * Timestamp when the certificate set was created
3695
+ */
3696
+ created_at: string;
3697
+
3698
+ /**
3699
+ * Unique identifier for the certificate set
3700
+ */
3701
+ uid: string;
3702
+
3703
+ /**
3704
+ * Timestamp when the certificate set was last updated (e.g., during rotation)
3705
+ */
3706
+ updated_at: string;
3707
+
3708
+ /**
3709
+ * The currently active certificate used for encrypting SAML assertions
3710
+ */
3711
+ current_certificate?: SAMLCertificateSet.CurrentCertificate;
3712
+
3713
+ /**
3714
+ * The previous certificate, maintained during rotation to ensure continuity. Null
3715
+ * if no rotation has occurred. Mirrors the structure of `saml_certificate`.
3716
+ */
3717
+ previous_certificate?: unknown | null;
3718
+ }
3719
+
3720
+ export namespace SAMLCertificateSet {
3721
+ /**
3722
+ * The currently active certificate used for encrypting SAML assertions
3723
+ */
3724
+ export interface CurrentCertificate {
3725
+ /**
3726
+ * Indicates whether this is the currently active certificate
3727
+ */
3728
+ is_current: boolean;
3729
+
3730
+ /**
3731
+ * Certificate expiration date. Certificates are automatically rotated 30 days
3732
+ * before expiration.
3733
+ */
3734
+ not_after: string;
3735
+
3736
+ /**
3737
+ * PEM-encoded X.509 certificate containing the public key. Configure this
3738
+ * certificate in your external SAML Identity Provider to enable encryption.
3739
+ */
3740
+ public_certificate: string;
3741
+
3742
+ /**
3743
+ * Unique identifier for the certificate
3744
+ */
3745
+ uid: string;
3746
+ }
3747
+ }
3748
+ }
3749
+
2173
3750
  export interface AccessGitHub {
2174
3751
  /**
2175
3752
  * The configuration parameters for the identity provider. To view the required
@@ -2195,6 +3772,21 @@ export namespace IdentityProviderListResponse {
2195
3772
  */
2196
3773
  id?: string;
2197
3774
 
3775
+ /**
3776
+ * The SAML encryption certificate set details, including current and previous
3777
+ * certificates. Only present for SAML identity providers with a certificate set
3778
+ * assigned.
3779
+ */
3780
+ saml_certificate_set?: AccessGitHub.SAMLCertificateSet;
3781
+
3782
+ /**
3783
+ * The UID of the SAML encryption certificate set assigned to this Identity
3784
+ * Provider. Only present for SAML identity providers with encryption configured.
3785
+ * Create a certificate set via POST to
3786
+ * `/identity_providers/{id}/saml_certificate`.
3787
+ */
3788
+ saml_certificate_set_id?: string;
3789
+
2198
3790
  /**
2199
3791
  * The configuration settings for enabling a System for Cross-Domain Identity
2200
3792
  * Management (SCIM) with the identity provider.
@@ -2202,6 +3794,70 @@ export namespace IdentityProviderListResponse {
2202
3794
  scim_config?: IdentityProvidersAPI.IdentityProviderSCIMConfig;
2203
3795
  }
2204
3796
 
3797
+ export namespace AccessGitHub {
3798
+ /**
3799
+ * The SAML encryption certificate set details, including current and previous
3800
+ * certificates. Only present for SAML identity providers with a certificate set
3801
+ * assigned.
3802
+ */
3803
+ export interface SAMLCertificateSet {
3804
+ /**
3805
+ * Timestamp when the certificate set was created
3806
+ */
3807
+ created_at: string;
3808
+
3809
+ /**
3810
+ * Unique identifier for the certificate set
3811
+ */
3812
+ uid: string;
3813
+
3814
+ /**
3815
+ * Timestamp when the certificate set was last updated (e.g., during rotation)
3816
+ */
3817
+ updated_at: string;
3818
+
3819
+ /**
3820
+ * The currently active certificate used for encrypting SAML assertions
3821
+ */
3822
+ current_certificate?: SAMLCertificateSet.CurrentCertificate;
3823
+
3824
+ /**
3825
+ * The previous certificate, maintained during rotation to ensure continuity. Null
3826
+ * if no rotation has occurred. Mirrors the structure of `saml_certificate`.
3827
+ */
3828
+ previous_certificate?: unknown | null;
3829
+ }
3830
+
3831
+ export namespace SAMLCertificateSet {
3832
+ /**
3833
+ * The currently active certificate used for encrypting SAML assertions
3834
+ */
3835
+ export interface CurrentCertificate {
3836
+ /**
3837
+ * Indicates whether this is the currently active certificate
3838
+ */
3839
+ is_current: boolean;
3840
+
3841
+ /**
3842
+ * Certificate expiration date. Certificates are automatically rotated 30 days
3843
+ * before expiration.
3844
+ */
3845
+ not_after: string;
3846
+
3847
+ /**
3848
+ * PEM-encoded X.509 certificate containing the public key. Configure this
3849
+ * certificate in your external SAML Identity Provider to enable encryption.
3850
+ */
3851
+ public_certificate: string;
3852
+
3853
+ /**
3854
+ * Unique identifier for the certificate
3855
+ */
3856
+ uid: string;
3857
+ }
3858
+ }
3859
+ }
3860
+
2205
3861
  export interface AccessGoogle {
2206
3862
  /**
2207
3863
  * The configuration parameters for the identity provider. To view the required
@@ -2227,6 +3883,21 @@ export namespace IdentityProviderListResponse {
2227
3883
  */
2228
3884
  id?: string;
2229
3885
 
3886
+ /**
3887
+ * The SAML encryption certificate set details, including current and previous
3888
+ * certificates. Only present for SAML identity providers with a certificate set
3889
+ * assigned.
3890
+ */
3891
+ saml_certificate_set?: AccessGoogle.SAMLCertificateSet;
3892
+
3893
+ /**
3894
+ * The UID of the SAML encryption certificate set assigned to this Identity
3895
+ * Provider. Only present for SAML identity providers with encryption configured.
3896
+ * Create a certificate set via POST to
3897
+ * `/identity_providers/{id}/saml_certificate`.
3898
+ */
3899
+ saml_certificate_set_id?: string;
3900
+
2230
3901
  /**
2231
3902
  * The configuration settings for enabling a System for Cross-Domain Identity
2232
3903
  * Management (SCIM) with the identity provider.
@@ -2261,6 +3932,68 @@ export namespace IdentityProviderListResponse {
2261
3932
  */
2262
3933
  email_claim_name?: string;
2263
3934
  }
3935
+
3936
+ /**
3937
+ * The SAML encryption certificate set details, including current and previous
3938
+ * certificates. Only present for SAML identity providers with a certificate set
3939
+ * assigned.
3940
+ */
3941
+ export interface SAMLCertificateSet {
3942
+ /**
3943
+ * Timestamp when the certificate set was created
3944
+ */
3945
+ created_at: string;
3946
+
3947
+ /**
3948
+ * Unique identifier for the certificate set
3949
+ */
3950
+ uid: string;
3951
+
3952
+ /**
3953
+ * Timestamp when the certificate set was last updated (e.g., during rotation)
3954
+ */
3955
+ updated_at: string;
3956
+
3957
+ /**
3958
+ * The currently active certificate used for encrypting SAML assertions
3959
+ */
3960
+ current_certificate?: SAMLCertificateSet.CurrentCertificate;
3961
+
3962
+ /**
3963
+ * The previous certificate, maintained during rotation to ensure continuity. Null
3964
+ * if no rotation has occurred. Mirrors the structure of `saml_certificate`.
3965
+ */
3966
+ previous_certificate?: unknown | null;
3967
+ }
3968
+
3969
+ export namespace SAMLCertificateSet {
3970
+ /**
3971
+ * The currently active certificate used for encrypting SAML assertions
3972
+ */
3973
+ export interface CurrentCertificate {
3974
+ /**
3975
+ * Indicates whether this is the currently active certificate
3976
+ */
3977
+ is_current: boolean;
3978
+
3979
+ /**
3980
+ * Certificate expiration date. Certificates are automatically rotated 30 days
3981
+ * before expiration.
3982
+ */
3983
+ not_after: string;
3984
+
3985
+ /**
3986
+ * PEM-encoded X.509 certificate containing the public key. Configure this
3987
+ * certificate in your external SAML Identity Provider to enable encryption.
3988
+ */
3989
+ public_certificate: string;
3990
+
3991
+ /**
3992
+ * Unique identifier for the certificate
3993
+ */
3994
+ uid: string;
3995
+ }
3996
+ }
2264
3997
  }
2265
3998
 
2266
3999
  export interface AccessGoogleApps {
@@ -2288,6 +4021,21 @@ export namespace IdentityProviderListResponse {
2288
4021
  */
2289
4022
  id?: string;
2290
4023
 
4024
+ /**
4025
+ * The SAML encryption certificate set details, including current and previous
4026
+ * certificates. Only present for SAML identity providers with a certificate set
4027
+ * assigned.
4028
+ */
4029
+ saml_certificate_set?: AccessGoogleApps.SAMLCertificateSet;
4030
+
4031
+ /**
4032
+ * The UID of the SAML encryption certificate set assigned to this Identity
4033
+ * Provider. Only present for SAML identity providers with encryption configured.
4034
+ * Create a certificate set via POST to
4035
+ * `/identity_providers/{id}/saml_certificate`.
4036
+ */
4037
+ saml_certificate_set_id?: string;
4038
+
2291
4039
  /**
2292
4040
  * The configuration settings for enabling a System for Cross-Domain Identity
2293
4041
  * Management (SCIM) with the identity provider.
@@ -2327,6 +4075,68 @@ export namespace IdentityProviderListResponse {
2327
4075
  */
2328
4076
  email_claim_name?: string;
2329
4077
  }
4078
+
4079
+ /**
4080
+ * The SAML encryption certificate set details, including current and previous
4081
+ * certificates. Only present for SAML identity providers with a certificate set
4082
+ * assigned.
4083
+ */
4084
+ export interface SAMLCertificateSet {
4085
+ /**
4086
+ * Timestamp when the certificate set was created
4087
+ */
4088
+ created_at: string;
4089
+
4090
+ /**
4091
+ * Unique identifier for the certificate set
4092
+ */
4093
+ uid: string;
4094
+
4095
+ /**
4096
+ * Timestamp when the certificate set was last updated (e.g., during rotation)
4097
+ */
4098
+ updated_at: string;
4099
+
4100
+ /**
4101
+ * The currently active certificate used for encrypting SAML assertions
4102
+ */
4103
+ current_certificate?: SAMLCertificateSet.CurrentCertificate;
4104
+
4105
+ /**
4106
+ * The previous certificate, maintained during rotation to ensure continuity. Null
4107
+ * if no rotation has occurred. Mirrors the structure of `saml_certificate`.
4108
+ */
4109
+ previous_certificate?: unknown | null;
4110
+ }
4111
+
4112
+ export namespace SAMLCertificateSet {
4113
+ /**
4114
+ * The currently active certificate used for encrypting SAML assertions
4115
+ */
4116
+ export interface CurrentCertificate {
4117
+ /**
4118
+ * Indicates whether this is the currently active certificate
4119
+ */
4120
+ is_current: boolean;
4121
+
4122
+ /**
4123
+ * Certificate expiration date. Certificates are automatically rotated 30 days
4124
+ * before expiration.
4125
+ */
4126
+ not_after: string;
4127
+
4128
+ /**
4129
+ * PEM-encoded X.509 certificate containing the public key. Configure this
4130
+ * certificate in your external SAML Identity Provider to enable encryption.
4131
+ */
4132
+ public_certificate: string;
4133
+
4134
+ /**
4135
+ * Unique identifier for the certificate
4136
+ */
4137
+ uid: string;
4138
+ }
4139
+ }
2330
4140
  }
2331
4141
 
2332
4142
  export interface AccessLinkedin {
@@ -2354,6 +4164,21 @@ export namespace IdentityProviderListResponse {
2354
4164
  */
2355
4165
  id?: string;
2356
4166
 
4167
+ /**
4168
+ * The SAML encryption certificate set details, including current and previous
4169
+ * certificates. Only present for SAML identity providers with a certificate set
4170
+ * assigned.
4171
+ */
4172
+ saml_certificate_set?: AccessLinkedin.SAMLCertificateSet;
4173
+
4174
+ /**
4175
+ * The UID of the SAML encryption certificate set assigned to this Identity
4176
+ * Provider. Only present for SAML identity providers with encryption configured.
4177
+ * Create a certificate set via POST to
4178
+ * `/identity_providers/{id}/saml_certificate`.
4179
+ */
4180
+ saml_certificate_set_id?: string;
4181
+
2357
4182
  /**
2358
4183
  * The configuration settings for enabling a System for Cross-Domain Identity
2359
4184
  * Management (SCIM) with the identity provider.
@@ -2361,6 +4186,70 @@ export namespace IdentityProviderListResponse {
2361
4186
  scim_config?: IdentityProvidersAPI.IdentityProviderSCIMConfig;
2362
4187
  }
2363
4188
 
4189
+ export namespace AccessLinkedin {
4190
+ /**
4191
+ * The SAML encryption certificate set details, including current and previous
4192
+ * certificates. Only present for SAML identity providers with a certificate set
4193
+ * assigned.
4194
+ */
4195
+ export interface SAMLCertificateSet {
4196
+ /**
4197
+ * Timestamp when the certificate set was created
4198
+ */
4199
+ created_at: string;
4200
+
4201
+ /**
4202
+ * Unique identifier for the certificate set
4203
+ */
4204
+ uid: string;
4205
+
4206
+ /**
4207
+ * Timestamp when the certificate set was last updated (e.g., during rotation)
4208
+ */
4209
+ updated_at: string;
4210
+
4211
+ /**
4212
+ * The currently active certificate used for encrypting SAML assertions
4213
+ */
4214
+ current_certificate?: SAMLCertificateSet.CurrentCertificate;
4215
+
4216
+ /**
4217
+ * The previous certificate, maintained during rotation to ensure continuity. Null
4218
+ * if no rotation has occurred. Mirrors the structure of `saml_certificate`.
4219
+ */
4220
+ previous_certificate?: unknown | null;
4221
+ }
4222
+
4223
+ export namespace SAMLCertificateSet {
4224
+ /**
4225
+ * The currently active certificate used for encrypting SAML assertions
4226
+ */
4227
+ export interface CurrentCertificate {
4228
+ /**
4229
+ * Indicates whether this is the currently active certificate
4230
+ */
4231
+ is_current: boolean;
4232
+
4233
+ /**
4234
+ * Certificate expiration date. Certificates are automatically rotated 30 days
4235
+ * before expiration.
4236
+ */
4237
+ not_after: string;
4238
+
4239
+ /**
4240
+ * PEM-encoded X.509 certificate containing the public key. Configure this
4241
+ * certificate in your external SAML Identity Provider to enable encryption.
4242
+ */
4243
+ public_certificate: string;
4244
+
4245
+ /**
4246
+ * Unique identifier for the certificate
4247
+ */
4248
+ uid: string;
4249
+ }
4250
+ }
4251
+ }
4252
+
2364
4253
  export interface AccessOIDC {
2365
4254
  /**
2366
4255
  * The configuration parameters for the identity provider. To view the required
@@ -2386,6 +4275,21 @@ export namespace IdentityProviderListResponse {
2386
4275
  */
2387
4276
  id?: string;
2388
4277
 
4278
+ /**
4279
+ * The SAML encryption certificate set details, including current and previous
4280
+ * certificates. Only present for SAML identity providers with a certificate set
4281
+ * assigned.
4282
+ */
4283
+ saml_certificate_set?: AccessOIDC.SAMLCertificateSet;
4284
+
4285
+ /**
4286
+ * The UID of the SAML encryption certificate set assigned to this Identity
4287
+ * Provider. Only present for SAML identity providers with encryption configured.
4288
+ * Create a certificate set via POST to
4289
+ * `/identity_providers/{id}/saml_certificate`.
4290
+ */
4291
+ saml_certificate_set_id?: string;
4292
+
2389
4293
  /**
2390
4294
  * The configuration settings for enabling a System for Cross-Domain Identity
2391
4295
  * Management (SCIM) with the identity provider.
@@ -2445,17 +4349,79 @@ export namespace IdentityProviderListResponse {
2445
4349
  */
2446
4350
  token_url?: string;
2447
4351
  }
2448
- }
2449
4352
 
2450
- export interface AccessOkta {
2451
4353
  /**
2452
- * The configuration parameters for the identity provider. To view the required
2453
- * parameters for a specific provider, refer to our
2454
- * [developer documentation](https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/).
4354
+ * The SAML encryption certificate set details, including current and previous
4355
+ * certificates. Only present for SAML identity providers with a certificate set
4356
+ * assigned.
2455
4357
  */
2456
- config: AccessOkta.Config;
4358
+ export interface SAMLCertificateSet {
4359
+ /**
4360
+ * Timestamp when the certificate set was created
4361
+ */
4362
+ created_at: string;
2457
4363
 
2458
- /**
4364
+ /**
4365
+ * Unique identifier for the certificate set
4366
+ */
4367
+ uid: string;
4368
+
4369
+ /**
4370
+ * Timestamp when the certificate set was last updated (e.g., during rotation)
4371
+ */
4372
+ updated_at: string;
4373
+
4374
+ /**
4375
+ * The currently active certificate used for encrypting SAML assertions
4376
+ */
4377
+ current_certificate?: SAMLCertificateSet.CurrentCertificate;
4378
+
4379
+ /**
4380
+ * The previous certificate, maintained during rotation to ensure continuity. Null
4381
+ * if no rotation has occurred. Mirrors the structure of `saml_certificate`.
4382
+ */
4383
+ previous_certificate?: unknown | null;
4384
+ }
4385
+
4386
+ export namespace SAMLCertificateSet {
4387
+ /**
4388
+ * The currently active certificate used for encrypting SAML assertions
4389
+ */
4390
+ export interface CurrentCertificate {
4391
+ /**
4392
+ * Indicates whether this is the currently active certificate
4393
+ */
4394
+ is_current: boolean;
4395
+
4396
+ /**
4397
+ * Certificate expiration date. Certificates are automatically rotated 30 days
4398
+ * before expiration.
4399
+ */
4400
+ not_after: string;
4401
+
4402
+ /**
4403
+ * PEM-encoded X.509 certificate containing the public key. Configure this
4404
+ * certificate in your external SAML Identity Provider to enable encryption.
4405
+ */
4406
+ public_certificate: string;
4407
+
4408
+ /**
4409
+ * Unique identifier for the certificate
4410
+ */
4411
+ uid: string;
4412
+ }
4413
+ }
4414
+ }
4415
+
4416
+ export interface AccessOkta {
4417
+ /**
4418
+ * The configuration parameters for the identity provider. To view the required
4419
+ * parameters for a specific provider, refer to our
4420
+ * [developer documentation](https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/).
4421
+ */
4422
+ config: AccessOkta.Config;
4423
+
4424
+ /**
2459
4425
  * The name of the identity provider, shown to users on the login page.
2460
4426
  */
2461
4427
  name: string;
@@ -2472,6 +4438,21 @@ export namespace IdentityProviderListResponse {
2472
4438
  */
2473
4439
  id?: string;
2474
4440
 
4441
+ /**
4442
+ * The SAML encryption certificate set details, including current and previous
4443
+ * certificates. Only present for SAML identity providers with a certificate set
4444
+ * assigned.
4445
+ */
4446
+ saml_certificate_set?: AccessOkta.SAMLCertificateSet;
4447
+
4448
+ /**
4449
+ * The UID of the SAML encryption certificate set assigned to this Identity
4450
+ * Provider. Only present for SAML identity providers with encryption configured.
4451
+ * Create a certificate set via POST to
4452
+ * `/identity_providers/{id}/saml_certificate`.
4453
+ */
4454
+ saml_certificate_set_id?: string;
4455
+
2475
4456
  /**
2476
4457
  * The configuration settings for enabling a System for Cross-Domain Identity
2477
4458
  * Management (SCIM) with the identity provider.
@@ -2516,6 +4497,68 @@ export namespace IdentityProviderListResponse {
2516
4497
  */
2517
4498
  okta_account?: string;
2518
4499
  }
4500
+
4501
+ /**
4502
+ * The SAML encryption certificate set details, including current and previous
4503
+ * certificates. Only present for SAML identity providers with a certificate set
4504
+ * assigned.
4505
+ */
4506
+ export interface SAMLCertificateSet {
4507
+ /**
4508
+ * Timestamp when the certificate set was created
4509
+ */
4510
+ created_at: string;
4511
+
4512
+ /**
4513
+ * Unique identifier for the certificate set
4514
+ */
4515
+ uid: string;
4516
+
4517
+ /**
4518
+ * Timestamp when the certificate set was last updated (e.g., during rotation)
4519
+ */
4520
+ updated_at: string;
4521
+
4522
+ /**
4523
+ * The currently active certificate used for encrypting SAML assertions
4524
+ */
4525
+ current_certificate?: SAMLCertificateSet.CurrentCertificate;
4526
+
4527
+ /**
4528
+ * The previous certificate, maintained during rotation to ensure continuity. Null
4529
+ * if no rotation has occurred. Mirrors the structure of `saml_certificate`.
4530
+ */
4531
+ previous_certificate?: unknown | null;
4532
+ }
4533
+
4534
+ export namespace SAMLCertificateSet {
4535
+ /**
4536
+ * The currently active certificate used for encrypting SAML assertions
4537
+ */
4538
+ export interface CurrentCertificate {
4539
+ /**
4540
+ * Indicates whether this is the currently active certificate
4541
+ */
4542
+ is_current: boolean;
4543
+
4544
+ /**
4545
+ * Certificate expiration date. Certificates are automatically rotated 30 days
4546
+ * before expiration.
4547
+ */
4548
+ not_after: string;
4549
+
4550
+ /**
4551
+ * PEM-encoded X.509 certificate containing the public key. Configure this
4552
+ * certificate in your external SAML Identity Provider to enable encryption.
4553
+ */
4554
+ public_certificate: string;
4555
+
4556
+ /**
4557
+ * Unique identifier for the certificate
4558
+ */
4559
+ uid: string;
4560
+ }
4561
+ }
2519
4562
  }
2520
4563
 
2521
4564
  export interface AccessOnelogin {
@@ -2543,6 +4586,21 @@ export namespace IdentityProviderListResponse {
2543
4586
  */
2544
4587
  id?: string;
2545
4588
 
4589
+ /**
4590
+ * The SAML encryption certificate set details, including current and previous
4591
+ * certificates. Only present for SAML identity providers with a certificate set
4592
+ * assigned.
4593
+ */
4594
+ saml_certificate_set?: AccessOnelogin.SAMLCertificateSet;
4595
+
4596
+ /**
4597
+ * The UID of the SAML encryption certificate set assigned to this Identity
4598
+ * Provider. Only present for SAML identity providers with encryption configured.
4599
+ * Create a certificate set via POST to
4600
+ * `/identity_providers/{id}/saml_certificate`.
4601
+ */
4602
+ saml_certificate_set_id?: string;
4603
+
2546
4604
  /**
2547
4605
  * The configuration settings for enabling a System for Cross-Domain Identity
2548
4606
  * Management (SCIM) with the identity provider.
@@ -2582,6 +4640,68 @@ export namespace IdentityProviderListResponse {
2582
4640
  */
2583
4641
  onelogin_account?: string;
2584
4642
  }
4643
+
4644
+ /**
4645
+ * The SAML encryption certificate set details, including current and previous
4646
+ * certificates. Only present for SAML identity providers with a certificate set
4647
+ * assigned.
4648
+ */
4649
+ export interface SAMLCertificateSet {
4650
+ /**
4651
+ * Timestamp when the certificate set was created
4652
+ */
4653
+ created_at: string;
4654
+
4655
+ /**
4656
+ * Unique identifier for the certificate set
4657
+ */
4658
+ uid: string;
4659
+
4660
+ /**
4661
+ * Timestamp when the certificate set was last updated (e.g., during rotation)
4662
+ */
4663
+ updated_at: string;
4664
+
4665
+ /**
4666
+ * The currently active certificate used for encrypting SAML assertions
4667
+ */
4668
+ current_certificate?: SAMLCertificateSet.CurrentCertificate;
4669
+
4670
+ /**
4671
+ * The previous certificate, maintained during rotation to ensure continuity. Null
4672
+ * if no rotation has occurred. Mirrors the structure of `saml_certificate`.
4673
+ */
4674
+ previous_certificate?: unknown | null;
4675
+ }
4676
+
4677
+ export namespace SAMLCertificateSet {
4678
+ /**
4679
+ * The currently active certificate used for encrypting SAML assertions
4680
+ */
4681
+ export interface CurrentCertificate {
4682
+ /**
4683
+ * Indicates whether this is the currently active certificate
4684
+ */
4685
+ is_current: boolean;
4686
+
4687
+ /**
4688
+ * Certificate expiration date. Certificates are automatically rotated 30 days
4689
+ * before expiration.
4690
+ */
4691
+ not_after: string;
4692
+
4693
+ /**
4694
+ * PEM-encoded X.509 certificate containing the public key. Configure this
4695
+ * certificate in your external SAML Identity Provider to enable encryption.
4696
+ */
4697
+ public_certificate: string;
4698
+
4699
+ /**
4700
+ * Unique identifier for the certificate
4701
+ */
4702
+ uid: string;
4703
+ }
4704
+ }
2585
4705
  }
2586
4706
 
2587
4707
  export interface AccessPingone {
@@ -2609,6 +4729,21 @@ export namespace IdentityProviderListResponse {
2609
4729
  */
2610
4730
  id?: string;
2611
4731
 
4732
+ /**
4733
+ * The SAML encryption certificate set details, including current and previous
4734
+ * certificates. Only present for SAML identity providers with a certificate set
4735
+ * assigned.
4736
+ */
4737
+ saml_certificate_set?: AccessPingone.SAMLCertificateSet;
4738
+
4739
+ /**
4740
+ * The UID of the SAML encryption certificate set assigned to this Identity
4741
+ * Provider. Only present for SAML identity providers with encryption configured.
4742
+ * Create a certificate set via POST to
4743
+ * `/identity_providers/{id}/saml_certificate`.
4744
+ */
4745
+ saml_certificate_set_id?: string;
4746
+
2612
4747
  /**
2613
4748
  * The configuration settings for enabling a System for Cross-Domain Identity
2614
4749
  * Management (SCIM) with the identity provider.
@@ -2648,6 +4783,68 @@ export namespace IdentityProviderListResponse {
2648
4783
  */
2649
4784
  ping_env_id?: string;
2650
4785
  }
4786
+
4787
+ /**
4788
+ * The SAML encryption certificate set details, including current and previous
4789
+ * certificates. Only present for SAML identity providers with a certificate set
4790
+ * assigned.
4791
+ */
4792
+ export interface SAMLCertificateSet {
4793
+ /**
4794
+ * Timestamp when the certificate set was created
4795
+ */
4796
+ created_at: string;
4797
+
4798
+ /**
4799
+ * Unique identifier for the certificate set
4800
+ */
4801
+ uid: string;
4802
+
4803
+ /**
4804
+ * Timestamp when the certificate set was last updated (e.g., during rotation)
4805
+ */
4806
+ updated_at: string;
4807
+
4808
+ /**
4809
+ * The currently active certificate used for encrypting SAML assertions
4810
+ */
4811
+ current_certificate?: SAMLCertificateSet.CurrentCertificate;
4812
+
4813
+ /**
4814
+ * The previous certificate, maintained during rotation to ensure continuity. Null
4815
+ * if no rotation has occurred. Mirrors the structure of `saml_certificate`.
4816
+ */
4817
+ previous_certificate?: unknown | null;
4818
+ }
4819
+
4820
+ export namespace SAMLCertificateSet {
4821
+ /**
4822
+ * The currently active certificate used for encrypting SAML assertions
4823
+ */
4824
+ export interface CurrentCertificate {
4825
+ /**
4826
+ * Indicates whether this is the currently active certificate
4827
+ */
4828
+ is_current: boolean;
4829
+
4830
+ /**
4831
+ * Certificate expiration date. Certificates are automatically rotated 30 days
4832
+ * before expiration.
4833
+ */
4834
+ not_after: string;
4835
+
4836
+ /**
4837
+ * PEM-encoded X.509 certificate containing the public key. Configure this
4838
+ * certificate in your external SAML Identity Provider to enable encryption.
4839
+ */
4840
+ public_certificate: string;
4841
+
4842
+ /**
4843
+ * Unique identifier for the certificate
4844
+ */
4845
+ uid: string;
4846
+ }
4847
+ }
2651
4848
  }
2652
4849
 
2653
4850
  export interface AccessSAML {
@@ -2675,6 +4872,21 @@ export namespace IdentityProviderListResponse {
2675
4872
  */
2676
4873
  id?: string;
2677
4874
 
4875
+ /**
4876
+ * The SAML encryption certificate set details, including current and previous
4877
+ * certificates. Only present for SAML identity providers with a certificate set
4878
+ * assigned.
4879
+ */
4880
+ saml_certificate_set?: AccessSAML.SAMLCertificateSet;
4881
+
4882
+ /**
4883
+ * The UID of the SAML encryption certificate set assigned to this Identity
4884
+ * Provider. Only present for SAML identity providers with encryption configured.
4885
+ * Create a certificate set via POST to
4886
+ * `/identity_providers/{id}/saml_certificate`.
4887
+ */
4888
+ saml_certificate_set_id?: string;
4889
+
2678
4890
  /**
2679
4891
  * The configuration settings for enabling a System for Cross-Domain Identity
2680
4892
  * Management (SCIM) with the identity provider.
@@ -2700,6 +4912,22 @@ export namespace IdentityProviderListResponse {
2700
4912
  */
2701
4913
  email_attribute_name?: string;
2702
4914
 
4915
+ /**
4916
+ * Enable SAML assertion encryption. When enabled, the Identity Provider will
4917
+ * encrypt SAML assertions using the certificate from the assigned certificate set.
4918
+ *
4919
+ * To enable encryption:
4920
+ *
4921
+ * 1. Create a certificate set via POST to
4922
+ * `/identity_providers/{id}/saml_certificate`
4923
+ * 2. Set this field to `true` and include `saml_certificate_set_id` in the PUT
4924
+ * request
4925
+ * 3. Configure the public certificate in your external Identity Provider
4926
+ *
4927
+ * Note: Requires `saml_certificate_set_id` to be set when `true`.
4928
+ */
4929
+ enable_encryption?: boolean;
4930
+
2703
4931
  /**
2704
4932
  * Add a list of attribute names that will be returned in the response header from
2705
4933
  * the Access callback.
@@ -2728,28 +4956,321 @@ export namespace IdentityProviderListResponse {
2728
4956
  sso_target_url?: string;
2729
4957
  }
2730
4958
 
2731
- export namespace Config {
2732
- export interface HeaderAttribute {
4959
+ export namespace Config {
4960
+ export interface HeaderAttribute {
4961
+ /**
4962
+ * attribute name from the IDP
4963
+ */
4964
+ attribute_name?: string;
4965
+
4966
+ /**
4967
+ * header that will be added on the request to the origin
4968
+ */
4969
+ header_name?: string;
4970
+ }
4971
+ }
4972
+
4973
+ /**
4974
+ * The SAML encryption certificate set details, including current and previous
4975
+ * certificates. Only present for SAML identity providers with a certificate set
4976
+ * assigned.
4977
+ */
4978
+ export interface SAMLCertificateSet {
4979
+ /**
4980
+ * Timestamp when the certificate set was created
4981
+ */
4982
+ created_at: string;
4983
+
4984
+ /**
4985
+ * Unique identifier for the certificate set
4986
+ */
4987
+ uid: string;
4988
+
4989
+ /**
4990
+ * Timestamp when the certificate set was last updated (e.g., during rotation)
4991
+ */
4992
+ updated_at: string;
4993
+
4994
+ /**
4995
+ * The currently active certificate used for encrypting SAML assertions
4996
+ */
4997
+ current_certificate?: SAMLCertificateSet.CurrentCertificate;
4998
+
4999
+ /**
5000
+ * The previous certificate, maintained during rotation to ensure continuity. Null
5001
+ * if no rotation has occurred. Mirrors the structure of `saml_certificate`.
5002
+ */
5003
+ previous_certificate?: unknown | null;
5004
+ }
5005
+
5006
+ export namespace SAMLCertificateSet {
5007
+ /**
5008
+ * The currently active certificate used for encrypting SAML assertions
5009
+ */
5010
+ export interface CurrentCertificate {
5011
+ /**
5012
+ * Indicates whether this is the currently active certificate
5013
+ */
5014
+ is_current: boolean;
5015
+
5016
+ /**
5017
+ * Certificate expiration date. Certificates are automatically rotated 30 days
5018
+ * before expiration.
5019
+ */
5020
+ not_after: string;
5021
+
5022
+ /**
5023
+ * PEM-encoded X.509 certificate containing the public key. Configure this
5024
+ * certificate in your external SAML Identity Provider to enable encryption.
5025
+ */
5026
+ public_certificate: string;
5027
+
5028
+ /**
5029
+ * Unique identifier for the certificate
5030
+ */
5031
+ uid: string;
5032
+ }
5033
+ }
5034
+ }
5035
+
5036
+ export interface AccessYandex {
5037
+ /**
5038
+ * The configuration parameters for the identity provider. To view the required
5039
+ * parameters for a specific provider, refer to our
5040
+ * [developer documentation](https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/).
5041
+ */
5042
+ config: IdentityProvidersAPI.GenericOAuthConfig;
5043
+
5044
+ /**
5045
+ * The name of the identity provider, shown to users on the login page.
5046
+ */
5047
+ name: string;
5048
+
5049
+ /**
5050
+ * The type of identity provider. To determine the value for a specific provider,
5051
+ * refer to our
5052
+ * [developer documentation](https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/).
5053
+ */
5054
+ type: IdentityProvidersAPI.IdentityProviderType;
5055
+
5056
+ /**
5057
+ * UUID.
5058
+ */
5059
+ id?: string;
5060
+
5061
+ /**
5062
+ * The SAML encryption certificate set details, including current and previous
5063
+ * certificates. Only present for SAML identity providers with a certificate set
5064
+ * assigned.
5065
+ */
5066
+ saml_certificate_set?: AccessYandex.SAMLCertificateSet;
5067
+
5068
+ /**
5069
+ * The UID of the SAML encryption certificate set assigned to this Identity
5070
+ * Provider. Only present for SAML identity providers with encryption configured.
5071
+ * Create a certificate set via POST to
5072
+ * `/identity_providers/{id}/saml_certificate`.
5073
+ */
5074
+ saml_certificate_set_id?: string;
5075
+
5076
+ /**
5077
+ * The configuration settings for enabling a System for Cross-Domain Identity
5078
+ * Management (SCIM) with the identity provider.
5079
+ */
5080
+ scim_config?: IdentityProvidersAPI.IdentityProviderSCIMConfig;
5081
+ }
5082
+
5083
+ export namespace AccessYandex {
5084
+ /**
5085
+ * The SAML encryption certificate set details, including current and previous
5086
+ * certificates. Only present for SAML identity providers with a certificate set
5087
+ * assigned.
5088
+ */
5089
+ export interface SAMLCertificateSet {
5090
+ /**
5091
+ * Timestamp when the certificate set was created
5092
+ */
5093
+ created_at: string;
5094
+
5095
+ /**
5096
+ * Unique identifier for the certificate set
5097
+ */
5098
+ uid: string;
5099
+
5100
+ /**
5101
+ * Timestamp when the certificate set was last updated (e.g., during rotation)
5102
+ */
5103
+ updated_at: string;
5104
+
5105
+ /**
5106
+ * The currently active certificate used for encrypting SAML assertions
5107
+ */
5108
+ current_certificate?: SAMLCertificateSet.CurrentCertificate;
5109
+
5110
+ /**
5111
+ * The previous certificate, maintained during rotation to ensure continuity. Null
5112
+ * if no rotation has occurred. Mirrors the structure of `saml_certificate`.
5113
+ */
5114
+ previous_certificate?: unknown | null;
5115
+ }
5116
+
5117
+ export namespace SAMLCertificateSet {
5118
+ /**
5119
+ * The currently active certificate used for encrypting SAML assertions
5120
+ */
5121
+ export interface CurrentCertificate {
5122
+ /**
5123
+ * Indicates whether this is the currently active certificate
5124
+ */
5125
+ is_current: boolean;
5126
+
5127
+ /**
5128
+ * Certificate expiration date. Certificates are automatically rotated 30 days
5129
+ * before expiration.
5130
+ */
5131
+ not_after: string;
5132
+
5133
+ /**
5134
+ * PEM-encoded X.509 certificate containing the public key. Configure this
5135
+ * certificate in your external SAML Identity Provider to enable encryption.
5136
+ */
5137
+ public_certificate: string;
5138
+
5139
+ /**
5140
+ * Unique identifier for the certificate
5141
+ */
5142
+ uid: string;
5143
+ }
5144
+ }
5145
+ }
5146
+
5147
+ export interface AccessOnetimepin {
5148
+ /**
5149
+ * The configuration parameters for the identity provider. To view the required
5150
+ * parameters for a specific provider, refer to our
5151
+ * [developer documentation](https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/).
5152
+ */
5153
+ config: AccessOnetimepin.Config;
5154
+
5155
+ /**
5156
+ * The name of the identity provider, shown to users on the login page.
5157
+ */
5158
+ name: string;
5159
+
5160
+ /**
5161
+ * The type of identity provider. To determine the value for a specific provider,
5162
+ * refer to our
5163
+ * [developer documentation](https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/).
5164
+ */
5165
+ type: IdentityProvidersAPI.IdentityProviderType;
5166
+
5167
+ /**
5168
+ * UUID.
5169
+ */
5170
+ id?: string;
5171
+
5172
+ /**
5173
+ * The SAML encryption certificate set details, including current and previous
5174
+ * certificates. Only present for SAML identity providers with a certificate set
5175
+ * assigned.
5176
+ */
5177
+ saml_certificate_set?: AccessOnetimepin.SAMLCertificateSet;
5178
+
5179
+ /**
5180
+ * The UID of the SAML encryption certificate set assigned to this Identity
5181
+ * Provider. Only present for SAML identity providers with encryption configured.
5182
+ * Create a certificate set via POST to
5183
+ * `/identity_providers/{id}/saml_certificate`.
5184
+ */
5185
+ saml_certificate_set_id?: string;
5186
+
5187
+ /**
5188
+ * The configuration settings for enabling a System for Cross-Domain Identity
5189
+ * Management (SCIM) with the identity provider.
5190
+ */
5191
+ scim_config?: IdentityProvidersAPI.IdentityProviderSCIMConfig;
5192
+ }
5193
+
5194
+ export namespace AccessOnetimepin {
5195
+ /**
5196
+ * The configuration parameters for the identity provider. To view the required
5197
+ * parameters for a specific provider, refer to our
5198
+ * [developer documentation](https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/).
5199
+ */
5200
+ export interface Config {
5201
+ redirect_url?: string;
5202
+ }
5203
+
5204
+ /**
5205
+ * The SAML encryption certificate set details, including current and previous
5206
+ * certificates. Only present for SAML identity providers with a certificate set
5207
+ * assigned.
5208
+ */
5209
+ export interface SAMLCertificateSet {
5210
+ /**
5211
+ * Timestamp when the certificate set was created
5212
+ */
5213
+ created_at: string;
5214
+
5215
+ /**
5216
+ * Unique identifier for the certificate set
5217
+ */
5218
+ uid: string;
5219
+
5220
+ /**
5221
+ * Timestamp when the certificate set was last updated (e.g., during rotation)
5222
+ */
5223
+ updated_at: string;
5224
+
5225
+ /**
5226
+ * The currently active certificate used for encrypting SAML assertions
5227
+ */
5228
+ current_certificate?: SAMLCertificateSet.CurrentCertificate;
5229
+
5230
+ /**
5231
+ * The previous certificate, maintained during rotation to ensure continuity. Null
5232
+ * if no rotation has occurred. Mirrors the structure of `saml_certificate`.
5233
+ */
5234
+ previous_certificate?: unknown | null;
5235
+ }
5236
+
5237
+ export namespace SAMLCertificateSet {
5238
+ /**
5239
+ * The currently active certificate used for encrypting SAML assertions
5240
+ */
5241
+ export interface CurrentCertificate {
5242
+ /**
5243
+ * Indicates whether this is the currently active certificate
5244
+ */
5245
+ is_current: boolean;
5246
+
5247
+ /**
5248
+ * Certificate expiration date. Certificates are automatically rotated 30 days
5249
+ * before expiration.
5250
+ */
5251
+ not_after: string;
5252
+
2733
5253
  /**
2734
- * attribute name from the IDP
5254
+ * PEM-encoded X.509 certificate containing the public key. Configure this
5255
+ * certificate in your external SAML Identity Provider to enable encryption.
2735
5256
  */
2736
- attribute_name?: string;
5257
+ public_certificate: string;
2737
5258
 
2738
5259
  /**
2739
- * header that will be added on the request to the origin
5260
+ * Unique identifier for the certificate
2740
5261
  */
2741
- header_name?: string;
5262
+ uid: string;
2742
5263
  }
2743
5264
  }
2744
5265
  }
2745
5266
 
2746
- export interface AccessYandex {
5267
+ export interface AccessCloudflare {
2747
5268
  /**
2748
5269
  * The configuration parameters for the identity provider. To view the required
2749
5270
  * parameters for a specific provider, refer to our
2750
5271
  * [developer documentation](https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/).
2751
5272
  */
2752
- config: IdentityProvidersAPI.GenericOAuthConfig;
5273
+ config: AccessCloudflare.Config;
2753
5274
 
2754
5275
  /**
2755
5276
  * The name of the identity provider, shown to users on the login page.
@@ -2768,12 +5289,107 @@ export namespace IdentityProviderListResponse {
2768
5289
  */
2769
5290
  id?: string;
2770
5291
 
5292
+ /**
5293
+ * The SAML encryption certificate set details, including current and previous
5294
+ * certificates. Only present for SAML identity providers with a certificate set
5295
+ * assigned.
5296
+ */
5297
+ saml_certificate_set?: AccessCloudflare.SAMLCertificateSet;
5298
+
5299
+ /**
5300
+ * The UID of the SAML encryption certificate set assigned to this Identity
5301
+ * Provider. Only present for SAML identity providers with encryption configured.
5302
+ * Create a certificate set via POST to
5303
+ * `/identity_providers/{id}/saml_certificate`.
5304
+ */
5305
+ saml_certificate_set_id?: string;
5306
+
2771
5307
  /**
2772
5308
  * The configuration settings for enabling a System for Cross-Domain Identity
2773
5309
  * Management (SCIM) with the identity provider.
2774
5310
  */
2775
5311
  scim_config?: IdentityProvidersAPI.IdentityProviderSCIMConfig;
2776
5312
  }
5313
+
5314
+ export namespace AccessCloudflare {
5315
+ /**
5316
+ * The configuration parameters for the identity provider. To view the required
5317
+ * parameters for a specific provider, refer to our
5318
+ * [developer documentation](https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/).
5319
+ */
5320
+ export interface Config {
5321
+ redirect_url?: string;
5322
+
5323
+ /**
5324
+ * When enabled, only users who are members of your Cloudflare account can
5325
+ * authenticate through this identity provider. When disabled, any user with a
5326
+ * Cloudflare account can authenticate, subject to your Access policies.
5327
+ */
5328
+ restrict_to_account_members?: boolean;
5329
+ }
5330
+
5331
+ /**
5332
+ * The SAML encryption certificate set details, including current and previous
5333
+ * certificates. Only present for SAML identity providers with a certificate set
5334
+ * assigned.
5335
+ */
5336
+ export interface SAMLCertificateSet {
5337
+ /**
5338
+ * Timestamp when the certificate set was created
5339
+ */
5340
+ created_at: string;
5341
+
5342
+ /**
5343
+ * Unique identifier for the certificate set
5344
+ */
5345
+ uid: string;
5346
+
5347
+ /**
5348
+ * Timestamp when the certificate set was last updated (e.g., during rotation)
5349
+ */
5350
+ updated_at: string;
5351
+
5352
+ /**
5353
+ * The currently active certificate used for encrypting SAML assertions
5354
+ */
5355
+ current_certificate?: SAMLCertificateSet.CurrentCertificate;
5356
+
5357
+ /**
5358
+ * The previous certificate, maintained during rotation to ensure continuity. Null
5359
+ * if no rotation has occurred. Mirrors the structure of `saml_certificate`.
5360
+ */
5361
+ previous_certificate?: unknown | null;
5362
+ }
5363
+
5364
+ export namespace SAMLCertificateSet {
5365
+ /**
5366
+ * The currently active certificate used for encrypting SAML assertions
5367
+ */
5368
+ export interface CurrentCertificate {
5369
+ /**
5370
+ * Indicates whether this is the currently active certificate
5371
+ */
5372
+ is_current: boolean;
5373
+
5374
+ /**
5375
+ * Certificate expiration date. Certificates are automatically rotated 30 days
5376
+ * before expiration.
5377
+ */
5378
+ not_after: string;
5379
+
5380
+ /**
5381
+ * PEM-encoded X.509 certificate containing the public key. Configure this
5382
+ * certificate in your external SAML Identity Provider to enable encryption.
5383
+ */
5384
+ public_certificate: string;
5385
+
5386
+ /**
5387
+ * Unique identifier for the certificate
5388
+ */
5389
+ uid: string;
5390
+ }
5391
+ }
5392
+ }
2777
5393
  }
2778
5394
 
2779
5395
  export interface IdentityProviderDeleteResponse {
@@ -2797,7 +5413,8 @@ export type IdentityProviderCreateParams =
2797
5413
  | IdentityProviderCreateParams.AccessPingone
2798
5414
  | IdentityProviderCreateParams.AccessSAML
2799
5415
  | IdentityProviderCreateParams.AccessYandex
2800
- | IdentityProviderCreateParams.AccessOnetimepin;
5416
+ | IdentityProviderCreateParams.AccessOnetimepin
5417
+ | IdentityProviderCreateParams.AccessCloudflare;
2801
5418
 
2802
5419
  export declare namespace IdentityProviderCreateParams {
2803
5420
  export interface AzureAD {
@@ -2832,6 +5449,14 @@ export declare namespace IdentityProviderCreateParams {
2832
5449
  */
2833
5450
  zone_id?: string;
2834
5451
 
5452
+ /**
5453
+ * Body param: The UID of the SAML encryption certificate set assigned to this
5454
+ * Identity Provider. Only present for SAML identity providers with encryption
5455
+ * configured. Create a certificate set via POST to
5456
+ * `/identity_providers/{id}/saml_certificate`.
5457
+ */
5458
+ saml_certificate_set_id?: string;
5459
+
2835
5460
  /**
2836
5461
  * Body param: The configuration settings for enabling a System for Cross-Domain
2837
5462
  * Identity Management (SCIM) with the identity provider.
@@ -2927,6 +5552,14 @@ export declare namespace IdentityProviderCreateParams {
2927
5552
  */
2928
5553
  zone_id?: string;
2929
5554
 
5555
+ /**
5556
+ * Body param: The UID of the SAML encryption certificate set assigned to this
5557
+ * Identity Provider. Only present for SAML identity providers with encryption
5558
+ * configured. Create a certificate set via POST to
5559
+ * `/identity_providers/{id}/saml_certificate`.
5560
+ */
5561
+ saml_certificate_set_id?: string;
5562
+
2930
5563
  /**
2931
5564
  * Body param: The configuration settings for enabling a System for Cross-Domain
2932
5565
  * Identity Management (SCIM) with the identity provider.
@@ -3005,6 +5638,14 @@ export declare namespace IdentityProviderCreateParams {
3005
5638
  */
3006
5639
  zone_id?: string;
3007
5640
 
5641
+ /**
5642
+ * Body param: The UID of the SAML encryption certificate set assigned to this
5643
+ * Identity Provider. Only present for SAML identity providers with encryption
5644
+ * configured. Create a certificate set via POST to
5645
+ * `/identity_providers/{id}/saml_certificate`.
5646
+ */
5647
+ saml_certificate_set_id?: string;
5648
+
3008
5649
  /**
3009
5650
  * Body param: The configuration settings for enabling a System for Cross-Domain
3010
5651
  * Identity Management (SCIM) with the identity provider.
@@ -3044,6 +5685,14 @@ export declare namespace IdentityProviderCreateParams {
3044
5685
  */
3045
5686
  zone_id?: string;
3046
5687
 
5688
+ /**
5689
+ * Body param: The UID of the SAML encryption certificate set assigned to this
5690
+ * Identity Provider. Only present for SAML identity providers with encryption
5691
+ * configured. Create a certificate set via POST to
5692
+ * `/identity_providers/{id}/saml_certificate`.
5693
+ */
5694
+ saml_certificate_set_id?: string;
5695
+
3047
5696
  /**
3048
5697
  * Body param: The configuration settings for enabling a System for Cross-Domain
3049
5698
  * Identity Management (SCIM) with the identity provider.
@@ -3083,6 +5732,14 @@ export declare namespace IdentityProviderCreateParams {
3083
5732
  */
3084
5733
  zone_id?: string;
3085
5734
 
5735
+ /**
5736
+ * Body param: The UID of the SAML encryption certificate set assigned to this
5737
+ * Identity Provider. Only present for SAML identity providers with encryption
5738
+ * configured. Create a certificate set via POST to
5739
+ * `/identity_providers/{id}/saml_certificate`.
5740
+ */
5741
+ saml_certificate_set_id?: string;
5742
+
3086
5743
  /**
3087
5744
  * Body param: The configuration settings for enabling a System for Cross-Domain
3088
5745
  * Identity Management (SCIM) with the identity provider.
@@ -3151,6 +5808,14 @@ export declare namespace IdentityProviderCreateParams {
3151
5808
  */
3152
5809
  zone_id?: string;
3153
5810
 
5811
+ /**
5812
+ * Body param: The UID of the SAML encryption certificate set assigned to this
5813
+ * Identity Provider. Only present for SAML identity providers with encryption
5814
+ * configured. Create a certificate set via POST to
5815
+ * `/identity_providers/{id}/saml_certificate`.
5816
+ */
5817
+ saml_certificate_set_id?: string;
5818
+
3154
5819
  /**
3155
5820
  * Body param: The configuration settings for enabling a System for Cross-Domain
3156
5821
  * Identity Management (SCIM) with the identity provider.
@@ -3224,6 +5889,14 @@ export declare namespace IdentityProviderCreateParams {
3224
5889
  */
3225
5890
  zone_id?: string;
3226
5891
 
5892
+ /**
5893
+ * Body param: The UID of the SAML encryption certificate set assigned to this
5894
+ * Identity Provider. Only present for SAML identity providers with encryption
5895
+ * configured. Create a certificate set via POST to
5896
+ * `/identity_providers/{id}/saml_certificate`.
5897
+ */
5898
+ saml_certificate_set_id?: string;
5899
+
3227
5900
  /**
3228
5901
  * Body param: The configuration settings for enabling a System for Cross-Domain
3229
5902
  * Identity Management (SCIM) with the identity provider.
@@ -3263,6 +5936,14 @@ export declare namespace IdentityProviderCreateParams {
3263
5936
  */
3264
5937
  zone_id?: string;
3265
5938
 
5939
+ /**
5940
+ * Body param: The UID of the SAML encryption certificate set assigned to this
5941
+ * Identity Provider. Only present for SAML identity providers with encryption
5942
+ * configured. Create a certificate set via POST to
5943
+ * `/identity_providers/{id}/saml_certificate`.
5944
+ */
5945
+ saml_certificate_set_id?: string;
5946
+
3266
5947
  /**
3267
5948
  * Body param: The configuration settings for enabling a System for Cross-Domain
3268
5949
  * Identity Management (SCIM) with the identity provider.
@@ -3356,6 +6037,14 @@ export declare namespace IdentityProviderCreateParams {
3356
6037
  */
3357
6038
  zone_id?: string;
3358
6039
 
6040
+ /**
6041
+ * Body param: The UID of the SAML encryption certificate set assigned to this
6042
+ * Identity Provider. Only present for SAML identity providers with encryption
6043
+ * configured. Create a certificate set via POST to
6044
+ * `/identity_providers/{id}/saml_certificate`.
6045
+ */
6046
+ saml_certificate_set_id?: string;
6047
+
3359
6048
  /**
3360
6049
  * Body param: The configuration settings for enabling a System for Cross-Domain
3361
6050
  * Identity Management (SCIM) with the identity provider.
@@ -3434,6 +6123,14 @@ export declare namespace IdentityProviderCreateParams {
3434
6123
  */
3435
6124
  zone_id?: string;
3436
6125
 
6126
+ /**
6127
+ * Body param: The UID of the SAML encryption certificate set assigned to this
6128
+ * Identity Provider. Only present for SAML identity providers with encryption
6129
+ * configured. Create a certificate set via POST to
6130
+ * `/identity_providers/{id}/saml_certificate`.
6131
+ */
6132
+ saml_certificate_set_id?: string;
6133
+
3437
6134
  /**
3438
6135
  * Body param: The configuration settings for enabling a System for Cross-Domain
3439
6136
  * Identity Management (SCIM) with the identity provider.
@@ -3507,6 +6204,14 @@ export declare namespace IdentityProviderCreateParams {
3507
6204
  */
3508
6205
  zone_id?: string;
3509
6206
 
6207
+ /**
6208
+ * Body param: The UID of the SAML encryption certificate set assigned to this
6209
+ * Identity Provider. Only present for SAML identity providers with encryption
6210
+ * configured. Create a certificate set via POST to
6211
+ * `/identity_providers/{id}/saml_certificate`.
6212
+ */
6213
+ saml_certificate_set_id?: string;
6214
+
3510
6215
  /**
3511
6216
  * Body param: The configuration settings for enabling a System for Cross-Domain
3512
6217
  * Identity Management (SCIM) with the identity provider.
@@ -3580,6 +6285,14 @@ export declare namespace IdentityProviderCreateParams {
3580
6285
  */
3581
6286
  zone_id?: string;
3582
6287
 
6288
+ /**
6289
+ * Body param: The UID of the SAML encryption certificate set assigned to this
6290
+ * Identity Provider. Only present for SAML identity providers with encryption
6291
+ * configured. Create a certificate set via POST to
6292
+ * `/identity_providers/{id}/saml_certificate`.
6293
+ */
6294
+ saml_certificate_set_id?: string;
6295
+
3583
6296
  /**
3584
6297
  * Body param: The configuration settings for enabling a System for Cross-Domain
3585
6298
  * Identity Management (SCIM) with the identity provider.
@@ -3605,6 +6318,22 @@ export declare namespace IdentityProviderCreateParams {
3605
6318
  */
3606
6319
  email_attribute_name?: string;
3607
6320
 
6321
+ /**
6322
+ * Enable SAML assertion encryption. When enabled, the Identity Provider will
6323
+ * encrypt SAML assertions using the certificate from the assigned certificate set.
6324
+ *
6325
+ * To enable encryption:
6326
+ *
6327
+ * 1. Create a certificate set via POST to
6328
+ * `/identity_providers/{id}/saml_certificate`
6329
+ * 2. Set this field to `true` and include `saml_certificate_set_id` in the PUT
6330
+ * request
6331
+ * 3. Configure the public certificate in your external Identity Provider
6332
+ *
6333
+ * Note: Requires `saml_certificate_set_id` to be set when `true`.
6334
+ */
6335
+ enable_encryption?: boolean;
6336
+
3608
6337
  /**
3609
6338
  * Add a list of attribute names that will be returned in the response header from
3610
6339
  * the Access callback.
@@ -3680,6 +6409,14 @@ export declare namespace IdentityProviderCreateParams {
3680
6409
  */
3681
6410
  zone_id?: string;
3682
6411
 
6412
+ /**
6413
+ * Body param: The UID of the SAML encryption certificate set assigned to this
6414
+ * Identity Provider. Only present for SAML identity providers with encryption
6415
+ * configured. Create a certificate set via POST to
6416
+ * `/identity_providers/{id}/saml_certificate`.
6417
+ */
6418
+ saml_certificate_set_id?: string;
6419
+
3683
6420
  /**
3684
6421
  * Body param: The configuration settings for enabling a System for Cross-Domain
3685
6422
  * Identity Management (SCIM) with the identity provider.
@@ -3719,6 +6456,14 @@ export declare namespace IdentityProviderCreateParams {
3719
6456
  */
3720
6457
  zone_id?: string;
3721
6458
 
6459
+ /**
6460
+ * Body param: The UID of the SAML encryption certificate set assigned to this
6461
+ * Identity Provider. Only present for SAML identity providers with encryption
6462
+ * configured. Create a certificate set via POST to
6463
+ * `/identity_providers/{id}/saml_certificate`.
6464
+ */
6465
+ saml_certificate_set_id?: string;
6466
+
3722
6467
  /**
3723
6468
  * Body param: The configuration settings for enabling a System for Cross-Domain
3724
6469
  * Identity Management (SCIM) with the identity provider.
@@ -3734,6 +6479,69 @@ export declare namespace IdentityProviderCreateParams {
3734
6479
  */
3735
6480
  export interface Config {}
3736
6481
  }
6482
+
6483
+ export interface AccessCloudflare {
6484
+ /**
6485
+ * Body param: The configuration parameters for the identity provider. To view the
6486
+ * required parameters for a specific provider, refer to our
6487
+ * [developer documentation](https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/).
6488
+ */
6489
+ config: AccessCloudflare.Config;
6490
+
6491
+ /**
6492
+ * Body param: The name of the identity provider, shown to users on the login page.
6493
+ */
6494
+ name: string;
6495
+
6496
+ /**
6497
+ * Body param: The type of identity provider. To determine the value for a specific
6498
+ * provider, refer to our
6499
+ * [developer documentation](https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/).
6500
+ */
6501
+ type: IdentityProviderTypeParam;
6502
+
6503
+ /**
6504
+ * Path param: The Account ID to use for this endpoint. Mutually exclusive with the
6505
+ * Zone ID.
6506
+ */
6507
+ account_id?: string;
6508
+
6509
+ /**
6510
+ * Path param: The Zone ID to use for this endpoint. Mutually exclusive with the
6511
+ * Account ID.
6512
+ */
6513
+ zone_id?: string;
6514
+
6515
+ /**
6516
+ * Body param: The UID of the SAML encryption certificate set assigned to this
6517
+ * Identity Provider. Only present for SAML identity providers with encryption
6518
+ * configured. Create a certificate set via POST to
6519
+ * `/identity_providers/{id}/saml_certificate`.
6520
+ */
6521
+ saml_certificate_set_id?: string;
6522
+
6523
+ /**
6524
+ * Body param: The configuration settings for enabling a System for Cross-Domain
6525
+ * Identity Management (SCIM) with the identity provider.
6526
+ */
6527
+ scim_config?: IdentityProviderSCIMConfigParam;
6528
+ }
6529
+
6530
+ export namespace AccessCloudflare {
6531
+ /**
6532
+ * The configuration parameters for the identity provider. To view the required
6533
+ * parameters for a specific provider, refer to our
6534
+ * [developer documentation](https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/).
6535
+ */
6536
+ export interface Config {
6537
+ /**
6538
+ * When enabled, only users who are members of your Cloudflare account can
6539
+ * authenticate through this identity provider. When disabled, any user with a
6540
+ * Cloudflare account can authenticate, subject to your Access policies.
6541
+ */
6542
+ restrict_to_account_members?: boolean;
6543
+ }
6544
+ }
3737
6545
  }
3738
6546
 
3739
6547
  export type IdentityProviderUpdateParams =
@@ -3750,7 +6558,8 @@ export type IdentityProviderUpdateParams =
3750
6558
  | IdentityProviderUpdateParams.AccessPingone
3751
6559
  | IdentityProviderUpdateParams.AccessSAML
3752
6560
  | IdentityProviderUpdateParams.AccessYandex
3753
- | IdentityProviderUpdateParams.AccessOnetimepin;
6561
+ | IdentityProviderUpdateParams.AccessOnetimepin
6562
+ | IdentityProviderUpdateParams.AccessCloudflare;
3754
6563
 
3755
6564
  export declare namespace IdentityProviderUpdateParams {
3756
6565
  export interface AzureAD {
@@ -3785,6 +6594,14 @@ export declare namespace IdentityProviderUpdateParams {
3785
6594
  */
3786
6595
  zone_id?: string;
3787
6596
 
6597
+ /**
6598
+ * Body param: The UID of the SAML encryption certificate set assigned to this
6599
+ * Identity Provider. Only present for SAML identity providers with encryption
6600
+ * configured. Create a certificate set via POST to
6601
+ * `/identity_providers/{id}/saml_certificate`.
6602
+ */
6603
+ saml_certificate_set_id?: string;
6604
+
3788
6605
  /**
3789
6606
  * Body param: The configuration settings for enabling a System for Cross-Domain
3790
6607
  * Identity Management (SCIM) with the identity provider.
@@ -3880,6 +6697,14 @@ export declare namespace IdentityProviderUpdateParams {
3880
6697
  */
3881
6698
  zone_id?: string;
3882
6699
 
6700
+ /**
6701
+ * Body param: The UID of the SAML encryption certificate set assigned to this
6702
+ * Identity Provider. Only present for SAML identity providers with encryption
6703
+ * configured. Create a certificate set via POST to
6704
+ * `/identity_providers/{id}/saml_certificate`.
6705
+ */
6706
+ saml_certificate_set_id?: string;
6707
+
3883
6708
  /**
3884
6709
  * Body param: The configuration settings for enabling a System for Cross-Domain
3885
6710
  * Identity Management (SCIM) with the identity provider.
@@ -3958,6 +6783,14 @@ export declare namespace IdentityProviderUpdateParams {
3958
6783
  */
3959
6784
  zone_id?: string;
3960
6785
 
6786
+ /**
6787
+ * Body param: The UID of the SAML encryption certificate set assigned to this
6788
+ * Identity Provider. Only present for SAML identity providers with encryption
6789
+ * configured. Create a certificate set via POST to
6790
+ * `/identity_providers/{id}/saml_certificate`.
6791
+ */
6792
+ saml_certificate_set_id?: string;
6793
+
3961
6794
  /**
3962
6795
  * Body param: The configuration settings for enabling a System for Cross-Domain
3963
6796
  * Identity Management (SCIM) with the identity provider.
@@ -3997,6 +6830,14 @@ export declare namespace IdentityProviderUpdateParams {
3997
6830
  */
3998
6831
  zone_id?: string;
3999
6832
 
6833
+ /**
6834
+ * Body param: The UID of the SAML encryption certificate set assigned to this
6835
+ * Identity Provider. Only present for SAML identity providers with encryption
6836
+ * configured. Create a certificate set via POST to
6837
+ * `/identity_providers/{id}/saml_certificate`.
6838
+ */
6839
+ saml_certificate_set_id?: string;
6840
+
4000
6841
  /**
4001
6842
  * Body param: The configuration settings for enabling a System for Cross-Domain
4002
6843
  * Identity Management (SCIM) with the identity provider.
@@ -4036,6 +6877,14 @@ export declare namespace IdentityProviderUpdateParams {
4036
6877
  */
4037
6878
  zone_id?: string;
4038
6879
 
6880
+ /**
6881
+ * Body param: The UID of the SAML encryption certificate set assigned to this
6882
+ * Identity Provider. Only present for SAML identity providers with encryption
6883
+ * configured. Create a certificate set via POST to
6884
+ * `/identity_providers/{id}/saml_certificate`.
6885
+ */
6886
+ saml_certificate_set_id?: string;
6887
+
4039
6888
  /**
4040
6889
  * Body param: The configuration settings for enabling a System for Cross-Domain
4041
6890
  * Identity Management (SCIM) with the identity provider.
@@ -4104,6 +6953,14 @@ export declare namespace IdentityProviderUpdateParams {
4104
6953
  */
4105
6954
  zone_id?: string;
4106
6955
 
6956
+ /**
6957
+ * Body param: The UID of the SAML encryption certificate set assigned to this
6958
+ * Identity Provider. Only present for SAML identity providers with encryption
6959
+ * configured. Create a certificate set via POST to
6960
+ * `/identity_providers/{id}/saml_certificate`.
6961
+ */
6962
+ saml_certificate_set_id?: string;
6963
+
4107
6964
  /**
4108
6965
  * Body param: The configuration settings for enabling a System for Cross-Domain
4109
6966
  * Identity Management (SCIM) with the identity provider.
@@ -4177,6 +7034,14 @@ export declare namespace IdentityProviderUpdateParams {
4177
7034
  */
4178
7035
  zone_id?: string;
4179
7036
 
7037
+ /**
7038
+ * Body param: The UID of the SAML encryption certificate set assigned to this
7039
+ * Identity Provider. Only present for SAML identity providers with encryption
7040
+ * configured. Create a certificate set via POST to
7041
+ * `/identity_providers/{id}/saml_certificate`.
7042
+ */
7043
+ saml_certificate_set_id?: string;
7044
+
4180
7045
  /**
4181
7046
  * Body param: The configuration settings for enabling a System for Cross-Domain
4182
7047
  * Identity Management (SCIM) with the identity provider.
@@ -4216,6 +7081,14 @@ export declare namespace IdentityProviderUpdateParams {
4216
7081
  */
4217
7082
  zone_id?: string;
4218
7083
 
7084
+ /**
7085
+ * Body param: The UID of the SAML encryption certificate set assigned to this
7086
+ * Identity Provider. Only present for SAML identity providers with encryption
7087
+ * configured. Create a certificate set via POST to
7088
+ * `/identity_providers/{id}/saml_certificate`.
7089
+ */
7090
+ saml_certificate_set_id?: string;
7091
+
4219
7092
  /**
4220
7093
  * Body param: The configuration settings for enabling a System for Cross-Domain
4221
7094
  * Identity Management (SCIM) with the identity provider.
@@ -4309,6 +7182,14 @@ export declare namespace IdentityProviderUpdateParams {
4309
7182
  */
4310
7183
  zone_id?: string;
4311
7184
 
7185
+ /**
7186
+ * Body param: The UID of the SAML encryption certificate set assigned to this
7187
+ * Identity Provider. Only present for SAML identity providers with encryption
7188
+ * configured. Create a certificate set via POST to
7189
+ * `/identity_providers/{id}/saml_certificate`.
7190
+ */
7191
+ saml_certificate_set_id?: string;
7192
+
4312
7193
  /**
4313
7194
  * Body param: The configuration settings for enabling a System for Cross-Domain
4314
7195
  * Identity Management (SCIM) with the identity provider.
@@ -4387,6 +7268,14 @@ export declare namespace IdentityProviderUpdateParams {
4387
7268
  */
4388
7269
  zone_id?: string;
4389
7270
 
7271
+ /**
7272
+ * Body param: The UID of the SAML encryption certificate set assigned to this
7273
+ * Identity Provider. Only present for SAML identity providers with encryption
7274
+ * configured. Create a certificate set via POST to
7275
+ * `/identity_providers/{id}/saml_certificate`.
7276
+ */
7277
+ saml_certificate_set_id?: string;
7278
+
4390
7279
  /**
4391
7280
  * Body param: The configuration settings for enabling a System for Cross-Domain
4392
7281
  * Identity Management (SCIM) with the identity provider.
@@ -4460,6 +7349,14 @@ export declare namespace IdentityProviderUpdateParams {
4460
7349
  */
4461
7350
  zone_id?: string;
4462
7351
 
7352
+ /**
7353
+ * Body param: The UID of the SAML encryption certificate set assigned to this
7354
+ * Identity Provider. Only present for SAML identity providers with encryption
7355
+ * configured. Create a certificate set via POST to
7356
+ * `/identity_providers/{id}/saml_certificate`.
7357
+ */
7358
+ saml_certificate_set_id?: string;
7359
+
4463
7360
  /**
4464
7361
  * Body param: The configuration settings for enabling a System for Cross-Domain
4465
7362
  * Identity Management (SCIM) with the identity provider.
@@ -4533,6 +7430,14 @@ export declare namespace IdentityProviderUpdateParams {
4533
7430
  */
4534
7431
  zone_id?: string;
4535
7432
 
7433
+ /**
7434
+ * Body param: The UID of the SAML encryption certificate set assigned to this
7435
+ * Identity Provider. Only present for SAML identity providers with encryption
7436
+ * configured. Create a certificate set via POST to
7437
+ * `/identity_providers/{id}/saml_certificate`.
7438
+ */
7439
+ saml_certificate_set_id?: string;
7440
+
4536
7441
  /**
4537
7442
  * Body param: The configuration settings for enabling a System for Cross-Domain
4538
7443
  * Identity Management (SCIM) with the identity provider.
@@ -4558,6 +7463,22 @@ export declare namespace IdentityProviderUpdateParams {
4558
7463
  */
4559
7464
  email_attribute_name?: string;
4560
7465
 
7466
+ /**
7467
+ * Enable SAML assertion encryption. When enabled, the Identity Provider will
7468
+ * encrypt SAML assertions using the certificate from the assigned certificate set.
7469
+ *
7470
+ * To enable encryption:
7471
+ *
7472
+ * 1. Create a certificate set via POST to
7473
+ * `/identity_providers/{id}/saml_certificate`
7474
+ * 2. Set this field to `true` and include `saml_certificate_set_id` in the PUT
7475
+ * request
7476
+ * 3. Configure the public certificate in your external Identity Provider
7477
+ *
7478
+ * Note: Requires `saml_certificate_set_id` to be set when `true`.
7479
+ */
7480
+ enable_encryption?: boolean;
7481
+
4561
7482
  /**
4562
7483
  * Add a list of attribute names that will be returned in the response header from
4563
7484
  * the Access callback.
@@ -4633,6 +7554,14 @@ export declare namespace IdentityProviderUpdateParams {
4633
7554
  */
4634
7555
  zone_id?: string;
4635
7556
 
7557
+ /**
7558
+ * Body param: The UID of the SAML encryption certificate set assigned to this
7559
+ * Identity Provider. Only present for SAML identity providers with encryption
7560
+ * configured. Create a certificate set via POST to
7561
+ * `/identity_providers/{id}/saml_certificate`.
7562
+ */
7563
+ saml_certificate_set_id?: string;
7564
+
4636
7565
  /**
4637
7566
  * Body param: The configuration settings for enabling a System for Cross-Domain
4638
7567
  * Identity Management (SCIM) with the identity provider.
@@ -4672,6 +7601,14 @@ export declare namespace IdentityProviderUpdateParams {
4672
7601
  */
4673
7602
  zone_id?: string;
4674
7603
 
7604
+ /**
7605
+ * Body param: The UID of the SAML encryption certificate set assigned to this
7606
+ * Identity Provider. Only present for SAML identity providers with encryption
7607
+ * configured. Create a certificate set via POST to
7608
+ * `/identity_providers/{id}/saml_certificate`.
7609
+ */
7610
+ saml_certificate_set_id?: string;
7611
+
4675
7612
  /**
4676
7613
  * Body param: The configuration settings for enabling a System for Cross-Domain
4677
7614
  * Identity Management (SCIM) with the identity provider.
@@ -4687,6 +7624,69 @@ export declare namespace IdentityProviderUpdateParams {
4687
7624
  */
4688
7625
  export interface Config {}
4689
7626
  }
7627
+
7628
+ export interface AccessCloudflare {
7629
+ /**
7630
+ * Body param: The configuration parameters for the identity provider. To view the
7631
+ * required parameters for a specific provider, refer to our
7632
+ * [developer documentation](https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/).
7633
+ */
7634
+ config: AccessCloudflare.Config;
7635
+
7636
+ /**
7637
+ * Body param: The name of the identity provider, shown to users on the login page.
7638
+ */
7639
+ name: string;
7640
+
7641
+ /**
7642
+ * Body param: The type of identity provider. To determine the value for a specific
7643
+ * provider, refer to our
7644
+ * [developer documentation](https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/).
7645
+ */
7646
+ type: IdentityProviderTypeParam;
7647
+
7648
+ /**
7649
+ * Path param: The Account ID to use for this endpoint. Mutually exclusive with the
7650
+ * Zone ID.
7651
+ */
7652
+ account_id?: string;
7653
+
7654
+ /**
7655
+ * Path param: The Zone ID to use for this endpoint. Mutually exclusive with the
7656
+ * Account ID.
7657
+ */
7658
+ zone_id?: string;
7659
+
7660
+ /**
7661
+ * Body param: The UID of the SAML encryption certificate set assigned to this
7662
+ * Identity Provider. Only present for SAML identity providers with encryption
7663
+ * configured. Create a certificate set via POST to
7664
+ * `/identity_providers/{id}/saml_certificate`.
7665
+ */
7666
+ saml_certificate_set_id?: string;
7667
+
7668
+ /**
7669
+ * Body param: The configuration settings for enabling a System for Cross-Domain
7670
+ * Identity Management (SCIM) with the identity provider.
7671
+ */
7672
+ scim_config?: IdentityProviderSCIMConfigParam;
7673
+ }
7674
+
7675
+ export namespace AccessCloudflare {
7676
+ /**
7677
+ * The configuration parameters for the identity provider. To view the required
7678
+ * parameters for a specific provider, refer to our
7679
+ * [developer documentation](https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/).
7680
+ */
7681
+ export interface Config {
7682
+ /**
7683
+ * When enabled, only users who are members of your Cloudflare account can
7684
+ * authenticate through this identity provider. When disabled, any user with a
7685
+ * Cloudflare account can authenticate, subject to your Access policies.
7686
+ */
7687
+ restrict_to_account_members?: boolean;
7688
+ }
7689
+ }
4690
7690
  }
4691
7691
 
4692
7692
  export interface IdentityProviderListParams extends V4PagePaginationArrayParams {
@@ -4736,6 +7736,7 @@ export interface IdentityProviderGetParams {
4736
7736
  IdentityProviders.IdentityProviderListResponsesV4PagePaginationArray =
4737
7737
  IdentityProviderListResponsesV4PagePaginationArray;
4738
7738
  IdentityProviders.SCIM = SCIM;
7739
+ IdentityProviders.SAMLCertificate = SAMLCertificate;
4739
7740
 
4740
7741
  export declare namespace IdentityProviders {
4741
7742
  export {
@@ -4755,4 +7756,10 @@ export declare namespace IdentityProviders {
4755
7756
  };
4756
7757
 
4757
7758
  export { SCIM as SCIM };
7759
+
7760
+ export {
7761
+ SAMLCertificate as SAMLCertificate,
7762
+ type SAMLCertificateCreateResponse as SAMLCertificateCreateResponse,
7763
+ type SAMLCertificateCreateParams as SAMLCertificateCreateParams,
7764
+ };
4758
7765
  }