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
@@ -1,11 +1,14 @@
1
1
  import { APIResource } from "../../../resource.js";
2
2
  import * as Core from "../../../core.js";
3
3
  import * as IdentityProvidersAPI from "./identity-providers.js";
4
+ import * as SAMLCertificateAPI from "./saml-certificate.js";
5
+ import { SAMLCertificate, SAMLCertificateCreateParams, SAMLCertificateCreateResponse } from "./saml-certificate.js";
4
6
  import * as SCIMAPI from "./scim/scim.js";
5
7
  import { SCIM } from "./scim/scim.js";
6
8
  import { V4PagePaginationArray, type V4PagePaginationArrayParams } from "../../../pagination.js";
7
9
  export declare class IdentityProviders extends APIResource {
8
10
  scim: SCIMAPI.SCIM;
11
+ samlCertificate: SAMLCertificateAPI.SAMLCertificate;
9
12
  /**
10
13
  * Adds a new identity provider to Access.
11
14
  *
@@ -106,6 +109,19 @@ export interface AzureAD {
106
109
  * UUID.
107
110
  */
108
111
  id?: string;
112
+ /**
113
+ * The SAML encryption certificate set details, including current and previous
114
+ * certificates. Only present for SAML identity providers with a certificate set
115
+ * assigned.
116
+ */
117
+ saml_certificate_set?: AzureAD.SAMLCertificateSet;
118
+ /**
119
+ * The UID of the SAML encryption certificate set assigned to this Identity
120
+ * Provider. Only present for SAML identity providers with encryption configured.
121
+ * Create a certificate set via POST to
122
+ * `/identity_providers/{id}/saml_certificate`.
123
+ */
124
+ saml_certificate_set_id?: string;
109
125
  /**
110
126
  * The configuration settings for enabling a System for Cross-Domain Identity
111
127
  * Management (SCIM) with the identity provider.
@@ -159,6 +175,59 @@ export declare namespace AzureAD {
159
175
  */
160
176
  support_groups?: boolean;
161
177
  }
178
+ /**
179
+ * The SAML encryption certificate set details, including current and previous
180
+ * certificates. Only present for SAML identity providers with a certificate set
181
+ * assigned.
182
+ */
183
+ interface SAMLCertificateSet {
184
+ /**
185
+ * Timestamp when the certificate set was created
186
+ */
187
+ created_at: string;
188
+ /**
189
+ * Unique identifier for the certificate set
190
+ */
191
+ uid: string;
192
+ /**
193
+ * Timestamp when the certificate set was last updated (e.g., during rotation)
194
+ */
195
+ updated_at: string;
196
+ /**
197
+ * The currently active certificate used for encrypting SAML assertions
198
+ */
199
+ current_certificate?: SAMLCertificateSet.CurrentCertificate;
200
+ /**
201
+ * The previous certificate, maintained during rotation to ensure continuity. Null
202
+ * if no rotation has occurred. Mirrors the structure of `saml_certificate`.
203
+ */
204
+ previous_certificate?: unknown | null;
205
+ }
206
+ namespace SAMLCertificateSet {
207
+ /**
208
+ * The currently active certificate used for encrypting SAML assertions
209
+ */
210
+ interface CurrentCertificate {
211
+ /**
212
+ * Indicates whether this is the currently active certificate
213
+ */
214
+ is_current: boolean;
215
+ /**
216
+ * Certificate expiration date. Certificates are automatically rotated 30 days
217
+ * before expiration.
218
+ */
219
+ not_after: string;
220
+ /**
221
+ * PEM-encoded X.509 certificate containing the public key. Configure this
222
+ * certificate in your external SAML Identity Provider to enable encryption.
223
+ */
224
+ public_certificate: string;
225
+ /**
226
+ * Unique identifier for the certificate
227
+ */
228
+ uid: string;
229
+ }
230
+ }
162
231
  }
163
232
  export interface AzureADParam {
164
233
  /**
@@ -177,6 +246,13 @@ export interface AzureADParam {
177
246
  * [developer documentation](https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/).
178
247
  */
179
248
  type: IdentityProviderTypeParam;
249
+ /**
250
+ * The UID of the SAML encryption certificate set assigned to this Identity
251
+ * Provider. Only present for SAML identity providers with encryption configured.
252
+ * Create a certificate set via POST to
253
+ * `/identity_providers/{id}/saml_certificate`.
254
+ */
255
+ saml_certificate_set_id?: string;
180
256
  /**
181
257
  * The configuration settings for enabling a System for Cross-Domain Identity
182
258
  * Management (SCIM) with the identity provider.
@@ -251,7 +327,7 @@ export interface GenericOAuthConfigParam {
251
327
  */
252
328
  client_secret?: string;
253
329
  }
254
- export type IdentityProvider = AzureAD | IdentityProvider.AccessCentrify | IdentityProvider.AccessFacebook | IdentityProvider.AccessGitHub | IdentityProvider.AccessGoogle | IdentityProvider.AccessGoogleApps | IdentityProvider.AccessLinkedin | IdentityProvider.AccessOIDC | IdentityProvider.AccessOkta | IdentityProvider.AccessOnelogin | IdentityProvider.AccessPingone | IdentityProvider.AccessSAML | IdentityProvider.AccessYandex | IdentityProvider.AccessOnetimepin;
330
+ export type IdentityProvider = AzureAD | IdentityProvider.AccessCentrify | IdentityProvider.AccessFacebook | IdentityProvider.AccessGitHub | IdentityProvider.AccessGoogle | IdentityProvider.AccessGoogleApps | IdentityProvider.AccessLinkedin | IdentityProvider.AccessOIDC | IdentityProvider.AccessOkta | IdentityProvider.AccessOnelogin | IdentityProvider.AccessPingone | IdentityProvider.AccessSAML | IdentityProvider.AccessYandex | IdentityProvider.AccessOnetimepin | IdentityProvider.AccessCloudflare;
255
331
  export declare namespace IdentityProvider {
256
332
  interface AccessCentrify {
257
333
  /**
@@ -274,6 +350,19 @@ export declare namespace IdentityProvider {
274
350
  * UUID.
275
351
  */
276
352
  id?: string;
353
+ /**
354
+ * The SAML encryption certificate set details, including current and previous
355
+ * certificates. Only present for SAML identity providers with a certificate set
356
+ * assigned.
357
+ */
358
+ saml_certificate_set?: AccessCentrify.SAMLCertificateSet;
359
+ /**
360
+ * The UID of the SAML encryption certificate set assigned to this Identity
361
+ * Provider. Only present for SAML identity providers with encryption configured.
362
+ * Create a certificate set via POST to
363
+ * `/identity_providers/{id}/saml_certificate`.
364
+ */
365
+ saml_certificate_set_id?: string;
277
366
  /**
278
367
  * The configuration settings for enabling a System for Cross-Domain Identity
279
368
  * Management (SCIM) with the identity provider.
@@ -312,6 +401,59 @@ export declare namespace IdentityProvider {
312
401
  */
313
402
  email_claim_name?: string;
314
403
  }
404
+ /**
405
+ * The SAML encryption certificate set details, including current and previous
406
+ * certificates. Only present for SAML identity providers with a certificate set
407
+ * assigned.
408
+ */
409
+ interface SAMLCertificateSet {
410
+ /**
411
+ * Timestamp when the certificate set was created
412
+ */
413
+ created_at: string;
414
+ /**
415
+ * Unique identifier for the certificate set
416
+ */
417
+ uid: string;
418
+ /**
419
+ * Timestamp when the certificate set was last updated (e.g., during rotation)
420
+ */
421
+ updated_at: string;
422
+ /**
423
+ * The currently active certificate used for encrypting SAML assertions
424
+ */
425
+ current_certificate?: SAMLCertificateSet.CurrentCertificate;
426
+ /**
427
+ * The previous certificate, maintained during rotation to ensure continuity. Null
428
+ * if no rotation has occurred. Mirrors the structure of `saml_certificate`.
429
+ */
430
+ previous_certificate?: unknown | null;
431
+ }
432
+ namespace SAMLCertificateSet {
433
+ /**
434
+ * The currently active certificate used for encrypting SAML assertions
435
+ */
436
+ interface CurrentCertificate {
437
+ /**
438
+ * Indicates whether this is the currently active certificate
439
+ */
440
+ is_current: boolean;
441
+ /**
442
+ * Certificate expiration date. Certificates are automatically rotated 30 days
443
+ * before expiration.
444
+ */
445
+ not_after: string;
446
+ /**
447
+ * PEM-encoded X.509 certificate containing the public key. Configure this
448
+ * certificate in your external SAML Identity Provider to enable encryption.
449
+ */
450
+ public_certificate: string;
451
+ /**
452
+ * Unique identifier for the certificate
453
+ */
454
+ uid: string;
455
+ }
456
+ }
315
457
  }
316
458
  interface AccessFacebook {
317
459
  /**
@@ -334,12 +476,80 @@ export declare namespace IdentityProvider {
334
476
  * UUID.
335
477
  */
336
478
  id?: string;
479
+ /**
480
+ * The SAML encryption certificate set details, including current and previous
481
+ * certificates. Only present for SAML identity providers with a certificate set
482
+ * assigned.
483
+ */
484
+ saml_certificate_set?: AccessFacebook.SAMLCertificateSet;
485
+ /**
486
+ * The UID of the SAML encryption certificate set assigned to this Identity
487
+ * Provider. Only present for SAML identity providers with encryption configured.
488
+ * Create a certificate set via POST to
489
+ * `/identity_providers/{id}/saml_certificate`.
490
+ */
491
+ saml_certificate_set_id?: string;
337
492
  /**
338
493
  * The configuration settings for enabling a System for Cross-Domain Identity
339
494
  * Management (SCIM) with the identity provider.
340
495
  */
341
496
  scim_config?: IdentityProvidersAPI.IdentityProviderSCIMConfig;
342
497
  }
498
+ namespace AccessFacebook {
499
+ /**
500
+ * The SAML encryption certificate set details, including current and previous
501
+ * certificates. Only present for SAML identity providers with a certificate set
502
+ * assigned.
503
+ */
504
+ interface SAMLCertificateSet {
505
+ /**
506
+ * Timestamp when the certificate set was created
507
+ */
508
+ created_at: string;
509
+ /**
510
+ * Unique identifier for the certificate set
511
+ */
512
+ uid: string;
513
+ /**
514
+ * Timestamp when the certificate set was last updated (e.g., during rotation)
515
+ */
516
+ updated_at: string;
517
+ /**
518
+ * The currently active certificate used for encrypting SAML assertions
519
+ */
520
+ current_certificate?: SAMLCertificateSet.CurrentCertificate;
521
+ /**
522
+ * The previous certificate, maintained during rotation to ensure continuity. Null
523
+ * if no rotation has occurred. Mirrors the structure of `saml_certificate`.
524
+ */
525
+ previous_certificate?: unknown | null;
526
+ }
527
+ namespace SAMLCertificateSet {
528
+ /**
529
+ * The currently active certificate used for encrypting SAML assertions
530
+ */
531
+ interface CurrentCertificate {
532
+ /**
533
+ * Indicates whether this is the currently active certificate
534
+ */
535
+ is_current: boolean;
536
+ /**
537
+ * Certificate expiration date. Certificates are automatically rotated 30 days
538
+ * before expiration.
539
+ */
540
+ not_after: string;
541
+ /**
542
+ * PEM-encoded X.509 certificate containing the public key. Configure this
543
+ * certificate in your external SAML Identity Provider to enable encryption.
544
+ */
545
+ public_certificate: string;
546
+ /**
547
+ * Unique identifier for the certificate
548
+ */
549
+ uid: string;
550
+ }
551
+ }
552
+ }
343
553
  interface AccessGitHub {
344
554
  /**
345
555
  * The configuration parameters for the identity provider. To view the required
@@ -361,12 +571,80 @@ export declare namespace IdentityProvider {
361
571
  * UUID.
362
572
  */
363
573
  id?: string;
574
+ /**
575
+ * The SAML encryption certificate set details, including current and previous
576
+ * certificates. Only present for SAML identity providers with a certificate set
577
+ * assigned.
578
+ */
579
+ saml_certificate_set?: AccessGitHub.SAMLCertificateSet;
580
+ /**
581
+ * The UID of the SAML encryption certificate set assigned to this Identity
582
+ * Provider. Only present for SAML identity providers with encryption configured.
583
+ * Create a certificate set via POST to
584
+ * `/identity_providers/{id}/saml_certificate`.
585
+ */
586
+ saml_certificate_set_id?: string;
364
587
  /**
365
588
  * The configuration settings for enabling a System for Cross-Domain Identity
366
589
  * Management (SCIM) with the identity provider.
367
590
  */
368
591
  scim_config?: IdentityProvidersAPI.IdentityProviderSCIMConfig;
369
592
  }
593
+ namespace AccessGitHub {
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
+ interface SAMLCertificateSet {
600
+ /**
601
+ * Timestamp when the certificate set was created
602
+ */
603
+ created_at: string;
604
+ /**
605
+ * Unique identifier for the certificate set
606
+ */
607
+ uid: string;
608
+ /**
609
+ * Timestamp when the certificate set was last updated (e.g., during rotation)
610
+ */
611
+ updated_at: string;
612
+ /**
613
+ * The currently active certificate used for encrypting SAML assertions
614
+ */
615
+ current_certificate?: SAMLCertificateSet.CurrentCertificate;
616
+ /**
617
+ * The previous certificate, maintained during rotation to ensure continuity. Null
618
+ * if no rotation has occurred. Mirrors the structure of `saml_certificate`.
619
+ */
620
+ previous_certificate?: unknown | null;
621
+ }
622
+ namespace SAMLCertificateSet {
623
+ /**
624
+ * The currently active certificate used for encrypting SAML assertions
625
+ */
626
+ interface CurrentCertificate {
627
+ /**
628
+ * Indicates whether this is the currently active certificate
629
+ */
630
+ is_current: boolean;
631
+ /**
632
+ * Certificate expiration date. Certificates are automatically rotated 30 days
633
+ * before expiration.
634
+ */
635
+ not_after: string;
636
+ /**
637
+ * PEM-encoded X.509 certificate containing the public key. Configure this
638
+ * certificate in your external SAML Identity Provider to enable encryption.
639
+ */
640
+ public_certificate: string;
641
+ /**
642
+ * Unique identifier for the certificate
643
+ */
644
+ uid: string;
645
+ }
646
+ }
647
+ }
370
648
  interface AccessGoogle {
371
649
  /**
372
650
  * The configuration parameters for the identity provider. To view the required
@@ -388,6 +666,19 @@ export declare namespace IdentityProvider {
388
666
  * UUID.
389
667
  */
390
668
  id?: string;
669
+ /**
670
+ * The SAML encryption certificate set details, including current and previous
671
+ * certificates. Only present for SAML identity providers with a certificate set
672
+ * assigned.
673
+ */
674
+ saml_certificate_set?: AccessGoogle.SAMLCertificateSet;
675
+ /**
676
+ * The UID of the SAML encryption certificate set assigned to this Identity
677
+ * Provider. Only present for SAML identity providers with encryption configured.
678
+ * Create a certificate set via POST to
679
+ * `/identity_providers/{id}/saml_certificate`.
680
+ */
681
+ saml_certificate_set_id?: string;
391
682
  /**
392
683
  * The configuration settings for enabling a System for Cross-Domain Identity
393
684
  * Management (SCIM) with the identity provider.
@@ -418,6 +709,59 @@ export declare namespace IdentityProvider {
418
709
  */
419
710
  email_claim_name?: string;
420
711
  }
712
+ /**
713
+ * The SAML encryption certificate set details, including current and previous
714
+ * certificates. Only present for SAML identity providers with a certificate set
715
+ * assigned.
716
+ */
717
+ interface SAMLCertificateSet {
718
+ /**
719
+ * Timestamp when the certificate set was created
720
+ */
721
+ created_at: string;
722
+ /**
723
+ * Unique identifier for the certificate set
724
+ */
725
+ uid: string;
726
+ /**
727
+ * Timestamp when the certificate set was last updated (e.g., during rotation)
728
+ */
729
+ updated_at: string;
730
+ /**
731
+ * The currently active certificate used for encrypting SAML assertions
732
+ */
733
+ current_certificate?: SAMLCertificateSet.CurrentCertificate;
734
+ /**
735
+ * The previous certificate, maintained during rotation to ensure continuity. Null
736
+ * if no rotation has occurred. Mirrors the structure of `saml_certificate`.
737
+ */
738
+ previous_certificate?: unknown | null;
739
+ }
740
+ namespace SAMLCertificateSet {
741
+ /**
742
+ * The currently active certificate used for encrypting SAML assertions
743
+ */
744
+ interface CurrentCertificate {
745
+ /**
746
+ * Indicates whether this is the currently active certificate
747
+ */
748
+ is_current: boolean;
749
+ /**
750
+ * Certificate expiration date. Certificates are automatically rotated 30 days
751
+ * before expiration.
752
+ */
753
+ not_after: string;
754
+ /**
755
+ * PEM-encoded X.509 certificate containing the public key. Configure this
756
+ * certificate in your external SAML Identity Provider to enable encryption.
757
+ */
758
+ public_certificate: string;
759
+ /**
760
+ * Unique identifier for the certificate
761
+ */
762
+ uid: string;
763
+ }
764
+ }
421
765
  }
422
766
  interface AccessGoogleApps {
423
767
  /**
@@ -440,6 +784,19 @@ export declare namespace IdentityProvider {
440
784
  * UUID.
441
785
  */
442
786
  id?: string;
787
+ /**
788
+ * The SAML encryption certificate set details, including current and previous
789
+ * certificates. Only present for SAML identity providers with a certificate set
790
+ * assigned.
791
+ */
792
+ saml_certificate_set?: AccessGoogleApps.SAMLCertificateSet;
793
+ /**
794
+ * The UID of the SAML encryption certificate set assigned to this Identity
795
+ * Provider. Only present for SAML identity providers with encryption configured.
796
+ * Create a certificate set via POST to
797
+ * `/identity_providers/{id}/saml_certificate`.
798
+ */
799
+ saml_certificate_set_id?: string;
443
800
  /**
444
801
  * The configuration settings for enabling a System for Cross-Domain Identity
445
802
  * Management (SCIM) with the identity provider.
@@ -474,6 +831,59 @@ export declare namespace IdentityProvider {
474
831
  */
475
832
  email_claim_name?: string;
476
833
  }
834
+ /**
835
+ * The SAML encryption certificate set details, including current and previous
836
+ * certificates. Only present for SAML identity providers with a certificate set
837
+ * assigned.
838
+ */
839
+ interface SAMLCertificateSet {
840
+ /**
841
+ * Timestamp when the certificate set was created
842
+ */
843
+ created_at: string;
844
+ /**
845
+ * Unique identifier for the certificate set
846
+ */
847
+ uid: string;
848
+ /**
849
+ * Timestamp when the certificate set was last updated (e.g., during rotation)
850
+ */
851
+ updated_at: string;
852
+ /**
853
+ * The currently active certificate used for encrypting SAML assertions
854
+ */
855
+ current_certificate?: SAMLCertificateSet.CurrentCertificate;
856
+ /**
857
+ * The previous certificate, maintained during rotation to ensure continuity. Null
858
+ * if no rotation has occurred. Mirrors the structure of `saml_certificate`.
859
+ */
860
+ previous_certificate?: unknown | null;
861
+ }
862
+ namespace SAMLCertificateSet {
863
+ /**
864
+ * The currently active certificate used for encrypting SAML assertions
865
+ */
866
+ interface CurrentCertificate {
867
+ /**
868
+ * Indicates whether this is the currently active certificate
869
+ */
870
+ is_current: boolean;
871
+ /**
872
+ * Certificate expiration date. Certificates are automatically rotated 30 days
873
+ * before expiration.
874
+ */
875
+ not_after: string;
876
+ /**
877
+ * PEM-encoded X.509 certificate containing the public key. Configure this
878
+ * certificate in your external SAML Identity Provider to enable encryption.
879
+ */
880
+ public_certificate: string;
881
+ /**
882
+ * Unique identifier for the certificate
883
+ */
884
+ uid: string;
885
+ }
886
+ }
477
887
  }
478
888
  interface AccessLinkedin {
479
889
  /**
@@ -496,12 +906,80 @@ export declare namespace IdentityProvider {
496
906
  * UUID.
497
907
  */
498
908
  id?: string;
909
+ /**
910
+ * The SAML encryption certificate set details, including current and previous
911
+ * certificates. Only present for SAML identity providers with a certificate set
912
+ * assigned.
913
+ */
914
+ saml_certificate_set?: AccessLinkedin.SAMLCertificateSet;
915
+ /**
916
+ * The UID of the SAML encryption certificate set assigned to this Identity
917
+ * Provider. Only present for SAML identity providers with encryption configured.
918
+ * Create a certificate set via POST to
919
+ * `/identity_providers/{id}/saml_certificate`.
920
+ */
921
+ saml_certificate_set_id?: string;
499
922
  /**
500
923
  * The configuration settings for enabling a System for Cross-Domain Identity
501
924
  * Management (SCIM) with the identity provider.
502
925
  */
503
926
  scim_config?: IdentityProvidersAPI.IdentityProviderSCIMConfig;
504
927
  }
928
+ namespace AccessLinkedin {
929
+ /**
930
+ * The SAML encryption certificate set details, including current and previous
931
+ * certificates. Only present for SAML identity providers with a certificate set
932
+ * assigned.
933
+ */
934
+ interface SAMLCertificateSet {
935
+ /**
936
+ * Timestamp when the certificate set was created
937
+ */
938
+ created_at: string;
939
+ /**
940
+ * Unique identifier for the certificate set
941
+ */
942
+ uid: string;
943
+ /**
944
+ * Timestamp when the certificate set was last updated (e.g., during rotation)
945
+ */
946
+ updated_at: string;
947
+ /**
948
+ * The currently active certificate used for encrypting SAML assertions
949
+ */
950
+ current_certificate?: SAMLCertificateSet.CurrentCertificate;
951
+ /**
952
+ * The previous certificate, maintained during rotation to ensure continuity. Null
953
+ * if no rotation has occurred. Mirrors the structure of `saml_certificate`.
954
+ */
955
+ previous_certificate?: unknown | null;
956
+ }
957
+ namespace SAMLCertificateSet {
958
+ /**
959
+ * The currently active certificate used for encrypting SAML assertions
960
+ */
961
+ interface CurrentCertificate {
962
+ /**
963
+ * Indicates whether this is the currently active certificate
964
+ */
965
+ is_current: boolean;
966
+ /**
967
+ * Certificate expiration date. Certificates are automatically rotated 30 days
968
+ * before expiration.
969
+ */
970
+ not_after: string;
971
+ /**
972
+ * PEM-encoded X.509 certificate containing the public key. Configure this
973
+ * certificate in your external SAML Identity Provider to enable encryption.
974
+ */
975
+ public_certificate: string;
976
+ /**
977
+ * Unique identifier for the certificate
978
+ */
979
+ uid: string;
980
+ }
981
+ }
982
+ }
505
983
  interface AccessOIDC {
506
984
  /**
507
985
  * The configuration parameters for the identity provider. To view the required
@@ -523,6 +1001,19 @@ export declare namespace IdentityProvider {
523
1001
  * UUID.
524
1002
  */
525
1003
  id?: string;
1004
+ /**
1005
+ * The SAML encryption certificate set details, including current and previous
1006
+ * certificates. Only present for SAML identity providers with a certificate set
1007
+ * assigned.
1008
+ */
1009
+ saml_certificate_set?: AccessOIDC.SAMLCertificateSet;
1010
+ /**
1011
+ * The UID of the SAML encryption certificate set assigned to this Identity
1012
+ * Provider. Only present for SAML identity providers with encryption configured.
1013
+ * Create a certificate set via POST to
1014
+ * `/identity_providers/{id}/saml_certificate`.
1015
+ */
1016
+ saml_certificate_set_id?: string;
526
1017
  /**
527
1018
  * The configuration settings for enabling a System for Cross-Domain Identity
528
1019
  * Management (SCIM) with the identity provider.
@@ -573,6 +1064,59 @@ export declare namespace IdentityProvider {
573
1064
  */
574
1065
  token_url?: string;
575
1066
  }
1067
+ /**
1068
+ * The SAML encryption certificate set details, including current and previous
1069
+ * certificates. Only present for SAML identity providers with a certificate set
1070
+ * assigned.
1071
+ */
1072
+ interface SAMLCertificateSet {
1073
+ /**
1074
+ * Timestamp when the certificate set was created
1075
+ */
1076
+ created_at: string;
1077
+ /**
1078
+ * Unique identifier for the certificate set
1079
+ */
1080
+ uid: string;
1081
+ /**
1082
+ * Timestamp when the certificate set was last updated (e.g., during rotation)
1083
+ */
1084
+ updated_at: string;
1085
+ /**
1086
+ * The currently active certificate used for encrypting SAML assertions
1087
+ */
1088
+ current_certificate?: SAMLCertificateSet.CurrentCertificate;
1089
+ /**
1090
+ * The previous certificate, maintained during rotation to ensure continuity. Null
1091
+ * if no rotation has occurred. Mirrors the structure of `saml_certificate`.
1092
+ */
1093
+ previous_certificate?: unknown | null;
1094
+ }
1095
+ namespace SAMLCertificateSet {
1096
+ /**
1097
+ * The currently active certificate used for encrypting SAML assertions
1098
+ */
1099
+ interface CurrentCertificate {
1100
+ /**
1101
+ * Indicates whether this is the currently active certificate
1102
+ */
1103
+ is_current: boolean;
1104
+ /**
1105
+ * Certificate expiration date. Certificates are automatically rotated 30 days
1106
+ * before expiration.
1107
+ */
1108
+ not_after: string;
1109
+ /**
1110
+ * PEM-encoded X.509 certificate containing the public key. Configure this
1111
+ * certificate in your external SAML Identity Provider to enable encryption.
1112
+ */
1113
+ public_certificate: string;
1114
+ /**
1115
+ * Unique identifier for the certificate
1116
+ */
1117
+ uid: string;
1118
+ }
1119
+ }
576
1120
  }
577
1121
  interface AccessOkta {
578
1122
  /**
@@ -595,6 +1139,19 @@ export declare namespace IdentityProvider {
595
1139
  * UUID.
596
1140
  */
597
1141
  id?: string;
1142
+ /**
1143
+ * The SAML encryption certificate set details, including current and previous
1144
+ * certificates. Only present for SAML identity providers with a certificate set
1145
+ * assigned.
1146
+ */
1147
+ saml_certificate_set?: AccessOkta.SAMLCertificateSet;
1148
+ /**
1149
+ * The UID of the SAML encryption certificate set assigned to this Identity
1150
+ * Provider. Only present for SAML identity providers with encryption configured.
1151
+ * Create a certificate set via POST to
1152
+ * `/identity_providers/{id}/saml_certificate`.
1153
+ */
1154
+ saml_certificate_set_id?: string;
598
1155
  /**
599
1156
  * The configuration settings for enabling a System for Cross-Domain Identity
600
1157
  * Management (SCIM) with the identity provider.
@@ -633,28 +1190,94 @@ export declare namespace IdentityProvider {
633
1190
  */
634
1191
  okta_account?: string;
635
1192
  }
636
- }
637
- interface AccessOnelogin {
638
- /**
639
- * The configuration parameters for the identity provider. To view the required
640
- * parameters for a specific provider, refer to our
641
- * [developer documentation](https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/).
642
- */
643
- config: AccessOnelogin.Config;
644
- /**
645
- * The name of the identity provider, shown to users on the login page.
646
- */
647
- name: string;
648
1193
  /**
649
- * The type of identity provider. To determine the value for a specific provider,
650
- * refer to our
651
- * [developer documentation](https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/).
1194
+ * The SAML encryption certificate set details, including current and previous
1195
+ * certificates. Only present for SAML identity providers with a certificate set
1196
+ * assigned.
1197
+ */
1198
+ interface SAMLCertificateSet {
1199
+ /**
1200
+ * Timestamp when the certificate set was created
1201
+ */
1202
+ created_at: string;
1203
+ /**
1204
+ * Unique identifier for the certificate set
1205
+ */
1206
+ uid: string;
1207
+ /**
1208
+ * Timestamp when the certificate set was last updated (e.g., during rotation)
1209
+ */
1210
+ updated_at: string;
1211
+ /**
1212
+ * The currently active certificate used for encrypting SAML assertions
1213
+ */
1214
+ current_certificate?: SAMLCertificateSet.CurrentCertificate;
1215
+ /**
1216
+ * The previous certificate, maintained during rotation to ensure continuity. Null
1217
+ * if no rotation has occurred. Mirrors the structure of `saml_certificate`.
1218
+ */
1219
+ previous_certificate?: unknown | null;
1220
+ }
1221
+ namespace SAMLCertificateSet {
1222
+ /**
1223
+ * The currently active certificate used for encrypting SAML assertions
1224
+ */
1225
+ interface CurrentCertificate {
1226
+ /**
1227
+ * Indicates whether this is the currently active certificate
1228
+ */
1229
+ is_current: boolean;
1230
+ /**
1231
+ * Certificate expiration date. Certificates are automatically rotated 30 days
1232
+ * before expiration.
1233
+ */
1234
+ not_after: string;
1235
+ /**
1236
+ * PEM-encoded X.509 certificate containing the public key. Configure this
1237
+ * certificate in your external SAML Identity Provider to enable encryption.
1238
+ */
1239
+ public_certificate: string;
1240
+ /**
1241
+ * Unique identifier for the certificate
1242
+ */
1243
+ uid: string;
1244
+ }
1245
+ }
1246
+ }
1247
+ interface AccessOnelogin {
1248
+ /**
1249
+ * The configuration parameters for the identity provider. To view the required
1250
+ * parameters for a specific provider, refer to our
1251
+ * [developer documentation](https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/).
1252
+ */
1253
+ config: AccessOnelogin.Config;
1254
+ /**
1255
+ * The name of the identity provider, shown to users on the login page.
1256
+ */
1257
+ name: string;
1258
+ /**
1259
+ * The type of identity provider. To determine the value for a specific provider,
1260
+ * refer to our
1261
+ * [developer documentation](https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/).
652
1262
  */
653
1263
  type: IdentityProvidersAPI.IdentityProviderType;
654
1264
  /**
655
1265
  * UUID.
656
1266
  */
657
1267
  id?: string;
1268
+ /**
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.
1272
+ */
1273
+ saml_certificate_set?: AccessOnelogin.SAMLCertificateSet;
1274
+ /**
1275
+ * The UID of the SAML encryption certificate set assigned to this Identity
1276
+ * Provider. Only present for SAML identity providers with encryption configured.
1277
+ * Create a certificate set via POST to
1278
+ * `/identity_providers/{id}/saml_certificate`.
1279
+ */
1280
+ saml_certificate_set_id?: string;
658
1281
  /**
659
1282
  * The configuration settings for enabling a System for Cross-Domain Identity
660
1283
  * Management (SCIM) with the identity provider.
@@ -689,6 +1312,59 @@ export declare namespace IdentityProvider {
689
1312
  */
690
1313
  onelogin_account?: string;
691
1314
  }
1315
+ /**
1316
+ * The SAML encryption certificate set details, including current and previous
1317
+ * certificates. Only present for SAML identity providers with a certificate set
1318
+ * assigned.
1319
+ */
1320
+ interface SAMLCertificateSet {
1321
+ /**
1322
+ * Timestamp when the certificate set was created
1323
+ */
1324
+ created_at: string;
1325
+ /**
1326
+ * Unique identifier for the certificate set
1327
+ */
1328
+ uid: string;
1329
+ /**
1330
+ * Timestamp when the certificate set was last updated (e.g., during rotation)
1331
+ */
1332
+ updated_at: string;
1333
+ /**
1334
+ * The currently active certificate used for encrypting SAML assertions
1335
+ */
1336
+ current_certificate?: SAMLCertificateSet.CurrentCertificate;
1337
+ /**
1338
+ * The previous certificate, maintained during rotation to ensure continuity. Null
1339
+ * if no rotation has occurred. Mirrors the structure of `saml_certificate`.
1340
+ */
1341
+ previous_certificate?: unknown | null;
1342
+ }
1343
+ namespace SAMLCertificateSet {
1344
+ /**
1345
+ * The currently active certificate used for encrypting SAML assertions
1346
+ */
1347
+ interface CurrentCertificate {
1348
+ /**
1349
+ * Indicates whether this is the currently active certificate
1350
+ */
1351
+ is_current: boolean;
1352
+ /**
1353
+ * Certificate expiration date. Certificates are automatically rotated 30 days
1354
+ * before expiration.
1355
+ */
1356
+ not_after: string;
1357
+ /**
1358
+ * PEM-encoded X.509 certificate containing the public key. Configure this
1359
+ * certificate in your external SAML Identity Provider to enable encryption.
1360
+ */
1361
+ public_certificate: string;
1362
+ /**
1363
+ * Unique identifier for the certificate
1364
+ */
1365
+ uid: string;
1366
+ }
1367
+ }
692
1368
  }
693
1369
  interface AccessPingone {
694
1370
  /**
@@ -711,6 +1387,19 @@ export declare namespace IdentityProvider {
711
1387
  * UUID.
712
1388
  */
713
1389
  id?: string;
1390
+ /**
1391
+ * The SAML encryption certificate set details, including current and previous
1392
+ * certificates. Only present for SAML identity providers with a certificate set
1393
+ * assigned.
1394
+ */
1395
+ saml_certificate_set?: AccessPingone.SAMLCertificateSet;
1396
+ /**
1397
+ * The UID of the SAML encryption certificate set assigned to this Identity
1398
+ * Provider. Only present for SAML identity providers with encryption configured.
1399
+ * Create a certificate set via POST to
1400
+ * `/identity_providers/{id}/saml_certificate`.
1401
+ */
1402
+ saml_certificate_set_id?: string;
714
1403
  /**
715
1404
  * The configuration settings for enabling a System for Cross-Domain Identity
716
1405
  * Management (SCIM) with the identity provider.
@@ -745,6 +1434,59 @@ export declare namespace IdentityProvider {
745
1434
  */
746
1435
  ping_env_id?: string;
747
1436
  }
1437
+ /**
1438
+ * The SAML encryption certificate set details, including current and previous
1439
+ * certificates. Only present for SAML identity providers with a certificate set
1440
+ * assigned.
1441
+ */
1442
+ interface SAMLCertificateSet {
1443
+ /**
1444
+ * Timestamp when the certificate set was created
1445
+ */
1446
+ created_at: string;
1447
+ /**
1448
+ * Unique identifier for the certificate set
1449
+ */
1450
+ uid: string;
1451
+ /**
1452
+ * Timestamp when the certificate set was last updated (e.g., during rotation)
1453
+ */
1454
+ updated_at: string;
1455
+ /**
1456
+ * The currently active certificate used for encrypting SAML assertions
1457
+ */
1458
+ current_certificate?: SAMLCertificateSet.CurrentCertificate;
1459
+ /**
1460
+ * The previous certificate, maintained during rotation to ensure continuity. Null
1461
+ * if no rotation has occurred. Mirrors the structure of `saml_certificate`.
1462
+ */
1463
+ previous_certificate?: unknown | null;
1464
+ }
1465
+ namespace SAMLCertificateSet {
1466
+ /**
1467
+ * The currently active certificate used for encrypting SAML assertions
1468
+ */
1469
+ interface CurrentCertificate {
1470
+ /**
1471
+ * Indicates whether this is the currently active certificate
1472
+ */
1473
+ is_current: boolean;
1474
+ /**
1475
+ * Certificate expiration date. Certificates are automatically rotated 30 days
1476
+ * before expiration.
1477
+ */
1478
+ not_after: string;
1479
+ /**
1480
+ * PEM-encoded X.509 certificate containing the public key. Configure this
1481
+ * certificate in your external SAML Identity Provider to enable encryption.
1482
+ */
1483
+ public_certificate: string;
1484
+ /**
1485
+ * Unique identifier for the certificate
1486
+ */
1487
+ uid: string;
1488
+ }
1489
+ }
748
1490
  }
749
1491
  interface AccessSAML {
750
1492
  /**
@@ -767,6 +1509,19 @@ export declare namespace IdentityProvider {
767
1509
  * UUID.
768
1510
  */
769
1511
  id?: string;
1512
+ /**
1513
+ * The SAML encryption certificate set details, including current and previous
1514
+ * certificates. Only present for SAML identity providers with a certificate set
1515
+ * assigned.
1516
+ */
1517
+ saml_certificate_set?: AccessSAML.SAMLCertificateSet;
1518
+ /**
1519
+ * The UID of the SAML encryption certificate set assigned to this Identity
1520
+ * Provider. Only present for SAML identity providers with encryption configured.
1521
+ * Create a certificate set via POST to
1522
+ * `/identity_providers/{id}/saml_certificate`.
1523
+ */
1524
+ saml_certificate_set_id?: string;
770
1525
  /**
771
1526
  * The configuration settings for enabling a System for Cross-Domain Identity
772
1527
  * Management (SCIM) with the identity provider.
@@ -789,6 +1544,21 @@ export declare namespace IdentityProvider {
789
1544
  * The attribute name for email in the SAML response.
790
1545
  */
791
1546
  email_attribute_name?: string;
1547
+ /**
1548
+ * Enable SAML assertion encryption. When enabled, the Identity Provider will
1549
+ * encrypt SAML assertions using the certificate from the assigned certificate set.
1550
+ *
1551
+ * To enable encryption:
1552
+ *
1553
+ * 1. Create a certificate set via POST to
1554
+ * `/identity_providers/{id}/saml_certificate`
1555
+ * 2. Set this field to `true` and include `saml_certificate_set_id` in the PUT
1556
+ * request
1557
+ * 3. Configure the public certificate in your external Identity Provider
1558
+ *
1559
+ * Note: Requires `saml_certificate_set_id` to be set when `true`.
1560
+ */
1561
+ enable_encryption?: boolean;
792
1562
  /**
793
1563
  * Add a list of attribute names that will be returned in the response header from
794
1564
  * the Access callback.
@@ -824,6 +1594,59 @@ export declare namespace IdentityProvider {
824
1594
  header_name?: string;
825
1595
  }
826
1596
  }
1597
+ /**
1598
+ * The SAML encryption certificate set details, including current and previous
1599
+ * certificates. Only present for SAML identity providers with a certificate set
1600
+ * assigned.
1601
+ */
1602
+ interface SAMLCertificateSet {
1603
+ /**
1604
+ * Timestamp when the certificate set was created
1605
+ */
1606
+ created_at: string;
1607
+ /**
1608
+ * Unique identifier for the certificate set
1609
+ */
1610
+ uid: string;
1611
+ /**
1612
+ * Timestamp when the certificate set was last updated (e.g., during rotation)
1613
+ */
1614
+ updated_at: string;
1615
+ /**
1616
+ * The currently active certificate used for encrypting SAML assertions
1617
+ */
1618
+ current_certificate?: SAMLCertificateSet.CurrentCertificate;
1619
+ /**
1620
+ * The previous certificate, maintained during rotation to ensure continuity. Null
1621
+ * if no rotation has occurred. Mirrors the structure of `saml_certificate`.
1622
+ */
1623
+ previous_certificate?: unknown | null;
1624
+ }
1625
+ namespace SAMLCertificateSet {
1626
+ /**
1627
+ * The currently active certificate used for encrypting SAML assertions
1628
+ */
1629
+ interface CurrentCertificate {
1630
+ /**
1631
+ * Indicates whether this is the currently active certificate
1632
+ */
1633
+ is_current: boolean;
1634
+ /**
1635
+ * Certificate expiration date. Certificates are automatically rotated 30 days
1636
+ * before expiration.
1637
+ */
1638
+ not_after: string;
1639
+ /**
1640
+ * PEM-encoded X.509 certificate containing the public key. Configure this
1641
+ * certificate in your external SAML Identity Provider to enable encryption.
1642
+ */
1643
+ public_certificate: string;
1644
+ /**
1645
+ * Unique identifier for the certificate
1646
+ */
1647
+ uid: string;
1648
+ }
1649
+ }
827
1650
  }
828
1651
  interface AccessYandex {
829
1652
  /**
@@ -846,12 +1669,80 @@ export declare namespace IdentityProvider {
846
1669
  * UUID.
847
1670
  */
848
1671
  id?: string;
1672
+ /**
1673
+ * The SAML encryption certificate set details, including current and previous
1674
+ * certificates. Only present for SAML identity providers with a certificate set
1675
+ * assigned.
1676
+ */
1677
+ saml_certificate_set?: AccessYandex.SAMLCertificateSet;
1678
+ /**
1679
+ * The UID of the SAML encryption certificate set assigned to this Identity
1680
+ * Provider. Only present for SAML identity providers with encryption configured.
1681
+ * Create a certificate set via POST to
1682
+ * `/identity_providers/{id}/saml_certificate`.
1683
+ */
1684
+ saml_certificate_set_id?: string;
849
1685
  /**
850
1686
  * The configuration settings for enabling a System for Cross-Domain Identity
851
1687
  * Management (SCIM) with the identity provider.
852
1688
  */
853
1689
  scim_config?: IdentityProvidersAPI.IdentityProviderSCIMConfig;
854
1690
  }
1691
+ namespace AccessYandex {
1692
+ /**
1693
+ * The SAML encryption certificate set details, including current and previous
1694
+ * certificates. Only present for SAML identity providers with a certificate set
1695
+ * assigned.
1696
+ */
1697
+ interface SAMLCertificateSet {
1698
+ /**
1699
+ * Timestamp when the certificate set was created
1700
+ */
1701
+ created_at: string;
1702
+ /**
1703
+ * Unique identifier for the certificate set
1704
+ */
1705
+ uid: string;
1706
+ /**
1707
+ * Timestamp when the certificate set was last updated (e.g., during rotation)
1708
+ */
1709
+ updated_at: string;
1710
+ /**
1711
+ * The currently active certificate used for encrypting SAML assertions
1712
+ */
1713
+ current_certificate?: SAMLCertificateSet.CurrentCertificate;
1714
+ /**
1715
+ * The previous certificate, maintained during rotation to ensure continuity. Null
1716
+ * if no rotation has occurred. Mirrors the structure of `saml_certificate`.
1717
+ */
1718
+ previous_certificate?: unknown | null;
1719
+ }
1720
+ namespace SAMLCertificateSet {
1721
+ /**
1722
+ * The currently active certificate used for encrypting SAML assertions
1723
+ */
1724
+ interface CurrentCertificate {
1725
+ /**
1726
+ * Indicates whether this is the currently active certificate
1727
+ */
1728
+ is_current: boolean;
1729
+ /**
1730
+ * Certificate expiration date. Certificates are automatically rotated 30 days
1731
+ * before expiration.
1732
+ */
1733
+ not_after: string;
1734
+ /**
1735
+ * PEM-encoded X.509 certificate containing the public key. Configure this
1736
+ * certificate in your external SAML Identity Provider to enable encryption.
1737
+ */
1738
+ public_certificate: string;
1739
+ /**
1740
+ * Unique identifier for the certificate
1741
+ */
1742
+ uid: string;
1743
+ }
1744
+ }
1745
+ }
855
1746
  interface AccessOnetimepin {
856
1747
  /**
857
1748
  * The configuration parameters for the identity provider. To view the required
@@ -873,6 +1764,19 @@ export declare namespace IdentityProvider {
873
1764
  * UUID.
874
1765
  */
875
1766
  id?: string;
1767
+ /**
1768
+ * The SAML encryption certificate set details, including current and previous
1769
+ * certificates. Only present for SAML identity providers with a certificate set
1770
+ * assigned.
1771
+ */
1772
+ saml_certificate_set?: AccessOnetimepin.SAMLCertificateSet;
1773
+ /**
1774
+ * The UID of the SAML encryption certificate set assigned to this Identity
1775
+ * Provider. Only present for SAML identity providers with encryption configured.
1776
+ * Create a certificate set via POST to
1777
+ * `/identity_providers/{id}/saml_certificate`.
1778
+ */
1779
+ saml_certificate_set_id?: string;
876
1780
  /**
877
1781
  * The configuration settings for enabling a System for Cross-Domain Identity
878
1782
  * Management (SCIM) with the identity provider.
@@ -888,9 +1792,171 @@ export declare namespace IdentityProvider {
888
1792
  interface Config {
889
1793
  redirect_url?: string;
890
1794
  }
1795
+ /**
1796
+ * The SAML encryption certificate set details, including current and previous
1797
+ * certificates. Only present for SAML identity providers with a certificate set
1798
+ * assigned.
1799
+ */
1800
+ interface SAMLCertificateSet {
1801
+ /**
1802
+ * Timestamp when the certificate set was created
1803
+ */
1804
+ created_at: string;
1805
+ /**
1806
+ * Unique identifier for the certificate set
1807
+ */
1808
+ uid: string;
1809
+ /**
1810
+ * Timestamp when the certificate set was last updated (e.g., during rotation)
1811
+ */
1812
+ updated_at: string;
1813
+ /**
1814
+ * The currently active certificate used for encrypting SAML assertions
1815
+ */
1816
+ current_certificate?: SAMLCertificateSet.CurrentCertificate;
1817
+ /**
1818
+ * The previous certificate, maintained during rotation to ensure continuity. Null
1819
+ * if no rotation has occurred. Mirrors the structure of `saml_certificate`.
1820
+ */
1821
+ previous_certificate?: unknown | null;
1822
+ }
1823
+ namespace SAMLCertificateSet {
1824
+ /**
1825
+ * The currently active certificate used for encrypting SAML assertions
1826
+ */
1827
+ interface CurrentCertificate {
1828
+ /**
1829
+ * Indicates whether this is the currently active certificate
1830
+ */
1831
+ is_current: boolean;
1832
+ /**
1833
+ * Certificate expiration date. Certificates are automatically rotated 30 days
1834
+ * before expiration.
1835
+ */
1836
+ not_after: string;
1837
+ /**
1838
+ * PEM-encoded X.509 certificate containing the public key. Configure this
1839
+ * certificate in your external SAML Identity Provider to enable encryption.
1840
+ */
1841
+ public_certificate: string;
1842
+ /**
1843
+ * Unique identifier for the certificate
1844
+ */
1845
+ uid: string;
1846
+ }
1847
+ }
1848
+ }
1849
+ interface AccessCloudflare {
1850
+ /**
1851
+ * The configuration parameters for the identity provider. To view the required
1852
+ * parameters for a specific provider, refer to our
1853
+ * [developer documentation](https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/).
1854
+ */
1855
+ config: AccessCloudflare.Config;
1856
+ /**
1857
+ * The name of the identity provider, shown to users on the login page.
1858
+ */
1859
+ name: string;
1860
+ /**
1861
+ * The type of identity provider. To determine the value for a specific provider,
1862
+ * refer to our
1863
+ * [developer documentation](https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/).
1864
+ */
1865
+ type: IdentityProvidersAPI.IdentityProviderType;
1866
+ /**
1867
+ * UUID.
1868
+ */
1869
+ id?: string;
1870
+ /**
1871
+ * The SAML encryption certificate set details, including current and previous
1872
+ * certificates. Only present for SAML identity providers with a certificate set
1873
+ * assigned.
1874
+ */
1875
+ saml_certificate_set?: AccessCloudflare.SAMLCertificateSet;
1876
+ /**
1877
+ * The UID of the SAML encryption certificate set assigned to this Identity
1878
+ * Provider. Only present for SAML identity providers with encryption configured.
1879
+ * Create a certificate set via POST to
1880
+ * `/identity_providers/{id}/saml_certificate`.
1881
+ */
1882
+ saml_certificate_set_id?: string;
1883
+ /**
1884
+ * The configuration settings for enabling a System for Cross-Domain Identity
1885
+ * Management (SCIM) with the identity provider.
1886
+ */
1887
+ scim_config?: IdentityProvidersAPI.IdentityProviderSCIMConfig;
1888
+ }
1889
+ namespace AccessCloudflare {
1890
+ /**
1891
+ * The configuration parameters for the identity provider. To view the required
1892
+ * parameters for a specific provider, refer to our
1893
+ * [developer documentation](https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/).
1894
+ */
1895
+ interface Config {
1896
+ redirect_url?: string;
1897
+ /**
1898
+ * When enabled, only users who are members of your Cloudflare account can
1899
+ * authenticate through this identity provider. When disabled, any user with a
1900
+ * Cloudflare account can authenticate, subject to your Access policies.
1901
+ */
1902
+ restrict_to_account_members?: boolean;
1903
+ }
1904
+ /**
1905
+ * The SAML encryption certificate set details, including current and previous
1906
+ * certificates. Only present for SAML identity providers with a certificate set
1907
+ * assigned.
1908
+ */
1909
+ interface SAMLCertificateSet {
1910
+ /**
1911
+ * Timestamp when the certificate set was created
1912
+ */
1913
+ created_at: string;
1914
+ /**
1915
+ * Unique identifier for the certificate set
1916
+ */
1917
+ uid: string;
1918
+ /**
1919
+ * Timestamp when the certificate set was last updated (e.g., during rotation)
1920
+ */
1921
+ updated_at: string;
1922
+ /**
1923
+ * The currently active certificate used for encrypting SAML assertions
1924
+ */
1925
+ current_certificate?: SAMLCertificateSet.CurrentCertificate;
1926
+ /**
1927
+ * The previous certificate, maintained during rotation to ensure continuity. Null
1928
+ * if no rotation has occurred. Mirrors the structure of `saml_certificate`.
1929
+ */
1930
+ previous_certificate?: unknown | null;
1931
+ }
1932
+ namespace SAMLCertificateSet {
1933
+ /**
1934
+ * The currently active certificate used for encrypting SAML assertions
1935
+ */
1936
+ interface CurrentCertificate {
1937
+ /**
1938
+ * Indicates whether this is the currently active certificate
1939
+ */
1940
+ is_current: boolean;
1941
+ /**
1942
+ * Certificate expiration date. Certificates are automatically rotated 30 days
1943
+ * before expiration.
1944
+ */
1945
+ not_after: string;
1946
+ /**
1947
+ * PEM-encoded X.509 certificate containing the public key. Configure this
1948
+ * certificate in your external SAML Identity Provider to enable encryption.
1949
+ */
1950
+ public_certificate: string;
1951
+ /**
1952
+ * Unique identifier for the certificate
1953
+ */
1954
+ uid: string;
1955
+ }
1956
+ }
891
1957
  }
892
1958
  }
893
- export type IdentityProviderParam = AzureADParam | IdentityProviderParam.AccessCentrify | IdentityProviderParam.AccessFacebook | IdentityProviderParam.AccessGitHub | IdentityProviderParam.AccessGoogle | IdentityProviderParam.AccessGoogleApps | IdentityProviderParam.AccessLinkedin | IdentityProviderParam.AccessOIDC | IdentityProviderParam.AccessOkta | IdentityProviderParam.AccessOnelogin | IdentityProviderParam.AccessPingone | IdentityProviderParam.AccessSAML | IdentityProviderParam.AccessYandex | IdentityProviderParam.AccessOnetimepin;
1959
+ export type IdentityProviderParam = AzureADParam | IdentityProviderParam.AccessCentrify | IdentityProviderParam.AccessFacebook | IdentityProviderParam.AccessGitHub | IdentityProviderParam.AccessGoogle | IdentityProviderParam.AccessGoogleApps | IdentityProviderParam.AccessLinkedin | IdentityProviderParam.AccessOIDC | IdentityProviderParam.AccessOkta | IdentityProviderParam.AccessOnelogin | IdentityProviderParam.AccessPingone | IdentityProviderParam.AccessSAML | IdentityProviderParam.AccessYandex | IdentityProviderParam.AccessOnetimepin | IdentityProviderParam.AccessCloudflare;
894
1960
  export declare namespace IdentityProviderParam {
895
1961
  interface AccessCentrify {
896
1962
  /**
@@ -909,6 +1975,13 @@ export declare namespace IdentityProviderParam {
909
1975
  * [developer documentation](https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/).
910
1976
  */
911
1977
  type: IdentityProvidersAPI.IdentityProviderTypeParam;
1978
+ /**
1979
+ * The UID of the SAML encryption certificate set assigned to this Identity
1980
+ * Provider. Only present for SAML identity providers with encryption configured.
1981
+ * Create a certificate set via POST to
1982
+ * `/identity_providers/{id}/saml_certificate`.
1983
+ */
1984
+ saml_certificate_set_id?: string;
912
1985
  /**
913
1986
  * The configuration settings for enabling a System for Cross-Domain Identity
914
1987
  * Management (SCIM) with the identity provider.
@@ -965,6 +2038,13 @@ export declare namespace IdentityProviderParam {
965
2038
  * [developer documentation](https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/).
966
2039
  */
967
2040
  type: IdentityProvidersAPI.IdentityProviderTypeParam;
2041
+ /**
2042
+ * The UID of the SAML encryption certificate set assigned to this Identity
2043
+ * Provider. Only present for SAML identity providers with encryption configured.
2044
+ * Create a certificate set via POST to
2045
+ * `/identity_providers/{id}/saml_certificate`.
2046
+ */
2047
+ saml_certificate_set_id?: string;
968
2048
  /**
969
2049
  * The configuration settings for enabling a System for Cross-Domain Identity
970
2050
  * Management (SCIM) with the identity provider.
@@ -988,6 +2068,13 @@ export declare namespace IdentityProviderParam {
988
2068
  * [developer documentation](https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/).
989
2069
  */
990
2070
  type: IdentityProvidersAPI.IdentityProviderTypeParam;
2071
+ /**
2072
+ * The UID of the SAML encryption certificate set assigned to this Identity
2073
+ * Provider. Only present for SAML identity providers with encryption configured.
2074
+ * Create a certificate set via POST to
2075
+ * `/identity_providers/{id}/saml_certificate`.
2076
+ */
2077
+ saml_certificate_set_id?: string;
991
2078
  /**
992
2079
  * The configuration settings for enabling a System for Cross-Domain Identity
993
2080
  * Management (SCIM) with the identity provider.
@@ -1011,6 +2098,13 @@ export declare namespace IdentityProviderParam {
1011
2098
  * [developer documentation](https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/).
1012
2099
  */
1013
2100
  type: IdentityProvidersAPI.IdentityProviderTypeParam;
2101
+ /**
2102
+ * The UID of the SAML encryption certificate set assigned to this Identity
2103
+ * Provider. Only present for SAML identity providers with encryption configured.
2104
+ * Create a certificate set via POST to
2105
+ * `/identity_providers/{id}/saml_certificate`.
2106
+ */
2107
+ saml_certificate_set_id?: string;
1014
2108
  /**
1015
2109
  * The configuration settings for enabling a System for Cross-Domain Identity
1016
2110
  * Management (SCIM) with the identity provider.
@@ -1059,6 +2153,13 @@ export declare namespace IdentityProviderParam {
1059
2153
  * [developer documentation](https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/).
1060
2154
  */
1061
2155
  type: IdentityProvidersAPI.IdentityProviderTypeParam;
2156
+ /**
2157
+ * The UID of the SAML encryption certificate set assigned to this Identity
2158
+ * Provider. Only present for SAML identity providers with encryption configured.
2159
+ * Create a certificate set via POST to
2160
+ * `/identity_providers/{id}/saml_certificate`.
2161
+ */
2162
+ saml_certificate_set_id?: string;
1062
2163
  /**
1063
2164
  * The configuration settings for enabling a System for Cross-Domain Identity
1064
2165
  * Management (SCIM) with the identity provider.
@@ -1111,6 +2212,13 @@ export declare namespace IdentityProviderParam {
1111
2212
  * [developer documentation](https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/).
1112
2213
  */
1113
2214
  type: IdentityProvidersAPI.IdentityProviderTypeParam;
2215
+ /**
2216
+ * The UID of the SAML encryption certificate set assigned to this Identity
2217
+ * Provider. Only present for SAML identity providers with encryption configured.
2218
+ * Create a certificate set via POST to
2219
+ * `/identity_providers/{id}/saml_certificate`.
2220
+ */
2221
+ saml_certificate_set_id?: string;
1114
2222
  /**
1115
2223
  * The configuration settings for enabling a System for Cross-Domain Identity
1116
2224
  * Management (SCIM) with the identity provider.
@@ -1134,6 +2242,13 @@ export declare namespace IdentityProviderParam {
1134
2242
  * [developer documentation](https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/).
1135
2243
  */
1136
2244
  type: IdentityProvidersAPI.IdentityProviderTypeParam;
2245
+ /**
2246
+ * The UID of the SAML encryption certificate set assigned to this Identity
2247
+ * Provider. Only present for SAML identity providers with encryption configured.
2248
+ * Create a certificate set via POST to
2249
+ * `/identity_providers/{id}/saml_certificate`.
2250
+ */
2251
+ saml_certificate_set_id?: string;
1137
2252
  /**
1138
2253
  * The configuration settings for enabling a System for Cross-Domain Identity
1139
2254
  * Management (SCIM) with the identity provider.
@@ -1202,6 +2317,13 @@ export declare namespace IdentityProviderParam {
1202
2317
  * [developer documentation](https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/).
1203
2318
  */
1204
2319
  type: IdentityProvidersAPI.IdentityProviderTypeParam;
2320
+ /**
2321
+ * The UID of the SAML encryption certificate set assigned to this Identity
2322
+ * Provider. Only present for SAML identity providers with encryption configured.
2323
+ * Create a certificate set via POST to
2324
+ * `/identity_providers/{id}/saml_certificate`.
2325
+ */
2326
+ saml_certificate_set_id?: string;
1205
2327
  /**
1206
2328
  * The configuration settings for enabling a System for Cross-Domain Identity
1207
2329
  * Management (SCIM) with the identity provider.
@@ -1258,6 +2380,13 @@ export declare namespace IdentityProviderParam {
1258
2380
  * [developer documentation](https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/).
1259
2381
  */
1260
2382
  type: IdentityProvidersAPI.IdentityProviderTypeParam;
2383
+ /**
2384
+ * The UID of the SAML encryption certificate set assigned to this Identity
2385
+ * Provider. Only present for SAML identity providers with encryption configured.
2386
+ * Create a certificate set via POST to
2387
+ * `/identity_providers/{id}/saml_certificate`.
2388
+ */
2389
+ saml_certificate_set_id?: string;
1261
2390
  /**
1262
2391
  * The configuration settings for enabling a System for Cross-Domain Identity
1263
2392
  * Management (SCIM) with the identity provider.
@@ -1310,6 +2439,13 @@ export declare namespace IdentityProviderParam {
1310
2439
  * [developer documentation](https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/).
1311
2440
  */
1312
2441
  type: IdentityProvidersAPI.IdentityProviderTypeParam;
2442
+ /**
2443
+ * The UID of the SAML encryption certificate set assigned to this Identity
2444
+ * Provider. Only present for SAML identity providers with encryption configured.
2445
+ * Create a certificate set via POST to
2446
+ * `/identity_providers/{id}/saml_certificate`.
2447
+ */
2448
+ saml_certificate_set_id?: string;
1313
2449
  /**
1314
2450
  * The configuration settings for enabling a System for Cross-Domain Identity
1315
2451
  * Management (SCIM) with the identity provider.
@@ -1362,6 +2498,13 @@ export declare namespace IdentityProviderParam {
1362
2498
  * [developer documentation](https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/).
1363
2499
  */
1364
2500
  type: IdentityProvidersAPI.IdentityProviderTypeParam;
2501
+ /**
2502
+ * The UID of the SAML encryption certificate set assigned to this Identity
2503
+ * Provider. Only present for SAML identity providers with encryption configured.
2504
+ * Create a certificate set via POST to
2505
+ * `/identity_providers/{id}/saml_certificate`.
2506
+ */
2507
+ saml_certificate_set_id?: string;
1365
2508
  /**
1366
2509
  * The configuration settings for enabling a System for Cross-Domain Identity
1367
2510
  * Management (SCIM) with the identity provider.
@@ -1384,6 +2527,21 @@ export declare namespace IdentityProviderParam {
1384
2527
  * The attribute name for email in the SAML response.
1385
2528
  */
1386
2529
  email_attribute_name?: string;
2530
+ /**
2531
+ * Enable SAML assertion encryption. When enabled, the Identity Provider will
2532
+ * encrypt SAML assertions using the certificate from the assigned certificate set.
2533
+ *
2534
+ * To enable encryption:
2535
+ *
2536
+ * 1. Create a certificate set via POST to
2537
+ * `/identity_providers/{id}/saml_certificate`
2538
+ * 2. Set this field to `true` and include `saml_certificate_set_id` in the PUT
2539
+ * request
2540
+ * 3. Configure the public certificate in your external Identity Provider
2541
+ *
2542
+ * Note: Requires `saml_certificate_set_id` to be set when `true`.
2543
+ */
2544
+ enable_encryption?: boolean;
1387
2545
  /**
1388
2546
  * Add a list of attribute names that will be returned in the response header from
1389
2547
  * the Access callback.
@@ -1437,6 +2595,13 @@ export declare namespace IdentityProviderParam {
1437
2595
  * [developer documentation](https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/).
1438
2596
  */
1439
2597
  type: IdentityProvidersAPI.IdentityProviderTypeParam;
2598
+ /**
2599
+ * The UID of the SAML encryption certificate set assigned to this Identity
2600
+ * Provider. Only present for SAML identity providers with encryption configured.
2601
+ * Create a certificate set via POST to
2602
+ * `/identity_providers/{id}/saml_certificate`.
2603
+ */
2604
+ saml_certificate_set_id?: string;
1440
2605
  /**
1441
2606
  * The configuration settings for enabling a System for Cross-Domain Identity
1442
2607
  * Management (SCIM) with the identity provider.
@@ -1460,6 +2625,13 @@ export declare namespace IdentityProviderParam {
1460
2625
  * [developer documentation](https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/).
1461
2626
  */
1462
2627
  type: IdentityProvidersAPI.IdentityProviderTypeParam;
2628
+ /**
2629
+ * The UID of the SAML encryption certificate set assigned to this Identity
2630
+ * Provider. Only present for SAML identity providers with encryption configured.
2631
+ * Create a certificate set via POST to
2632
+ * `/identity_providers/{id}/saml_certificate`.
2633
+ */
2634
+ saml_certificate_set_id?: string;
1463
2635
  /**
1464
2636
  * The configuration settings for enabling a System for Cross-Domain Identity
1465
2637
  * Management (SCIM) with the identity provider.
@@ -1475,6 +2647,51 @@ export declare namespace IdentityProviderParam {
1475
2647
  interface Config {
1476
2648
  }
1477
2649
  }
2650
+ interface AccessCloudflare {
2651
+ /**
2652
+ * The configuration parameters for the identity provider. To view the required
2653
+ * parameters for a specific provider, refer to our
2654
+ * [developer documentation](https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/).
2655
+ */
2656
+ config: AccessCloudflare.Config;
2657
+ /**
2658
+ * The name of the identity provider, shown to users on the login page.
2659
+ */
2660
+ name: string;
2661
+ /**
2662
+ * The type of identity provider. To determine the value for a specific provider,
2663
+ * refer to our
2664
+ * [developer documentation](https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/).
2665
+ */
2666
+ type: IdentityProvidersAPI.IdentityProviderTypeParam;
2667
+ /**
2668
+ * The UID of the SAML encryption certificate set assigned to this Identity
2669
+ * Provider. Only present for SAML identity providers with encryption configured.
2670
+ * Create a certificate set via POST to
2671
+ * `/identity_providers/{id}/saml_certificate`.
2672
+ */
2673
+ saml_certificate_set_id?: string;
2674
+ /**
2675
+ * The configuration settings for enabling a System for Cross-Domain Identity
2676
+ * Management (SCIM) with the identity provider.
2677
+ */
2678
+ scim_config?: IdentityProvidersAPI.IdentityProviderSCIMConfigParam;
2679
+ }
2680
+ namespace AccessCloudflare {
2681
+ /**
2682
+ * The configuration parameters for the identity provider. To view the required
2683
+ * parameters for a specific provider, refer to our
2684
+ * [developer documentation](https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/).
2685
+ */
2686
+ interface Config {
2687
+ /**
2688
+ * When enabled, only users who are members of your Cloudflare account can
2689
+ * authenticate through this identity provider. When disabled, any user with a
2690
+ * Cloudflare account can authenticate, subject to your Access policies.
2691
+ */
2692
+ restrict_to_account_members?: boolean;
2693
+ }
2694
+ }
1478
2695
  }
1479
2696
  /**
1480
2697
  * The configuration settings for enabling a System for Cross-Domain Identity
@@ -1553,14 +2770,14 @@ export interface IdentityProviderSCIMConfigParam {
1553
2770
  * refer to our
1554
2771
  * [developer documentation](https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/).
1555
2772
  */
1556
- export type IdentityProviderType = 'onetimepin' | 'azureAD' | 'saml' | 'centrify' | 'facebook' | 'github' | 'google-apps' | 'google' | 'linkedin' | 'oidc' | 'okta' | 'onelogin' | 'pingone' | 'yandex';
2773
+ export type IdentityProviderType = 'onetimepin' | 'azureAD' | 'saml' | 'centrify' | 'facebook' | 'github' | 'google-apps' | 'google' | 'linkedin' | 'oidc' | 'okta' | 'onelogin' | 'pingone' | 'yandex' | 'cloudflare';
1557
2774
  /**
1558
2775
  * The type of identity provider. To determine the value for a specific provider,
1559
2776
  * refer to our
1560
2777
  * [developer documentation](https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/).
1561
2778
  */
1562
- export type IdentityProviderTypeParam = 'onetimepin' | 'azureAD' | 'saml' | 'centrify' | 'facebook' | 'github' | 'google-apps' | 'google' | 'linkedin' | 'oidc' | 'okta' | 'onelogin' | 'pingone' | 'yandex';
1563
- export type IdentityProviderListResponse = AzureAD | IdentityProviderListResponse.AccessCentrify | IdentityProviderListResponse.AccessFacebook | IdentityProviderListResponse.AccessGitHub | IdentityProviderListResponse.AccessGoogle | IdentityProviderListResponse.AccessGoogleApps | IdentityProviderListResponse.AccessLinkedin | IdentityProviderListResponse.AccessOIDC | IdentityProviderListResponse.AccessOkta | IdentityProviderListResponse.AccessOnelogin | IdentityProviderListResponse.AccessPingone | IdentityProviderListResponse.AccessSAML | IdentityProviderListResponse.AccessYandex;
2779
+ export type IdentityProviderTypeParam = 'onetimepin' | 'azureAD' | 'saml' | 'centrify' | 'facebook' | 'github' | 'google-apps' | 'google' | 'linkedin' | 'oidc' | 'okta' | 'onelogin' | 'pingone' | 'yandex' | 'cloudflare';
2780
+ export type IdentityProviderListResponse = AzureAD | IdentityProviderListResponse.AccessCentrify | IdentityProviderListResponse.AccessFacebook | IdentityProviderListResponse.AccessGitHub | IdentityProviderListResponse.AccessGoogle | IdentityProviderListResponse.AccessGoogleApps | IdentityProviderListResponse.AccessLinkedin | IdentityProviderListResponse.AccessOIDC | IdentityProviderListResponse.AccessOkta | IdentityProviderListResponse.AccessOnelogin | IdentityProviderListResponse.AccessPingone | IdentityProviderListResponse.AccessSAML | IdentityProviderListResponse.AccessYandex | IdentityProviderListResponse.AccessOnetimepin | IdentityProviderListResponse.AccessCloudflare;
1564
2781
  export declare namespace IdentityProviderListResponse {
1565
2782
  interface AccessCentrify {
1566
2783
  /**
@@ -1583,6 +2800,19 @@ export declare namespace IdentityProviderListResponse {
1583
2800
  * UUID.
1584
2801
  */
1585
2802
  id?: string;
2803
+ /**
2804
+ * The SAML encryption certificate set details, including current and previous
2805
+ * certificates. Only present for SAML identity providers with a certificate set
2806
+ * assigned.
2807
+ */
2808
+ saml_certificate_set?: AccessCentrify.SAMLCertificateSet;
2809
+ /**
2810
+ * The UID of the SAML encryption certificate set assigned to this Identity
2811
+ * Provider. Only present for SAML identity providers with encryption configured.
2812
+ * Create a certificate set via POST to
2813
+ * `/identity_providers/{id}/saml_certificate`.
2814
+ */
2815
+ saml_certificate_set_id?: string;
1586
2816
  /**
1587
2817
  * The configuration settings for enabling a System for Cross-Domain Identity
1588
2818
  * Management (SCIM) with the identity provider.
@@ -1621,6 +2851,59 @@ export declare namespace IdentityProviderListResponse {
1621
2851
  */
1622
2852
  email_claim_name?: string;
1623
2853
  }
2854
+ /**
2855
+ * The SAML encryption certificate set details, including current and previous
2856
+ * certificates. Only present for SAML identity providers with a certificate set
2857
+ * assigned.
2858
+ */
2859
+ interface SAMLCertificateSet {
2860
+ /**
2861
+ * Timestamp when the certificate set was created
2862
+ */
2863
+ created_at: string;
2864
+ /**
2865
+ * Unique identifier for the certificate set
2866
+ */
2867
+ uid: string;
2868
+ /**
2869
+ * Timestamp when the certificate set was last updated (e.g., during rotation)
2870
+ */
2871
+ updated_at: string;
2872
+ /**
2873
+ * The currently active certificate used for encrypting SAML assertions
2874
+ */
2875
+ current_certificate?: SAMLCertificateSet.CurrentCertificate;
2876
+ /**
2877
+ * The previous certificate, maintained during rotation to ensure continuity. Null
2878
+ * if no rotation has occurred. Mirrors the structure of `saml_certificate`.
2879
+ */
2880
+ previous_certificate?: unknown | null;
2881
+ }
2882
+ namespace SAMLCertificateSet {
2883
+ /**
2884
+ * The currently active certificate used for encrypting SAML assertions
2885
+ */
2886
+ interface CurrentCertificate {
2887
+ /**
2888
+ * Indicates whether this is the currently active certificate
2889
+ */
2890
+ is_current: boolean;
2891
+ /**
2892
+ * Certificate expiration date. Certificates are automatically rotated 30 days
2893
+ * before expiration.
2894
+ */
2895
+ not_after: string;
2896
+ /**
2897
+ * PEM-encoded X.509 certificate containing the public key. Configure this
2898
+ * certificate in your external SAML Identity Provider to enable encryption.
2899
+ */
2900
+ public_certificate: string;
2901
+ /**
2902
+ * Unique identifier for the certificate
2903
+ */
2904
+ uid: string;
2905
+ }
2906
+ }
1624
2907
  }
1625
2908
  interface AccessFacebook {
1626
2909
  /**
@@ -1643,12 +2926,80 @@ export declare namespace IdentityProviderListResponse {
1643
2926
  * UUID.
1644
2927
  */
1645
2928
  id?: string;
2929
+ /**
2930
+ * The SAML encryption certificate set details, including current and previous
2931
+ * certificates. Only present for SAML identity providers with a certificate set
2932
+ * assigned.
2933
+ */
2934
+ saml_certificate_set?: AccessFacebook.SAMLCertificateSet;
2935
+ /**
2936
+ * The UID of the SAML encryption certificate set assigned to this Identity
2937
+ * Provider. Only present for SAML identity providers with encryption configured.
2938
+ * Create a certificate set via POST to
2939
+ * `/identity_providers/{id}/saml_certificate`.
2940
+ */
2941
+ saml_certificate_set_id?: string;
1646
2942
  /**
1647
2943
  * The configuration settings for enabling a System for Cross-Domain Identity
1648
2944
  * Management (SCIM) with the identity provider.
1649
2945
  */
1650
2946
  scim_config?: IdentityProvidersAPI.IdentityProviderSCIMConfig;
1651
2947
  }
2948
+ namespace AccessFacebook {
2949
+ /**
2950
+ * The SAML encryption certificate set details, including current and previous
2951
+ * certificates. Only present for SAML identity providers with a certificate set
2952
+ * assigned.
2953
+ */
2954
+ interface SAMLCertificateSet {
2955
+ /**
2956
+ * Timestamp when the certificate set was created
2957
+ */
2958
+ created_at: string;
2959
+ /**
2960
+ * Unique identifier for the certificate set
2961
+ */
2962
+ uid: string;
2963
+ /**
2964
+ * Timestamp when the certificate set was last updated (e.g., during rotation)
2965
+ */
2966
+ updated_at: string;
2967
+ /**
2968
+ * The currently active certificate used for encrypting SAML assertions
2969
+ */
2970
+ current_certificate?: SAMLCertificateSet.CurrentCertificate;
2971
+ /**
2972
+ * The previous certificate, maintained during rotation to ensure continuity. Null
2973
+ * if no rotation has occurred. Mirrors the structure of `saml_certificate`.
2974
+ */
2975
+ previous_certificate?: unknown | null;
2976
+ }
2977
+ namespace SAMLCertificateSet {
2978
+ /**
2979
+ * The currently active certificate used for encrypting SAML assertions
2980
+ */
2981
+ interface CurrentCertificate {
2982
+ /**
2983
+ * Indicates whether this is the currently active certificate
2984
+ */
2985
+ is_current: boolean;
2986
+ /**
2987
+ * Certificate expiration date. Certificates are automatically rotated 30 days
2988
+ * before expiration.
2989
+ */
2990
+ not_after: string;
2991
+ /**
2992
+ * PEM-encoded X.509 certificate containing the public key. Configure this
2993
+ * certificate in your external SAML Identity Provider to enable encryption.
2994
+ */
2995
+ public_certificate: string;
2996
+ /**
2997
+ * Unique identifier for the certificate
2998
+ */
2999
+ uid: string;
3000
+ }
3001
+ }
3002
+ }
1652
3003
  interface AccessGitHub {
1653
3004
  /**
1654
3005
  * The configuration parameters for the identity provider. To view the required
@@ -1670,12 +3021,80 @@ export declare namespace IdentityProviderListResponse {
1670
3021
  * UUID.
1671
3022
  */
1672
3023
  id?: string;
3024
+ /**
3025
+ * The SAML encryption certificate set details, including current and previous
3026
+ * certificates. Only present for SAML identity providers with a certificate set
3027
+ * assigned.
3028
+ */
3029
+ saml_certificate_set?: AccessGitHub.SAMLCertificateSet;
3030
+ /**
3031
+ * The UID of the SAML encryption certificate set assigned to this Identity
3032
+ * Provider. Only present for SAML identity providers with encryption configured.
3033
+ * Create a certificate set via POST to
3034
+ * `/identity_providers/{id}/saml_certificate`.
3035
+ */
3036
+ saml_certificate_set_id?: string;
1673
3037
  /**
1674
3038
  * The configuration settings for enabling a System for Cross-Domain Identity
1675
3039
  * Management (SCIM) with the identity provider.
1676
3040
  */
1677
3041
  scim_config?: IdentityProvidersAPI.IdentityProviderSCIMConfig;
1678
3042
  }
3043
+ namespace AccessGitHub {
3044
+ /**
3045
+ * The SAML encryption certificate set details, including current and previous
3046
+ * certificates. Only present for SAML identity providers with a certificate set
3047
+ * assigned.
3048
+ */
3049
+ interface SAMLCertificateSet {
3050
+ /**
3051
+ * Timestamp when the certificate set was created
3052
+ */
3053
+ created_at: string;
3054
+ /**
3055
+ * Unique identifier for the certificate set
3056
+ */
3057
+ uid: string;
3058
+ /**
3059
+ * Timestamp when the certificate set was last updated (e.g., during rotation)
3060
+ */
3061
+ updated_at: string;
3062
+ /**
3063
+ * The currently active certificate used for encrypting SAML assertions
3064
+ */
3065
+ current_certificate?: SAMLCertificateSet.CurrentCertificate;
3066
+ /**
3067
+ * The previous certificate, maintained during rotation to ensure continuity. Null
3068
+ * if no rotation has occurred. Mirrors the structure of `saml_certificate`.
3069
+ */
3070
+ previous_certificate?: unknown | null;
3071
+ }
3072
+ namespace SAMLCertificateSet {
3073
+ /**
3074
+ * The currently active certificate used for encrypting SAML assertions
3075
+ */
3076
+ interface CurrentCertificate {
3077
+ /**
3078
+ * Indicates whether this is the currently active certificate
3079
+ */
3080
+ is_current: boolean;
3081
+ /**
3082
+ * Certificate expiration date. Certificates are automatically rotated 30 days
3083
+ * before expiration.
3084
+ */
3085
+ not_after: string;
3086
+ /**
3087
+ * PEM-encoded X.509 certificate containing the public key. Configure this
3088
+ * certificate in your external SAML Identity Provider to enable encryption.
3089
+ */
3090
+ public_certificate: string;
3091
+ /**
3092
+ * Unique identifier for the certificate
3093
+ */
3094
+ uid: string;
3095
+ }
3096
+ }
3097
+ }
1679
3098
  interface AccessGoogle {
1680
3099
  /**
1681
3100
  * The configuration parameters for the identity provider. To view the required
@@ -1697,6 +3116,19 @@ export declare namespace IdentityProviderListResponse {
1697
3116
  * UUID.
1698
3117
  */
1699
3118
  id?: string;
3119
+ /**
3120
+ * The SAML encryption certificate set details, including current and previous
3121
+ * certificates. Only present for SAML identity providers with a certificate set
3122
+ * assigned.
3123
+ */
3124
+ saml_certificate_set?: AccessGoogle.SAMLCertificateSet;
3125
+ /**
3126
+ * The UID of the SAML encryption certificate set assigned to this Identity
3127
+ * Provider. Only present for SAML identity providers with encryption configured.
3128
+ * Create a certificate set via POST to
3129
+ * `/identity_providers/{id}/saml_certificate`.
3130
+ */
3131
+ saml_certificate_set_id?: string;
1700
3132
  /**
1701
3133
  * The configuration settings for enabling a System for Cross-Domain Identity
1702
3134
  * Management (SCIM) with the identity provider.
@@ -1727,6 +3159,59 @@ export declare namespace IdentityProviderListResponse {
1727
3159
  */
1728
3160
  email_claim_name?: string;
1729
3161
  }
3162
+ /**
3163
+ * The SAML encryption certificate set details, including current and previous
3164
+ * certificates. Only present for SAML identity providers with a certificate set
3165
+ * assigned.
3166
+ */
3167
+ interface SAMLCertificateSet {
3168
+ /**
3169
+ * Timestamp when the certificate set was created
3170
+ */
3171
+ created_at: string;
3172
+ /**
3173
+ * Unique identifier for the certificate set
3174
+ */
3175
+ uid: string;
3176
+ /**
3177
+ * Timestamp when the certificate set was last updated (e.g., during rotation)
3178
+ */
3179
+ updated_at: string;
3180
+ /**
3181
+ * The currently active certificate used for encrypting SAML assertions
3182
+ */
3183
+ current_certificate?: SAMLCertificateSet.CurrentCertificate;
3184
+ /**
3185
+ * The previous certificate, maintained during rotation to ensure continuity. Null
3186
+ * if no rotation has occurred. Mirrors the structure of `saml_certificate`.
3187
+ */
3188
+ previous_certificate?: unknown | null;
3189
+ }
3190
+ namespace SAMLCertificateSet {
3191
+ /**
3192
+ * The currently active certificate used for encrypting SAML assertions
3193
+ */
3194
+ interface CurrentCertificate {
3195
+ /**
3196
+ * Indicates whether this is the currently active certificate
3197
+ */
3198
+ is_current: boolean;
3199
+ /**
3200
+ * Certificate expiration date. Certificates are automatically rotated 30 days
3201
+ * before expiration.
3202
+ */
3203
+ not_after: string;
3204
+ /**
3205
+ * PEM-encoded X.509 certificate containing the public key. Configure this
3206
+ * certificate in your external SAML Identity Provider to enable encryption.
3207
+ */
3208
+ public_certificate: string;
3209
+ /**
3210
+ * Unique identifier for the certificate
3211
+ */
3212
+ uid: string;
3213
+ }
3214
+ }
1730
3215
  }
1731
3216
  interface AccessGoogleApps {
1732
3217
  /**
@@ -1749,6 +3234,19 @@ export declare namespace IdentityProviderListResponse {
1749
3234
  * UUID.
1750
3235
  */
1751
3236
  id?: string;
3237
+ /**
3238
+ * The SAML encryption certificate set details, including current and previous
3239
+ * certificates. Only present for SAML identity providers with a certificate set
3240
+ * assigned.
3241
+ */
3242
+ saml_certificate_set?: AccessGoogleApps.SAMLCertificateSet;
3243
+ /**
3244
+ * The UID of the SAML encryption certificate set assigned to this Identity
3245
+ * Provider. Only present for SAML identity providers with encryption configured.
3246
+ * Create a certificate set via POST to
3247
+ * `/identity_providers/{id}/saml_certificate`.
3248
+ */
3249
+ saml_certificate_set_id?: string;
1752
3250
  /**
1753
3251
  * The configuration settings for enabling a System for Cross-Domain Identity
1754
3252
  * Management (SCIM) with the identity provider.
@@ -1783,6 +3281,59 @@ export declare namespace IdentityProviderListResponse {
1783
3281
  */
1784
3282
  email_claim_name?: string;
1785
3283
  }
3284
+ /**
3285
+ * The SAML encryption certificate set details, including current and previous
3286
+ * certificates. Only present for SAML identity providers with a certificate set
3287
+ * assigned.
3288
+ */
3289
+ interface SAMLCertificateSet {
3290
+ /**
3291
+ * Timestamp when the certificate set was created
3292
+ */
3293
+ created_at: string;
3294
+ /**
3295
+ * Unique identifier for the certificate set
3296
+ */
3297
+ uid: string;
3298
+ /**
3299
+ * Timestamp when the certificate set was last updated (e.g., during rotation)
3300
+ */
3301
+ updated_at: string;
3302
+ /**
3303
+ * The currently active certificate used for encrypting SAML assertions
3304
+ */
3305
+ current_certificate?: SAMLCertificateSet.CurrentCertificate;
3306
+ /**
3307
+ * The previous certificate, maintained during rotation to ensure continuity. Null
3308
+ * if no rotation has occurred. Mirrors the structure of `saml_certificate`.
3309
+ */
3310
+ previous_certificate?: unknown | null;
3311
+ }
3312
+ namespace SAMLCertificateSet {
3313
+ /**
3314
+ * The currently active certificate used for encrypting SAML assertions
3315
+ */
3316
+ interface CurrentCertificate {
3317
+ /**
3318
+ * Indicates whether this is the currently active certificate
3319
+ */
3320
+ is_current: boolean;
3321
+ /**
3322
+ * Certificate expiration date. Certificates are automatically rotated 30 days
3323
+ * before expiration.
3324
+ */
3325
+ not_after: string;
3326
+ /**
3327
+ * PEM-encoded X.509 certificate containing the public key. Configure this
3328
+ * certificate in your external SAML Identity Provider to enable encryption.
3329
+ */
3330
+ public_certificate: string;
3331
+ /**
3332
+ * Unique identifier for the certificate
3333
+ */
3334
+ uid: string;
3335
+ }
3336
+ }
1786
3337
  }
1787
3338
  interface AccessLinkedin {
1788
3339
  /**
@@ -1805,12 +3356,80 @@ export declare namespace IdentityProviderListResponse {
1805
3356
  * UUID.
1806
3357
  */
1807
3358
  id?: string;
3359
+ /**
3360
+ * The SAML encryption certificate set details, including current and previous
3361
+ * certificates. Only present for SAML identity providers with a certificate set
3362
+ * assigned.
3363
+ */
3364
+ saml_certificate_set?: AccessLinkedin.SAMLCertificateSet;
3365
+ /**
3366
+ * The UID of the SAML encryption certificate set assigned to this Identity
3367
+ * Provider. Only present for SAML identity providers with encryption configured.
3368
+ * Create a certificate set via POST to
3369
+ * `/identity_providers/{id}/saml_certificate`.
3370
+ */
3371
+ saml_certificate_set_id?: string;
1808
3372
  /**
1809
3373
  * The configuration settings for enabling a System for Cross-Domain Identity
1810
3374
  * Management (SCIM) with the identity provider.
1811
3375
  */
1812
3376
  scim_config?: IdentityProvidersAPI.IdentityProviderSCIMConfig;
1813
3377
  }
3378
+ namespace AccessLinkedin {
3379
+ /**
3380
+ * The SAML encryption certificate set details, including current and previous
3381
+ * certificates. Only present for SAML identity providers with a certificate set
3382
+ * assigned.
3383
+ */
3384
+ interface SAMLCertificateSet {
3385
+ /**
3386
+ * Timestamp when the certificate set was created
3387
+ */
3388
+ created_at: string;
3389
+ /**
3390
+ * Unique identifier for the certificate set
3391
+ */
3392
+ uid: string;
3393
+ /**
3394
+ * Timestamp when the certificate set was last updated (e.g., during rotation)
3395
+ */
3396
+ updated_at: string;
3397
+ /**
3398
+ * The currently active certificate used for encrypting SAML assertions
3399
+ */
3400
+ current_certificate?: SAMLCertificateSet.CurrentCertificate;
3401
+ /**
3402
+ * The previous certificate, maintained during rotation to ensure continuity. Null
3403
+ * if no rotation has occurred. Mirrors the structure of `saml_certificate`.
3404
+ */
3405
+ previous_certificate?: unknown | null;
3406
+ }
3407
+ namespace SAMLCertificateSet {
3408
+ /**
3409
+ * The currently active certificate used for encrypting SAML assertions
3410
+ */
3411
+ interface CurrentCertificate {
3412
+ /**
3413
+ * Indicates whether this is the currently active certificate
3414
+ */
3415
+ is_current: boolean;
3416
+ /**
3417
+ * Certificate expiration date. Certificates are automatically rotated 30 days
3418
+ * before expiration.
3419
+ */
3420
+ not_after: string;
3421
+ /**
3422
+ * PEM-encoded X.509 certificate containing the public key. Configure this
3423
+ * certificate in your external SAML Identity Provider to enable encryption.
3424
+ */
3425
+ public_certificate: string;
3426
+ /**
3427
+ * Unique identifier for the certificate
3428
+ */
3429
+ uid: string;
3430
+ }
3431
+ }
3432
+ }
1814
3433
  interface AccessOIDC {
1815
3434
  /**
1816
3435
  * The configuration parameters for the identity provider. To view the required
@@ -1832,6 +3451,19 @@ export declare namespace IdentityProviderListResponse {
1832
3451
  * UUID.
1833
3452
  */
1834
3453
  id?: string;
3454
+ /**
3455
+ * The SAML encryption certificate set details, including current and previous
3456
+ * certificates. Only present for SAML identity providers with a certificate set
3457
+ * assigned.
3458
+ */
3459
+ saml_certificate_set?: AccessOIDC.SAMLCertificateSet;
3460
+ /**
3461
+ * The UID of the SAML encryption certificate set assigned to this Identity
3462
+ * Provider. Only present for SAML identity providers with encryption configured.
3463
+ * Create a certificate set via POST to
3464
+ * `/identity_providers/{id}/saml_certificate`.
3465
+ */
3466
+ saml_certificate_set_id?: string;
1835
3467
  /**
1836
3468
  * The configuration settings for enabling a System for Cross-Domain Identity
1837
3469
  * Management (SCIM) with the identity provider.
@@ -1882,28 +3514,94 @@ export declare namespace IdentityProviderListResponse {
1882
3514
  */
1883
3515
  token_url?: string;
1884
3516
  }
1885
- }
1886
- interface AccessOkta {
1887
- /**
1888
- * The configuration parameters for the identity provider. To view the required
1889
- * parameters for a specific provider, refer to our
1890
- * [developer documentation](https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/).
1891
- */
1892
- config: AccessOkta.Config;
1893
- /**
1894
- * The name of the identity provider, shown to users on the login page.
1895
- */
1896
- name: string;
1897
- /**
1898
- * The type of identity provider. To determine the value for a specific provider,
1899
- * refer to our
1900
- * [developer documentation](https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/).
1901
- */
1902
- type: IdentityProvidersAPI.IdentityProviderType;
1903
3517
  /**
1904
- * UUID.
3518
+ * The SAML encryption certificate set details, including current and previous
3519
+ * certificates. Only present for SAML identity providers with a certificate set
3520
+ * assigned.
3521
+ */
3522
+ interface SAMLCertificateSet {
3523
+ /**
3524
+ * Timestamp when the certificate set was created
3525
+ */
3526
+ created_at: string;
3527
+ /**
3528
+ * Unique identifier for the certificate set
3529
+ */
3530
+ uid: string;
3531
+ /**
3532
+ * Timestamp when the certificate set was last updated (e.g., during rotation)
3533
+ */
3534
+ updated_at: string;
3535
+ /**
3536
+ * The currently active certificate used for encrypting SAML assertions
3537
+ */
3538
+ current_certificate?: SAMLCertificateSet.CurrentCertificate;
3539
+ /**
3540
+ * The previous certificate, maintained during rotation to ensure continuity. Null
3541
+ * if no rotation has occurred. Mirrors the structure of `saml_certificate`.
3542
+ */
3543
+ previous_certificate?: unknown | null;
3544
+ }
3545
+ namespace SAMLCertificateSet {
3546
+ /**
3547
+ * The currently active certificate used for encrypting SAML assertions
3548
+ */
3549
+ interface CurrentCertificate {
3550
+ /**
3551
+ * Indicates whether this is the currently active certificate
3552
+ */
3553
+ is_current: boolean;
3554
+ /**
3555
+ * Certificate expiration date. Certificates are automatically rotated 30 days
3556
+ * before expiration.
3557
+ */
3558
+ not_after: string;
3559
+ /**
3560
+ * PEM-encoded X.509 certificate containing the public key. Configure this
3561
+ * certificate in your external SAML Identity Provider to enable encryption.
3562
+ */
3563
+ public_certificate: string;
3564
+ /**
3565
+ * Unique identifier for the certificate
3566
+ */
3567
+ uid: string;
3568
+ }
3569
+ }
3570
+ }
3571
+ interface AccessOkta {
3572
+ /**
3573
+ * The configuration parameters for the identity provider. To view the required
3574
+ * parameters for a specific provider, refer to our
3575
+ * [developer documentation](https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/).
3576
+ */
3577
+ config: AccessOkta.Config;
3578
+ /**
3579
+ * The name of the identity provider, shown to users on the login page.
3580
+ */
3581
+ name: string;
3582
+ /**
3583
+ * The type of identity provider. To determine the value for a specific provider,
3584
+ * refer to our
3585
+ * [developer documentation](https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/).
3586
+ */
3587
+ type: IdentityProvidersAPI.IdentityProviderType;
3588
+ /**
3589
+ * UUID.
1905
3590
  */
1906
3591
  id?: string;
3592
+ /**
3593
+ * The SAML encryption certificate set details, including current and previous
3594
+ * certificates. Only present for SAML identity providers with a certificate set
3595
+ * assigned.
3596
+ */
3597
+ saml_certificate_set?: AccessOkta.SAMLCertificateSet;
3598
+ /**
3599
+ * The UID of the SAML encryption certificate set assigned to this Identity
3600
+ * Provider. Only present for SAML identity providers with encryption configured.
3601
+ * Create a certificate set via POST to
3602
+ * `/identity_providers/{id}/saml_certificate`.
3603
+ */
3604
+ saml_certificate_set_id?: string;
1907
3605
  /**
1908
3606
  * The configuration settings for enabling a System for Cross-Domain Identity
1909
3607
  * Management (SCIM) with the identity provider.
@@ -1942,6 +3640,59 @@ export declare namespace IdentityProviderListResponse {
1942
3640
  */
1943
3641
  okta_account?: string;
1944
3642
  }
3643
+ /**
3644
+ * The SAML encryption certificate set details, including current and previous
3645
+ * certificates. Only present for SAML identity providers with a certificate set
3646
+ * assigned.
3647
+ */
3648
+ interface SAMLCertificateSet {
3649
+ /**
3650
+ * Timestamp when the certificate set was created
3651
+ */
3652
+ created_at: string;
3653
+ /**
3654
+ * Unique identifier for the certificate set
3655
+ */
3656
+ uid: string;
3657
+ /**
3658
+ * Timestamp when the certificate set was last updated (e.g., during rotation)
3659
+ */
3660
+ updated_at: string;
3661
+ /**
3662
+ * The currently active certificate used for encrypting SAML assertions
3663
+ */
3664
+ current_certificate?: SAMLCertificateSet.CurrentCertificate;
3665
+ /**
3666
+ * The previous certificate, maintained during rotation to ensure continuity. Null
3667
+ * if no rotation has occurred. Mirrors the structure of `saml_certificate`.
3668
+ */
3669
+ previous_certificate?: unknown | null;
3670
+ }
3671
+ namespace SAMLCertificateSet {
3672
+ /**
3673
+ * The currently active certificate used for encrypting SAML assertions
3674
+ */
3675
+ interface CurrentCertificate {
3676
+ /**
3677
+ * Indicates whether this is the currently active certificate
3678
+ */
3679
+ is_current: boolean;
3680
+ /**
3681
+ * Certificate expiration date. Certificates are automatically rotated 30 days
3682
+ * before expiration.
3683
+ */
3684
+ not_after: string;
3685
+ /**
3686
+ * PEM-encoded X.509 certificate containing the public key. Configure this
3687
+ * certificate in your external SAML Identity Provider to enable encryption.
3688
+ */
3689
+ public_certificate: string;
3690
+ /**
3691
+ * Unique identifier for the certificate
3692
+ */
3693
+ uid: string;
3694
+ }
3695
+ }
1945
3696
  }
1946
3697
  interface AccessOnelogin {
1947
3698
  /**
@@ -1964,6 +3715,19 @@ export declare namespace IdentityProviderListResponse {
1964
3715
  * UUID.
1965
3716
  */
1966
3717
  id?: string;
3718
+ /**
3719
+ * The SAML encryption certificate set details, including current and previous
3720
+ * certificates. Only present for SAML identity providers with a certificate set
3721
+ * assigned.
3722
+ */
3723
+ saml_certificate_set?: AccessOnelogin.SAMLCertificateSet;
3724
+ /**
3725
+ * The UID of the SAML encryption certificate set assigned to this Identity
3726
+ * Provider. Only present for SAML identity providers with encryption configured.
3727
+ * Create a certificate set via POST to
3728
+ * `/identity_providers/{id}/saml_certificate`.
3729
+ */
3730
+ saml_certificate_set_id?: string;
1967
3731
  /**
1968
3732
  * The configuration settings for enabling a System for Cross-Domain Identity
1969
3733
  * Management (SCIM) with the identity provider.
@@ -1998,14 +3762,444 @@ export declare namespace IdentityProviderListResponse {
1998
3762
  */
1999
3763
  onelogin_account?: string;
2000
3764
  }
3765
+ /**
3766
+ * The SAML encryption certificate set details, including current and previous
3767
+ * certificates. Only present for SAML identity providers with a certificate set
3768
+ * assigned.
3769
+ */
3770
+ interface SAMLCertificateSet {
3771
+ /**
3772
+ * Timestamp when the certificate set was created
3773
+ */
3774
+ created_at: string;
3775
+ /**
3776
+ * Unique identifier for the certificate set
3777
+ */
3778
+ uid: string;
3779
+ /**
3780
+ * Timestamp when the certificate set was last updated (e.g., during rotation)
3781
+ */
3782
+ updated_at: string;
3783
+ /**
3784
+ * The currently active certificate used for encrypting SAML assertions
3785
+ */
3786
+ current_certificate?: SAMLCertificateSet.CurrentCertificate;
3787
+ /**
3788
+ * The previous certificate, maintained during rotation to ensure continuity. Null
3789
+ * if no rotation has occurred. Mirrors the structure of `saml_certificate`.
3790
+ */
3791
+ previous_certificate?: unknown | null;
3792
+ }
3793
+ namespace SAMLCertificateSet {
3794
+ /**
3795
+ * The currently active certificate used for encrypting SAML assertions
3796
+ */
3797
+ interface CurrentCertificate {
3798
+ /**
3799
+ * Indicates whether this is the currently active certificate
3800
+ */
3801
+ is_current: boolean;
3802
+ /**
3803
+ * Certificate expiration date. Certificates are automatically rotated 30 days
3804
+ * before expiration.
3805
+ */
3806
+ not_after: string;
3807
+ /**
3808
+ * PEM-encoded X.509 certificate containing the public key. Configure this
3809
+ * certificate in your external SAML Identity Provider to enable encryption.
3810
+ */
3811
+ public_certificate: string;
3812
+ /**
3813
+ * Unique identifier for the certificate
3814
+ */
3815
+ uid: string;
3816
+ }
3817
+ }
3818
+ }
3819
+ interface AccessPingone {
3820
+ /**
3821
+ * The configuration parameters for the identity provider. To view the required
3822
+ * parameters for a specific provider, refer to our
3823
+ * [developer documentation](https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/).
3824
+ */
3825
+ config: AccessPingone.Config;
3826
+ /**
3827
+ * The name of the identity provider, shown to users on the login page.
3828
+ */
3829
+ name: string;
3830
+ /**
3831
+ * The type of identity provider. To determine the value for a specific provider,
3832
+ * refer to our
3833
+ * [developer documentation](https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/).
3834
+ */
3835
+ type: IdentityProvidersAPI.IdentityProviderType;
3836
+ /**
3837
+ * UUID.
3838
+ */
3839
+ id?: string;
3840
+ /**
3841
+ * The SAML encryption certificate set details, including current and previous
3842
+ * certificates. Only present for SAML identity providers with a certificate set
3843
+ * assigned.
3844
+ */
3845
+ saml_certificate_set?: AccessPingone.SAMLCertificateSet;
3846
+ /**
3847
+ * The UID of the SAML encryption certificate set assigned to this Identity
3848
+ * Provider. Only present for SAML identity providers with encryption configured.
3849
+ * Create a certificate set via POST to
3850
+ * `/identity_providers/{id}/saml_certificate`.
3851
+ */
3852
+ saml_certificate_set_id?: string;
3853
+ /**
3854
+ * The configuration settings for enabling a System for Cross-Domain Identity
3855
+ * Management (SCIM) with the identity provider.
3856
+ */
3857
+ scim_config?: IdentityProvidersAPI.IdentityProviderSCIMConfig;
3858
+ }
3859
+ namespace AccessPingone {
3860
+ /**
3861
+ * The configuration parameters for the identity provider. To view the required
3862
+ * parameters for a specific provider, refer to our
3863
+ * [developer documentation](https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/).
3864
+ */
3865
+ interface Config {
3866
+ /**
3867
+ * Custom claims
3868
+ */
3869
+ claims?: Array<string>;
3870
+ /**
3871
+ * Your OAuth Client ID
3872
+ */
3873
+ client_id?: string;
3874
+ /**
3875
+ * Your OAuth Client Secret
3876
+ */
3877
+ client_secret?: string;
3878
+ /**
3879
+ * The claim name for email in the id_token response.
3880
+ */
3881
+ email_claim_name?: string;
3882
+ /**
3883
+ * Your PingOne environment identifier
3884
+ */
3885
+ ping_env_id?: string;
3886
+ }
3887
+ /**
3888
+ * The SAML encryption certificate set details, including current and previous
3889
+ * certificates. Only present for SAML identity providers with a certificate set
3890
+ * assigned.
3891
+ */
3892
+ interface SAMLCertificateSet {
3893
+ /**
3894
+ * Timestamp when the certificate set was created
3895
+ */
3896
+ created_at: string;
3897
+ /**
3898
+ * Unique identifier for the certificate set
3899
+ */
3900
+ uid: string;
3901
+ /**
3902
+ * Timestamp when the certificate set was last updated (e.g., during rotation)
3903
+ */
3904
+ updated_at: string;
3905
+ /**
3906
+ * The currently active certificate used for encrypting SAML assertions
3907
+ */
3908
+ current_certificate?: SAMLCertificateSet.CurrentCertificate;
3909
+ /**
3910
+ * The previous certificate, maintained during rotation to ensure continuity. Null
3911
+ * if no rotation has occurred. Mirrors the structure of `saml_certificate`.
3912
+ */
3913
+ previous_certificate?: unknown | null;
3914
+ }
3915
+ namespace SAMLCertificateSet {
3916
+ /**
3917
+ * The currently active certificate used for encrypting SAML assertions
3918
+ */
3919
+ interface CurrentCertificate {
3920
+ /**
3921
+ * Indicates whether this is the currently active certificate
3922
+ */
3923
+ is_current: boolean;
3924
+ /**
3925
+ * Certificate expiration date. Certificates are automatically rotated 30 days
3926
+ * before expiration.
3927
+ */
3928
+ not_after: string;
3929
+ /**
3930
+ * PEM-encoded X.509 certificate containing the public key. Configure this
3931
+ * certificate in your external SAML Identity Provider to enable encryption.
3932
+ */
3933
+ public_certificate: string;
3934
+ /**
3935
+ * Unique identifier for the certificate
3936
+ */
3937
+ uid: string;
3938
+ }
3939
+ }
3940
+ }
3941
+ interface AccessSAML {
3942
+ /**
3943
+ * The configuration parameters for the identity provider. To view the required
3944
+ * parameters for a specific provider, refer to our
3945
+ * [developer documentation](https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/).
3946
+ */
3947
+ config: AccessSAML.Config;
3948
+ /**
3949
+ * The name of the identity provider, shown to users on the login page.
3950
+ */
3951
+ name: string;
3952
+ /**
3953
+ * The type of identity provider. To determine the value for a specific provider,
3954
+ * refer to our
3955
+ * [developer documentation](https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/).
3956
+ */
3957
+ type: IdentityProvidersAPI.IdentityProviderType;
3958
+ /**
3959
+ * UUID.
3960
+ */
3961
+ id?: string;
3962
+ /**
3963
+ * The SAML encryption certificate set details, including current and previous
3964
+ * certificates. Only present for SAML identity providers with a certificate set
3965
+ * assigned.
3966
+ */
3967
+ saml_certificate_set?: AccessSAML.SAMLCertificateSet;
3968
+ /**
3969
+ * The UID of the SAML encryption certificate set assigned to this Identity
3970
+ * Provider. Only present for SAML identity providers with encryption configured.
3971
+ * Create a certificate set via POST to
3972
+ * `/identity_providers/{id}/saml_certificate`.
3973
+ */
3974
+ saml_certificate_set_id?: string;
3975
+ /**
3976
+ * The configuration settings for enabling a System for Cross-Domain Identity
3977
+ * Management (SCIM) with the identity provider.
3978
+ */
3979
+ scim_config?: IdentityProvidersAPI.IdentityProviderSCIMConfig;
3980
+ }
3981
+ namespace AccessSAML {
3982
+ /**
3983
+ * The configuration parameters for the identity provider. To view the required
3984
+ * parameters for a specific provider, refer to our
3985
+ * [developer documentation](https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/).
3986
+ */
3987
+ interface Config {
3988
+ /**
3989
+ * A list of SAML attribute names that will be added to your signed JWT token and
3990
+ * can be used in SAML policy rules.
3991
+ */
3992
+ attributes?: Array<string>;
3993
+ /**
3994
+ * The attribute name for email in the SAML response.
3995
+ */
3996
+ email_attribute_name?: string;
3997
+ /**
3998
+ * Enable SAML assertion encryption. When enabled, the Identity Provider will
3999
+ * encrypt SAML assertions using the certificate from the assigned certificate set.
4000
+ *
4001
+ * To enable encryption:
4002
+ *
4003
+ * 1. Create a certificate set via POST to
4004
+ * `/identity_providers/{id}/saml_certificate`
4005
+ * 2. Set this field to `true` and include `saml_certificate_set_id` in the PUT
4006
+ * request
4007
+ * 3. Configure the public certificate in your external Identity Provider
4008
+ *
4009
+ * Note: Requires `saml_certificate_set_id` to be set when `true`.
4010
+ */
4011
+ enable_encryption?: boolean;
4012
+ /**
4013
+ * Add a list of attribute names that will be returned in the response header from
4014
+ * the Access callback.
4015
+ */
4016
+ header_attributes?: Array<Config.HeaderAttribute>;
4017
+ /**
4018
+ * X509 certificate to verify the signature in the SAML authentication response
4019
+ */
4020
+ idp_public_certs?: Array<string>;
4021
+ /**
4022
+ * IdP Entity ID or Issuer URL
4023
+ */
4024
+ issuer_url?: string;
4025
+ /**
4026
+ * Sign the SAML authentication request with Access credentials. To verify the
4027
+ * signature, use the public key from the Access certs endpoints.
4028
+ */
4029
+ sign_request?: boolean;
4030
+ /**
4031
+ * URL to send the SAML authentication requests to
4032
+ */
4033
+ sso_target_url?: string;
4034
+ }
4035
+ namespace Config {
4036
+ interface HeaderAttribute {
4037
+ /**
4038
+ * attribute name from the IDP
4039
+ */
4040
+ attribute_name?: string;
4041
+ /**
4042
+ * header that will be added on the request to the origin
4043
+ */
4044
+ header_name?: string;
4045
+ }
4046
+ }
4047
+ /**
4048
+ * The SAML encryption certificate set details, including current and previous
4049
+ * certificates. Only present for SAML identity providers with a certificate set
4050
+ * assigned.
4051
+ */
4052
+ interface SAMLCertificateSet {
4053
+ /**
4054
+ * Timestamp when the certificate set was created
4055
+ */
4056
+ created_at: string;
4057
+ /**
4058
+ * Unique identifier for the certificate set
4059
+ */
4060
+ uid: string;
4061
+ /**
4062
+ * Timestamp when the certificate set was last updated (e.g., during rotation)
4063
+ */
4064
+ updated_at: string;
4065
+ /**
4066
+ * The currently active certificate used for encrypting SAML assertions
4067
+ */
4068
+ current_certificate?: SAMLCertificateSet.CurrentCertificate;
4069
+ /**
4070
+ * The previous certificate, maintained during rotation to ensure continuity. Null
4071
+ * if no rotation has occurred. Mirrors the structure of `saml_certificate`.
4072
+ */
4073
+ previous_certificate?: unknown | null;
4074
+ }
4075
+ namespace SAMLCertificateSet {
4076
+ /**
4077
+ * The currently active certificate used for encrypting SAML assertions
4078
+ */
4079
+ interface CurrentCertificate {
4080
+ /**
4081
+ * Indicates whether this is the currently active certificate
4082
+ */
4083
+ is_current: boolean;
4084
+ /**
4085
+ * Certificate expiration date. Certificates are automatically rotated 30 days
4086
+ * before expiration.
4087
+ */
4088
+ not_after: string;
4089
+ /**
4090
+ * PEM-encoded X.509 certificate containing the public key. Configure this
4091
+ * certificate in your external SAML Identity Provider to enable encryption.
4092
+ */
4093
+ public_certificate: string;
4094
+ /**
4095
+ * Unique identifier for the certificate
4096
+ */
4097
+ uid: string;
4098
+ }
4099
+ }
4100
+ }
4101
+ interface AccessYandex {
4102
+ /**
4103
+ * The configuration parameters for the identity provider. To view the required
4104
+ * parameters for a specific provider, refer to our
4105
+ * [developer documentation](https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/).
4106
+ */
4107
+ config: IdentityProvidersAPI.GenericOAuthConfig;
4108
+ /**
4109
+ * The name of the identity provider, shown to users on the login page.
4110
+ */
4111
+ name: string;
4112
+ /**
4113
+ * The type of identity provider. To determine the value for a specific provider,
4114
+ * refer to our
4115
+ * [developer documentation](https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/).
4116
+ */
4117
+ type: IdentityProvidersAPI.IdentityProviderType;
4118
+ /**
4119
+ * UUID.
4120
+ */
4121
+ id?: string;
4122
+ /**
4123
+ * The SAML encryption certificate set details, including current and previous
4124
+ * certificates. Only present for SAML identity providers with a certificate set
4125
+ * assigned.
4126
+ */
4127
+ saml_certificate_set?: AccessYandex.SAMLCertificateSet;
4128
+ /**
4129
+ * The UID of the SAML encryption certificate set assigned to this Identity
4130
+ * Provider. Only present for SAML identity providers with encryption configured.
4131
+ * Create a certificate set via POST to
4132
+ * `/identity_providers/{id}/saml_certificate`.
4133
+ */
4134
+ saml_certificate_set_id?: string;
4135
+ /**
4136
+ * The configuration settings for enabling a System for Cross-Domain Identity
4137
+ * Management (SCIM) with the identity provider.
4138
+ */
4139
+ scim_config?: IdentityProvidersAPI.IdentityProviderSCIMConfig;
4140
+ }
4141
+ namespace AccessYandex {
4142
+ /**
4143
+ * The SAML encryption certificate set details, including current and previous
4144
+ * certificates. Only present for SAML identity providers with a certificate set
4145
+ * assigned.
4146
+ */
4147
+ interface SAMLCertificateSet {
4148
+ /**
4149
+ * Timestamp when the certificate set was created
4150
+ */
4151
+ created_at: string;
4152
+ /**
4153
+ * Unique identifier for the certificate set
4154
+ */
4155
+ uid: string;
4156
+ /**
4157
+ * Timestamp when the certificate set was last updated (e.g., during rotation)
4158
+ */
4159
+ updated_at: string;
4160
+ /**
4161
+ * The currently active certificate used for encrypting SAML assertions
4162
+ */
4163
+ current_certificate?: SAMLCertificateSet.CurrentCertificate;
4164
+ /**
4165
+ * The previous certificate, maintained during rotation to ensure continuity. Null
4166
+ * if no rotation has occurred. Mirrors the structure of `saml_certificate`.
4167
+ */
4168
+ previous_certificate?: unknown | null;
4169
+ }
4170
+ namespace SAMLCertificateSet {
4171
+ /**
4172
+ * The currently active certificate used for encrypting SAML assertions
4173
+ */
4174
+ interface CurrentCertificate {
4175
+ /**
4176
+ * Indicates whether this is the currently active certificate
4177
+ */
4178
+ is_current: boolean;
4179
+ /**
4180
+ * Certificate expiration date. Certificates are automatically rotated 30 days
4181
+ * before expiration.
4182
+ */
4183
+ not_after: string;
4184
+ /**
4185
+ * PEM-encoded X.509 certificate containing the public key. Configure this
4186
+ * certificate in your external SAML Identity Provider to enable encryption.
4187
+ */
4188
+ public_certificate: string;
4189
+ /**
4190
+ * Unique identifier for the certificate
4191
+ */
4192
+ uid: string;
4193
+ }
4194
+ }
2001
4195
  }
2002
- interface AccessPingone {
4196
+ interface AccessOnetimepin {
2003
4197
  /**
2004
4198
  * The configuration parameters for the identity provider. To view the required
2005
4199
  * parameters for a specific provider, refer to our
2006
4200
  * [developer documentation](https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/).
2007
4201
  */
2008
- config: AccessPingone.Config;
4202
+ config: AccessOnetimepin.Config;
2009
4203
  /**
2010
4204
  * The name of the identity provider, shown to users on the login page.
2011
4205
  */
@@ -2020,48 +4214,95 @@ export declare namespace IdentityProviderListResponse {
2020
4214
  * UUID.
2021
4215
  */
2022
4216
  id?: string;
4217
+ /**
4218
+ * The SAML encryption certificate set details, including current and previous
4219
+ * certificates. Only present for SAML identity providers with a certificate set
4220
+ * assigned.
4221
+ */
4222
+ saml_certificate_set?: AccessOnetimepin.SAMLCertificateSet;
4223
+ /**
4224
+ * The UID of the SAML encryption certificate set assigned to this Identity
4225
+ * Provider. Only present for SAML identity providers with encryption configured.
4226
+ * Create a certificate set via POST to
4227
+ * `/identity_providers/{id}/saml_certificate`.
4228
+ */
4229
+ saml_certificate_set_id?: string;
2023
4230
  /**
2024
4231
  * The configuration settings for enabling a System for Cross-Domain Identity
2025
4232
  * Management (SCIM) with the identity provider.
2026
4233
  */
2027
4234
  scim_config?: IdentityProvidersAPI.IdentityProviderSCIMConfig;
2028
4235
  }
2029
- namespace AccessPingone {
4236
+ namespace AccessOnetimepin {
2030
4237
  /**
2031
4238
  * The configuration parameters for the identity provider. To view the required
2032
4239
  * parameters for a specific provider, refer to our
2033
4240
  * [developer documentation](https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/).
2034
4241
  */
2035
4242
  interface Config {
4243
+ redirect_url?: string;
4244
+ }
4245
+ /**
4246
+ * The SAML encryption certificate set details, including current and previous
4247
+ * certificates. Only present for SAML identity providers with a certificate set
4248
+ * assigned.
4249
+ */
4250
+ interface SAMLCertificateSet {
2036
4251
  /**
2037
- * Custom claims
4252
+ * Timestamp when the certificate set was created
2038
4253
  */
2039
- claims?: Array<string>;
4254
+ created_at: string;
2040
4255
  /**
2041
- * Your OAuth Client ID
4256
+ * Unique identifier for the certificate set
2042
4257
  */
2043
- client_id?: string;
4258
+ uid: string;
2044
4259
  /**
2045
- * Your OAuth Client Secret
4260
+ * Timestamp when the certificate set was last updated (e.g., during rotation)
2046
4261
  */
2047
- client_secret?: string;
4262
+ updated_at: string;
2048
4263
  /**
2049
- * The claim name for email in the id_token response.
4264
+ * The currently active certificate used for encrypting SAML assertions
2050
4265
  */
2051
- email_claim_name?: string;
4266
+ current_certificate?: SAMLCertificateSet.CurrentCertificate;
2052
4267
  /**
2053
- * Your PingOne environment identifier
4268
+ * The previous certificate, maintained during rotation to ensure continuity. Null
4269
+ * if no rotation has occurred. Mirrors the structure of `saml_certificate`.
2054
4270
  */
2055
- ping_env_id?: string;
4271
+ previous_certificate?: unknown | null;
4272
+ }
4273
+ namespace SAMLCertificateSet {
4274
+ /**
4275
+ * The currently active certificate used for encrypting SAML assertions
4276
+ */
4277
+ interface CurrentCertificate {
4278
+ /**
4279
+ * Indicates whether this is the currently active certificate
4280
+ */
4281
+ is_current: boolean;
4282
+ /**
4283
+ * Certificate expiration date. Certificates are automatically rotated 30 days
4284
+ * before expiration.
4285
+ */
4286
+ not_after: string;
4287
+ /**
4288
+ * PEM-encoded X.509 certificate containing the public key. Configure this
4289
+ * certificate in your external SAML Identity Provider to enable encryption.
4290
+ */
4291
+ public_certificate: string;
4292
+ /**
4293
+ * Unique identifier for the certificate
4294
+ */
4295
+ uid: string;
4296
+ }
2056
4297
  }
2057
4298
  }
2058
- interface AccessSAML {
4299
+ interface AccessCloudflare {
2059
4300
  /**
2060
4301
  * The configuration parameters for the identity provider. To view the required
2061
4302
  * parameters for a specific provider, refer to our
2062
4303
  * [developer documentation](https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/).
2063
4304
  */
2064
- config: AccessSAML.Config;
4305
+ config: AccessCloudflare.Config;
2065
4306
  /**
2066
4307
  * The name of the identity provider, shown to users on the login page.
2067
4308
  */
@@ -2076,91 +4317,94 @@ export declare namespace IdentityProviderListResponse {
2076
4317
  * UUID.
2077
4318
  */
2078
4319
  id?: string;
4320
+ /**
4321
+ * The SAML encryption certificate set details, including current and previous
4322
+ * certificates. Only present for SAML identity providers with a certificate set
4323
+ * assigned.
4324
+ */
4325
+ saml_certificate_set?: AccessCloudflare.SAMLCertificateSet;
4326
+ /**
4327
+ * The UID of the SAML encryption certificate set assigned to this Identity
4328
+ * Provider. Only present for SAML identity providers with encryption configured.
4329
+ * Create a certificate set via POST to
4330
+ * `/identity_providers/{id}/saml_certificate`.
4331
+ */
4332
+ saml_certificate_set_id?: string;
2079
4333
  /**
2080
4334
  * The configuration settings for enabling a System for Cross-Domain Identity
2081
4335
  * Management (SCIM) with the identity provider.
2082
4336
  */
2083
4337
  scim_config?: IdentityProvidersAPI.IdentityProviderSCIMConfig;
2084
4338
  }
2085
- namespace AccessSAML {
4339
+ namespace AccessCloudflare {
2086
4340
  /**
2087
4341
  * The configuration parameters for the identity provider. To view the required
2088
4342
  * parameters for a specific provider, refer to our
2089
4343
  * [developer documentation](https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/).
2090
4344
  */
2091
4345
  interface Config {
4346
+ redirect_url?: string;
2092
4347
  /**
2093
- * A list of SAML attribute names that will be added to your signed JWT token and
2094
- * can be used in SAML policy rules.
4348
+ * When enabled, only users who are members of your Cloudflare account can
4349
+ * authenticate through this identity provider. When disabled, any user with a
4350
+ * Cloudflare account can authenticate, subject to your Access policies.
2095
4351
  */
2096
- attributes?: Array<string>;
4352
+ restrict_to_account_members?: boolean;
4353
+ }
4354
+ /**
4355
+ * The SAML encryption certificate set details, including current and previous
4356
+ * certificates. Only present for SAML identity providers with a certificate set
4357
+ * assigned.
4358
+ */
4359
+ interface SAMLCertificateSet {
2097
4360
  /**
2098
- * The attribute name for email in the SAML response.
4361
+ * Timestamp when the certificate set was created
2099
4362
  */
2100
- email_attribute_name?: string;
4363
+ created_at: string;
2101
4364
  /**
2102
- * Add a list of attribute names that will be returned in the response header from
2103
- * the Access callback.
4365
+ * Unique identifier for the certificate set
2104
4366
  */
2105
- header_attributes?: Array<Config.HeaderAttribute>;
4367
+ uid: string;
2106
4368
  /**
2107
- * X509 certificate to verify the signature in the SAML authentication response
4369
+ * Timestamp when the certificate set was last updated (e.g., during rotation)
2108
4370
  */
2109
- idp_public_certs?: Array<string>;
4371
+ updated_at: string;
2110
4372
  /**
2111
- * IdP Entity ID or Issuer URL
4373
+ * The currently active certificate used for encrypting SAML assertions
2112
4374
  */
2113
- issuer_url?: string;
4375
+ current_certificate?: SAMLCertificateSet.CurrentCertificate;
2114
4376
  /**
2115
- * Sign the SAML authentication request with Access credentials. To verify the
2116
- * signature, use the public key from the Access certs endpoints.
4377
+ * The previous certificate, maintained during rotation to ensure continuity. Null
4378
+ * if no rotation has occurred. Mirrors the structure of `saml_certificate`.
2117
4379
  */
2118
- sign_request?: boolean;
4380
+ previous_certificate?: unknown | null;
4381
+ }
4382
+ namespace SAMLCertificateSet {
2119
4383
  /**
2120
- * URL to send the SAML authentication requests to
4384
+ * The currently active certificate used for encrypting SAML assertions
2121
4385
  */
2122
- sso_target_url?: string;
2123
- }
2124
- namespace Config {
2125
- interface HeaderAttribute {
4386
+ interface CurrentCertificate {
2126
4387
  /**
2127
- * attribute name from the IDP
4388
+ * Indicates whether this is the currently active certificate
2128
4389
  */
2129
- attribute_name?: string;
4390
+ is_current: boolean;
2130
4391
  /**
2131
- * header that will be added on the request to the origin
4392
+ * Certificate expiration date. Certificates are automatically rotated 30 days
4393
+ * before expiration.
2132
4394
  */
2133
- header_name?: string;
4395
+ not_after: string;
4396
+ /**
4397
+ * PEM-encoded X.509 certificate containing the public key. Configure this
4398
+ * certificate in your external SAML Identity Provider to enable encryption.
4399
+ */
4400
+ public_certificate: string;
4401
+ /**
4402
+ * Unique identifier for the certificate
4403
+ */
4404
+ uid: string;
2134
4405
  }
2135
4406
  }
2136
4407
  }
2137
- interface AccessYandex {
2138
- /**
2139
- * The configuration parameters for the identity provider. To view the required
2140
- * parameters for a specific provider, refer to our
2141
- * [developer documentation](https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/).
2142
- */
2143
- config: IdentityProvidersAPI.GenericOAuthConfig;
2144
- /**
2145
- * The name of the identity provider, shown to users on the login page.
2146
- */
2147
- name: string;
2148
- /**
2149
- * The type of identity provider. To determine the value for a specific provider,
2150
- * refer to our
2151
- * [developer documentation](https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/).
2152
- */
2153
- type: IdentityProvidersAPI.IdentityProviderType;
2154
- /**
2155
- * UUID.
2156
- */
2157
- id?: string;
2158
- /**
2159
- * The configuration settings for enabling a System for Cross-Domain Identity
2160
- * Management (SCIM) with the identity provider.
2161
- */
2162
- scim_config?: IdentityProvidersAPI.IdentityProviderSCIMConfig;
2163
- }
2164
4408
  }
2165
4409
  export interface IdentityProviderDeleteResponse {
2166
4410
  /**
@@ -2168,7 +4412,7 @@ export interface IdentityProviderDeleteResponse {
2168
4412
  */
2169
4413
  id?: string;
2170
4414
  }
2171
- export type IdentityProviderCreateParams = IdentityProviderCreateParams.AzureAD | IdentityProviderCreateParams.AccessCentrify | IdentityProviderCreateParams.AccessFacebook | IdentityProviderCreateParams.AccessGitHub | IdentityProviderCreateParams.AccessGoogle | IdentityProviderCreateParams.AccessGoogleApps | IdentityProviderCreateParams.AccessLinkedin | IdentityProviderCreateParams.AccessOIDC | IdentityProviderCreateParams.AccessOkta | IdentityProviderCreateParams.AccessOnelogin | IdentityProviderCreateParams.AccessPingone | IdentityProviderCreateParams.AccessSAML | IdentityProviderCreateParams.AccessYandex | IdentityProviderCreateParams.AccessOnetimepin;
4415
+ export type IdentityProviderCreateParams = IdentityProviderCreateParams.AzureAD | IdentityProviderCreateParams.AccessCentrify | IdentityProviderCreateParams.AccessFacebook | IdentityProviderCreateParams.AccessGitHub | IdentityProviderCreateParams.AccessGoogle | IdentityProviderCreateParams.AccessGoogleApps | IdentityProviderCreateParams.AccessLinkedin | IdentityProviderCreateParams.AccessOIDC | IdentityProviderCreateParams.AccessOkta | IdentityProviderCreateParams.AccessOnelogin | IdentityProviderCreateParams.AccessPingone | IdentityProviderCreateParams.AccessSAML | IdentityProviderCreateParams.AccessYandex | IdentityProviderCreateParams.AccessOnetimepin | IdentityProviderCreateParams.AccessCloudflare;
2172
4416
  export declare namespace IdentityProviderCreateParams {
2173
4417
  interface AzureAD {
2174
4418
  /**
@@ -2197,6 +4441,13 @@ export declare namespace IdentityProviderCreateParams {
2197
4441
  * Account ID.
2198
4442
  */
2199
4443
  zone_id?: string;
4444
+ /**
4445
+ * Body param: The UID of the SAML encryption certificate set assigned to this
4446
+ * Identity Provider. Only present for SAML identity providers with encryption
4447
+ * configured. Create a certificate set via POST to
4448
+ * `/identity_providers/{id}/saml_certificate`.
4449
+ */
4450
+ saml_certificate_set_id?: string;
2200
4451
  /**
2201
4452
  * Body param: The configuration settings for enabling a System for Cross-Domain
2202
4453
  * Identity Management (SCIM) with the identity provider.
@@ -2278,6 +4529,13 @@ export declare namespace IdentityProviderCreateParams {
2278
4529
  * Account ID.
2279
4530
  */
2280
4531
  zone_id?: string;
4532
+ /**
4533
+ * Body param: The UID of the SAML encryption certificate set assigned to this
4534
+ * Identity Provider. Only present for SAML identity providers with encryption
4535
+ * configured. Create a certificate set via POST to
4536
+ * `/identity_providers/{id}/saml_certificate`.
4537
+ */
4538
+ saml_certificate_set_id?: string;
2281
4539
  /**
2282
4540
  * Body param: The configuration settings for enabling a System for Cross-Domain
2283
4541
  * Identity Management (SCIM) with the identity provider.
@@ -2344,6 +4602,13 @@ export declare namespace IdentityProviderCreateParams {
2344
4602
  * Account ID.
2345
4603
  */
2346
4604
  zone_id?: string;
4605
+ /**
4606
+ * Body param: The UID of the SAML encryption certificate set assigned to this
4607
+ * Identity Provider. Only present for SAML identity providers with encryption
4608
+ * configured. Create a certificate set via POST to
4609
+ * `/identity_providers/{id}/saml_certificate`.
4610
+ */
4611
+ saml_certificate_set_id?: string;
2347
4612
  /**
2348
4613
  * Body param: The configuration settings for enabling a System for Cross-Domain
2349
4614
  * Identity Management (SCIM) with the identity provider.
@@ -2377,6 +4642,13 @@ export declare namespace IdentityProviderCreateParams {
2377
4642
  * Account ID.
2378
4643
  */
2379
4644
  zone_id?: string;
4645
+ /**
4646
+ * Body param: The UID of the SAML encryption certificate set assigned to this
4647
+ * Identity Provider. Only present for SAML identity providers with encryption
4648
+ * configured. Create a certificate set via POST to
4649
+ * `/identity_providers/{id}/saml_certificate`.
4650
+ */
4651
+ saml_certificate_set_id?: string;
2380
4652
  /**
2381
4653
  * Body param: The configuration settings for enabling a System for Cross-Domain
2382
4654
  * Identity Management (SCIM) with the identity provider.
@@ -2410,6 +4682,13 @@ export declare namespace IdentityProviderCreateParams {
2410
4682
  * Account ID.
2411
4683
  */
2412
4684
  zone_id?: string;
4685
+ /**
4686
+ * Body param: The UID of the SAML encryption certificate set assigned to this
4687
+ * Identity Provider. Only present for SAML identity providers with encryption
4688
+ * configured. Create a certificate set via POST to
4689
+ * `/identity_providers/{id}/saml_certificate`.
4690
+ */
4691
+ saml_certificate_set_id?: string;
2413
4692
  /**
2414
4693
  * Body param: The configuration settings for enabling a System for Cross-Domain
2415
4694
  * Identity Management (SCIM) with the identity provider.
@@ -2468,6 +4747,13 @@ export declare namespace IdentityProviderCreateParams {
2468
4747
  * Account ID.
2469
4748
  */
2470
4749
  zone_id?: string;
4750
+ /**
4751
+ * Body param: The UID of the SAML encryption certificate set assigned to this
4752
+ * Identity Provider. Only present for SAML identity providers with encryption
4753
+ * configured. Create a certificate set via POST to
4754
+ * `/identity_providers/{id}/saml_certificate`.
4755
+ */
4756
+ saml_certificate_set_id?: string;
2471
4757
  /**
2472
4758
  * Body param: The configuration settings for enabling a System for Cross-Domain
2473
4759
  * Identity Management (SCIM) with the identity provider.
@@ -2530,6 +4816,13 @@ export declare namespace IdentityProviderCreateParams {
2530
4816
  * Account ID.
2531
4817
  */
2532
4818
  zone_id?: string;
4819
+ /**
4820
+ * Body param: The UID of the SAML encryption certificate set assigned to this
4821
+ * Identity Provider. Only present for SAML identity providers with encryption
4822
+ * configured. Create a certificate set via POST to
4823
+ * `/identity_providers/{id}/saml_certificate`.
4824
+ */
4825
+ saml_certificate_set_id?: string;
2533
4826
  /**
2534
4827
  * Body param: The configuration settings for enabling a System for Cross-Domain
2535
4828
  * Identity Management (SCIM) with the identity provider.
@@ -2563,6 +4856,13 @@ export declare namespace IdentityProviderCreateParams {
2563
4856
  * Account ID.
2564
4857
  */
2565
4858
  zone_id?: string;
4859
+ /**
4860
+ * Body param: The UID of the SAML encryption certificate set assigned to this
4861
+ * Identity Provider. Only present for SAML identity providers with encryption
4862
+ * configured. Create a certificate set via POST to
4863
+ * `/identity_providers/{id}/saml_certificate`.
4864
+ */
4865
+ saml_certificate_set_id?: string;
2566
4866
  /**
2567
4867
  * Body param: The configuration settings for enabling a System for Cross-Domain
2568
4868
  * Identity Management (SCIM) with the identity provider.
@@ -2641,6 +4941,13 @@ export declare namespace IdentityProviderCreateParams {
2641
4941
  * Account ID.
2642
4942
  */
2643
4943
  zone_id?: string;
4944
+ /**
4945
+ * Body param: The UID of the SAML encryption certificate set assigned to this
4946
+ * Identity Provider. Only present for SAML identity providers with encryption
4947
+ * configured. Create a certificate set via POST to
4948
+ * `/identity_providers/{id}/saml_certificate`.
4949
+ */
4950
+ saml_certificate_set_id?: string;
2644
4951
  /**
2645
4952
  * Body param: The configuration settings for enabling a System for Cross-Domain
2646
4953
  * Identity Management (SCIM) with the identity provider.
@@ -2707,6 +5014,13 @@ export declare namespace IdentityProviderCreateParams {
2707
5014
  * Account ID.
2708
5015
  */
2709
5016
  zone_id?: string;
5017
+ /**
5018
+ * Body param: The UID of the SAML encryption certificate set assigned to this
5019
+ * Identity Provider. Only present for SAML identity providers with encryption
5020
+ * configured. Create a certificate set via POST to
5021
+ * `/identity_providers/{id}/saml_certificate`.
5022
+ */
5023
+ saml_certificate_set_id?: string;
2710
5024
  /**
2711
5025
  * Body param: The configuration settings for enabling a System for Cross-Domain
2712
5026
  * Identity Management (SCIM) with the identity provider.
@@ -2769,6 +5083,13 @@ export declare namespace IdentityProviderCreateParams {
2769
5083
  * Account ID.
2770
5084
  */
2771
5085
  zone_id?: string;
5086
+ /**
5087
+ * Body param: The UID of the SAML encryption certificate set assigned to this
5088
+ * Identity Provider. Only present for SAML identity providers with encryption
5089
+ * configured. Create a certificate set via POST to
5090
+ * `/identity_providers/{id}/saml_certificate`.
5091
+ */
5092
+ saml_certificate_set_id?: string;
2772
5093
  /**
2773
5094
  * Body param: The configuration settings for enabling a System for Cross-Domain
2774
5095
  * Identity Management (SCIM) with the identity provider.
@@ -2831,6 +5152,13 @@ export declare namespace IdentityProviderCreateParams {
2831
5152
  * Account ID.
2832
5153
  */
2833
5154
  zone_id?: string;
5155
+ /**
5156
+ * Body param: The UID of the SAML encryption certificate set assigned to this
5157
+ * Identity Provider. Only present for SAML identity providers with encryption
5158
+ * configured. Create a certificate set via POST to
5159
+ * `/identity_providers/{id}/saml_certificate`.
5160
+ */
5161
+ saml_certificate_set_id?: string;
2834
5162
  /**
2835
5163
  * Body param: The configuration settings for enabling a System for Cross-Domain
2836
5164
  * Identity Management (SCIM) with the identity provider.
@@ -2853,6 +5181,21 @@ export declare namespace IdentityProviderCreateParams {
2853
5181
  * The attribute name for email in the SAML response.
2854
5182
  */
2855
5183
  email_attribute_name?: string;
5184
+ /**
5185
+ * Enable SAML assertion encryption. When enabled, the Identity Provider will
5186
+ * encrypt SAML assertions using the certificate from the assigned certificate set.
5187
+ *
5188
+ * To enable encryption:
5189
+ *
5190
+ * 1. Create a certificate set via POST to
5191
+ * `/identity_providers/{id}/saml_certificate`
5192
+ * 2. Set this field to `true` and include `saml_certificate_set_id` in the PUT
5193
+ * request
5194
+ * 3. Configure the public certificate in your external Identity Provider
5195
+ *
5196
+ * Note: Requires `saml_certificate_set_id` to be set when `true`.
5197
+ */
5198
+ enable_encryption?: boolean;
2856
5199
  /**
2857
5200
  * Add a list of attribute names that will be returned in the response header from
2858
5201
  * the Access callback.
@@ -2916,6 +5259,13 @@ export declare namespace IdentityProviderCreateParams {
2916
5259
  * Account ID.
2917
5260
  */
2918
5261
  zone_id?: string;
5262
+ /**
5263
+ * Body param: The UID of the SAML encryption certificate set assigned to this
5264
+ * Identity Provider. Only present for SAML identity providers with encryption
5265
+ * configured. Create a certificate set via POST to
5266
+ * `/identity_providers/{id}/saml_certificate`.
5267
+ */
5268
+ saml_certificate_set_id?: string;
2919
5269
  /**
2920
5270
  * Body param: The configuration settings for enabling a System for Cross-Domain
2921
5271
  * Identity Management (SCIM) with the identity provider.
@@ -2949,6 +5299,13 @@ export declare namespace IdentityProviderCreateParams {
2949
5299
  * Account ID.
2950
5300
  */
2951
5301
  zone_id?: string;
5302
+ /**
5303
+ * Body param: The UID of the SAML encryption certificate set assigned to this
5304
+ * Identity Provider. Only present for SAML identity providers with encryption
5305
+ * configured. Create a certificate set via POST to
5306
+ * `/identity_providers/{id}/saml_certificate`.
5307
+ */
5308
+ saml_certificate_set_id?: string;
2952
5309
  /**
2953
5310
  * Body param: The configuration settings for enabling a System for Cross-Domain
2954
5311
  * Identity Management (SCIM) with the identity provider.
@@ -2964,8 +5321,63 @@ export declare namespace IdentityProviderCreateParams {
2964
5321
  interface Config {
2965
5322
  }
2966
5323
  }
5324
+ interface AccessCloudflare {
5325
+ /**
5326
+ * Body param: The configuration parameters for the identity provider. To view the
5327
+ * required parameters for a specific provider, refer to our
5328
+ * [developer documentation](https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/).
5329
+ */
5330
+ config: AccessCloudflare.Config;
5331
+ /**
5332
+ * Body param: The name of the identity provider, shown to users on the login page.
5333
+ */
5334
+ name: string;
5335
+ /**
5336
+ * Body param: The type of identity provider. To determine the value for a specific
5337
+ * provider, refer to our
5338
+ * [developer documentation](https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/).
5339
+ */
5340
+ type: IdentityProviderTypeParam;
5341
+ /**
5342
+ * Path param: The Account ID to use for this endpoint. Mutually exclusive with the
5343
+ * Zone ID.
5344
+ */
5345
+ account_id?: string;
5346
+ /**
5347
+ * Path param: The Zone ID to use for this endpoint. Mutually exclusive with the
5348
+ * Account ID.
5349
+ */
5350
+ zone_id?: string;
5351
+ /**
5352
+ * Body param: The UID of the SAML encryption certificate set assigned to this
5353
+ * Identity Provider. Only present for SAML identity providers with encryption
5354
+ * configured. Create a certificate set via POST to
5355
+ * `/identity_providers/{id}/saml_certificate`.
5356
+ */
5357
+ saml_certificate_set_id?: string;
5358
+ /**
5359
+ * Body param: The configuration settings for enabling a System for Cross-Domain
5360
+ * Identity Management (SCIM) with the identity provider.
5361
+ */
5362
+ scim_config?: IdentityProviderSCIMConfigParam;
5363
+ }
5364
+ namespace AccessCloudflare {
5365
+ /**
5366
+ * The configuration parameters for the identity provider. To view the required
5367
+ * parameters for a specific provider, refer to our
5368
+ * [developer documentation](https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/).
5369
+ */
5370
+ interface Config {
5371
+ /**
5372
+ * When enabled, only users who are members of your Cloudflare account can
5373
+ * authenticate through this identity provider. When disabled, any user with a
5374
+ * Cloudflare account can authenticate, subject to your Access policies.
5375
+ */
5376
+ restrict_to_account_members?: boolean;
5377
+ }
5378
+ }
2967
5379
  }
2968
- export type IdentityProviderUpdateParams = IdentityProviderUpdateParams.AzureAD | IdentityProviderUpdateParams.AccessCentrify | IdentityProviderUpdateParams.AccessFacebook | IdentityProviderUpdateParams.AccessGitHub | IdentityProviderUpdateParams.AccessGoogle | IdentityProviderUpdateParams.AccessGoogleApps | IdentityProviderUpdateParams.AccessLinkedin | IdentityProviderUpdateParams.AccessOIDC | IdentityProviderUpdateParams.AccessOkta | IdentityProviderUpdateParams.AccessOnelogin | IdentityProviderUpdateParams.AccessPingone | IdentityProviderUpdateParams.AccessSAML | IdentityProviderUpdateParams.AccessYandex | IdentityProviderUpdateParams.AccessOnetimepin;
5380
+ export type IdentityProviderUpdateParams = IdentityProviderUpdateParams.AzureAD | IdentityProviderUpdateParams.AccessCentrify | IdentityProviderUpdateParams.AccessFacebook | IdentityProviderUpdateParams.AccessGitHub | IdentityProviderUpdateParams.AccessGoogle | IdentityProviderUpdateParams.AccessGoogleApps | IdentityProviderUpdateParams.AccessLinkedin | IdentityProviderUpdateParams.AccessOIDC | IdentityProviderUpdateParams.AccessOkta | IdentityProviderUpdateParams.AccessOnelogin | IdentityProviderUpdateParams.AccessPingone | IdentityProviderUpdateParams.AccessSAML | IdentityProviderUpdateParams.AccessYandex | IdentityProviderUpdateParams.AccessOnetimepin | IdentityProviderUpdateParams.AccessCloudflare;
2969
5381
  export declare namespace IdentityProviderUpdateParams {
2970
5382
  interface AzureAD {
2971
5383
  /**
@@ -2994,6 +5406,13 @@ export declare namespace IdentityProviderUpdateParams {
2994
5406
  * Account ID.
2995
5407
  */
2996
5408
  zone_id?: string;
5409
+ /**
5410
+ * Body param: The UID of the SAML encryption certificate set assigned to this
5411
+ * Identity Provider. Only present for SAML identity providers with encryption
5412
+ * configured. Create a certificate set via POST to
5413
+ * `/identity_providers/{id}/saml_certificate`.
5414
+ */
5415
+ saml_certificate_set_id?: string;
2997
5416
  /**
2998
5417
  * Body param: The configuration settings for enabling a System for Cross-Domain
2999
5418
  * Identity Management (SCIM) with the identity provider.
@@ -3075,6 +5494,13 @@ export declare namespace IdentityProviderUpdateParams {
3075
5494
  * Account ID.
3076
5495
  */
3077
5496
  zone_id?: string;
5497
+ /**
5498
+ * Body param: The UID of the SAML encryption certificate set assigned to this
5499
+ * Identity Provider. Only present for SAML identity providers with encryption
5500
+ * configured. Create a certificate set via POST to
5501
+ * `/identity_providers/{id}/saml_certificate`.
5502
+ */
5503
+ saml_certificate_set_id?: string;
3078
5504
  /**
3079
5505
  * Body param: The configuration settings for enabling a System for Cross-Domain
3080
5506
  * Identity Management (SCIM) with the identity provider.
@@ -3141,6 +5567,13 @@ export declare namespace IdentityProviderUpdateParams {
3141
5567
  * Account ID.
3142
5568
  */
3143
5569
  zone_id?: string;
5570
+ /**
5571
+ * Body param: The UID of the SAML encryption certificate set assigned to this
5572
+ * Identity Provider. Only present for SAML identity providers with encryption
5573
+ * configured. Create a certificate set via POST to
5574
+ * `/identity_providers/{id}/saml_certificate`.
5575
+ */
5576
+ saml_certificate_set_id?: string;
3144
5577
  /**
3145
5578
  * Body param: The configuration settings for enabling a System for Cross-Domain
3146
5579
  * Identity Management (SCIM) with the identity provider.
@@ -3174,6 +5607,13 @@ export declare namespace IdentityProviderUpdateParams {
3174
5607
  * Account ID.
3175
5608
  */
3176
5609
  zone_id?: string;
5610
+ /**
5611
+ * Body param: The UID of the SAML encryption certificate set assigned to this
5612
+ * Identity Provider. Only present for SAML identity providers with encryption
5613
+ * configured. Create a certificate set via POST to
5614
+ * `/identity_providers/{id}/saml_certificate`.
5615
+ */
5616
+ saml_certificate_set_id?: string;
3177
5617
  /**
3178
5618
  * Body param: The configuration settings for enabling a System for Cross-Domain
3179
5619
  * Identity Management (SCIM) with the identity provider.
@@ -3207,6 +5647,13 @@ export declare namespace IdentityProviderUpdateParams {
3207
5647
  * Account ID.
3208
5648
  */
3209
5649
  zone_id?: string;
5650
+ /**
5651
+ * Body param: The UID of the SAML encryption certificate set assigned to this
5652
+ * Identity Provider. Only present for SAML identity providers with encryption
5653
+ * configured. Create a certificate set via POST to
5654
+ * `/identity_providers/{id}/saml_certificate`.
5655
+ */
5656
+ saml_certificate_set_id?: string;
3210
5657
  /**
3211
5658
  * Body param: The configuration settings for enabling a System for Cross-Domain
3212
5659
  * Identity Management (SCIM) with the identity provider.
@@ -3265,6 +5712,13 @@ export declare namespace IdentityProviderUpdateParams {
3265
5712
  * Account ID.
3266
5713
  */
3267
5714
  zone_id?: string;
5715
+ /**
5716
+ * Body param: The UID of the SAML encryption certificate set assigned to this
5717
+ * Identity Provider. Only present for SAML identity providers with encryption
5718
+ * configured. Create a certificate set via POST to
5719
+ * `/identity_providers/{id}/saml_certificate`.
5720
+ */
5721
+ saml_certificate_set_id?: string;
3268
5722
  /**
3269
5723
  * Body param: The configuration settings for enabling a System for Cross-Domain
3270
5724
  * Identity Management (SCIM) with the identity provider.
@@ -3327,6 +5781,13 @@ export declare namespace IdentityProviderUpdateParams {
3327
5781
  * Account ID.
3328
5782
  */
3329
5783
  zone_id?: string;
5784
+ /**
5785
+ * Body param: The UID of the SAML encryption certificate set assigned to this
5786
+ * Identity Provider. Only present for SAML identity providers with encryption
5787
+ * configured. Create a certificate set via POST to
5788
+ * `/identity_providers/{id}/saml_certificate`.
5789
+ */
5790
+ saml_certificate_set_id?: string;
3330
5791
  /**
3331
5792
  * Body param: The configuration settings for enabling a System for Cross-Domain
3332
5793
  * Identity Management (SCIM) with the identity provider.
@@ -3360,6 +5821,13 @@ export declare namespace IdentityProviderUpdateParams {
3360
5821
  * Account ID.
3361
5822
  */
3362
5823
  zone_id?: string;
5824
+ /**
5825
+ * Body param: The UID of the SAML encryption certificate set assigned to this
5826
+ * Identity Provider. Only present for SAML identity providers with encryption
5827
+ * configured. Create a certificate set via POST to
5828
+ * `/identity_providers/{id}/saml_certificate`.
5829
+ */
5830
+ saml_certificate_set_id?: string;
3363
5831
  /**
3364
5832
  * Body param: The configuration settings for enabling a System for Cross-Domain
3365
5833
  * Identity Management (SCIM) with the identity provider.
@@ -3438,6 +5906,13 @@ export declare namespace IdentityProviderUpdateParams {
3438
5906
  * Account ID.
3439
5907
  */
3440
5908
  zone_id?: string;
5909
+ /**
5910
+ * Body param: The UID of the SAML encryption certificate set assigned to this
5911
+ * Identity Provider. Only present for SAML identity providers with encryption
5912
+ * configured. Create a certificate set via POST to
5913
+ * `/identity_providers/{id}/saml_certificate`.
5914
+ */
5915
+ saml_certificate_set_id?: string;
3441
5916
  /**
3442
5917
  * Body param: The configuration settings for enabling a System for Cross-Domain
3443
5918
  * Identity Management (SCIM) with the identity provider.
@@ -3504,6 +5979,13 @@ export declare namespace IdentityProviderUpdateParams {
3504
5979
  * Account ID.
3505
5980
  */
3506
5981
  zone_id?: string;
5982
+ /**
5983
+ * Body param: The UID of the SAML encryption certificate set assigned to this
5984
+ * Identity Provider. Only present for SAML identity providers with encryption
5985
+ * configured. Create a certificate set via POST to
5986
+ * `/identity_providers/{id}/saml_certificate`.
5987
+ */
5988
+ saml_certificate_set_id?: string;
3507
5989
  /**
3508
5990
  * Body param: The configuration settings for enabling a System for Cross-Domain
3509
5991
  * Identity Management (SCIM) with the identity provider.
@@ -3566,6 +6048,13 @@ export declare namespace IdentityProviderUpdateParams {
3566
6048
  * Account ID.
3567
6049
  */
3568
6050
  zone_id?: string;
6051
+ /**
6052
+ * Body param: The UID of the SAML encryption certificate set assigned to this
6053
+ * Identity Provider. Only present for SAML identity providers with encryption
6054
+ * configured. Create a certificate set via POST to
6055
+ * `/identity_providers/{id}/saml_certificate`.
6056
+ */
6057
+ saml_certificate_set_id?: string;
3569
6058
  /**
3570
6059
  * Body param: The configuration settings for enabling a System for Cross-Domain
3571
6060
  * Identity Management (SCIM) with the identity provider.
@@ -3628,6 +6117,13 @@ export declare namespace IdentityProviderUpdateParams {
3628
6117
  * Account ID.
3629
6118
  */
3630
6119
  zone_id?: string;
6120
+ /**
6121
+ * Body param: The UID of the SAML encryption certificate set assigned to this
6122
+ * Identity Provider. Only present for SAML identity providers with encryption
6123
+ * configured. Create a certificate set via POST to
6124
+ * `/identity_providers/{id}/saml_certificate`.
6125
+ */
6126
+ saml_certificate_set_id?: string;
3631
6127
  /**
3632
6128
  * Body param: The configuration settings for enabling a System for Cross-Domain
3633
6129
  * Identity Management (SCIM) with the identity provider.
@@ -3650,6 +6146,21 @@ export declare namespace IdentityProviderUpdateParams {
3650
6146
  * The attribute name for email in the SAML response.
3651
6147
  */
3652
6148
  email_attribute_name?: string;
6149
+ /**
6150
+ * Enable SAML assertion encryption. When enabled, the Identity Provider will
6151
+ * encrypt SAML assertions using the certificate from the assigned certificate set.
6152
+ *
6153
+ * To enable encryption:
6154
+ *
6155
+ * 1. Create a certificate set via POST to
6156
+ * `/identity_providers/{id}/saml_certificate`
6157
+ * 2. Set this field to `true` and include `saml_certificate_set_id` in the PUT
6158
+ * request
6159
+ * 3. Configure the public certificate in your external Identity Provider
6160
+ *
6161
+ * Note: Requires `saml_certificate_set_id` to be set when `true`.
6162
+ */
6163
+ enable_encryption?: boolean;
3653
6164
  /**
3654
6165
  * Add a list of attribute names that will be returned in the response header from
3655
6166
  * the Access callback.
@@ -3713,6 +6224,13 @@ export declare namespace IdentityProviderUpdateParams {
3713
6224
  * Account ID.
3714
6225
  */
3715
6226
  zone_id?: string;
6227
+ /**
6228
+ * Body param: The UID of the SAML encryption certificate set assigned to this
6229
+ * Identity Provider. Only present for SAML identity providers with encryption
6230
+ * configured. Create a certificate set via POST to
6231
+ * `/identity_providers/{id}/saml_certificate`.
6232
+ */
6233
+ saml_certificate_set_id?: string;
3716
6234
  /**
3717
6235
  * Body param: The configuration settings for enabling a System for Cross-Domain
3718
6236
  * Identity Management (SCIM) with the identity provider.
@@ -3746,6 +6264,13 @@ export declare namespace IdentityProviderUpdateParams {
3746
6264
  * Account ID.
3747
6265
  */
3748
6266
  zone_id?: string;
6267
+ /**
6268
+ * Body param: The UID of the SAML encryption certificate set assigned to this
6269
+ * Identity Provider. Only present for SAML identity providers with encryption
6270
+ * configured. Create a certificate set via POST to
6271
+ * `/identity_providers/{id}/saml_certificate`.
6272
+ */
6273
+ saml_certificate_set_id?: string;
3749
6274
  /**
3750
6275
  * Body param: The configuration settings for enabling a System for Cross-Domain
3751
6276
  * Identity Management (SCIM) with the identity provider.
@@ -3761,6 +6286,61 @@ export declare namespace IdentityProviderUpdateParams {
3761
6286
  interface Config {
3762
6287
  }
3763
6288
  }
6289
+ interface AccessCloudflare {
6290
+ /**
6291
+ * Body param: The configuration parameters for the identity provider. To view the
6292
+ * required parameters for a specific provider, refer to our
6293
+ * [developer documentation](https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/).
6294
+ */
6295
+ config: AccessCloudflare.Config;
6296
+ /**
6297
+ * Body param: The name of the identity provider, shown to users on the login page.
6298
+ */
6299
+ name: string;
6300
+ /**
6301
+ * Body param: The type of identity provider. To determine the value for a specific
6302
+ * provider, refer to our
6303
+ * [developer documentation](https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/).
6304
+ */
6305
+ type: IdentityProviderTypeParam;
6306
+ /**
6307
+ * Path param: The Account ID to use for this endpoint. Mutually exclusive with the
6308
+ * Zone ID.
6309
+ */
6310
+ account_id?: string;
6311
+ /**
6312
+ * Path param: The Zone ID to use for this endpoint. Mutually exclusive with the
6313
+ * Account ID.
6314
+ */
6315
+ zone_id?: string;
6316
+ /**
6317
+ * Body param: The UID of the SAML encryption certificate set assigned to this
6318
+ * Identity Provider. Only present for SAML identity providers with encryption
6319
+ * configured. Create a certificate set via POST to
6320
+ * `/identity_providers/{id}/saml_certificate`.
6321
+ */
6322
+ saml_certificate_set_id?: string;
6323
+ /**
6324
+ * Body param: The configuration settings for enabling a System for Cross-Domain
6325
+ * Identity Management (SCIM) with the identity provider.
6326
+ */
6327
+ scim_config?: IdentityProviderSCIMConfigParam;
6328
+ }
6329
+ namespace AccessCloudflare {
6330
+ /**
6331
+ * The configuration parameters for the identity provider. To view the required
6332
+ * parameters for a specific provider, refer to our
6333
+ * [developer documentation](https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/).
6334
+ */
6335
+ interface Config {
6336
+ /**
6337
+ * When enabled, only users who are members of your Cloudflare account can
6338
+ * authenticate through this identity provider. When disabled, any user with a
6339
+ * Cloudflare account can authenticate, subject to your Access policies.
6340
+ */
6341
+ restrict_to_account_members?: boolean;
6342
+ }
6343
+ }
3764
6344
  }
3765
6345
  export interface IdentityProviderListParams extends V4PagePaginationArrayParams {
3766
6346
  /**
@@ -3802,5 +6382,6 @@ export interface IdentityProviderGetParams {
3802
6382
  export declare namespace IdentityProviders {
3803
6383
  export { type AzureAD as AzureAD, type GenericOAuthConfig as GenericOAuthConfig, type IdentityProvider as IdentityProvider, type IdentityProviderSCIMConfig as IdentityProviderSCIMConfig, type IdentityProviderType as IdentityProviderType, type IdentityProviderListResponse as IdentityProviderListResponse, type IdentityProviderDeleteResponse as IdentityProviderDeleteResponse, IdentityProviderListResponsesV4PagePaginationArray as IdentityProviderListResponsesV4PagePaginationArray, type IdentityProviderCreateParams as IdentityProviderCreateParams, type IdentityProviderUpdateParams as IdentityProviderUpdateParams, type IdentityProviderListParams as IdentityProviderListParams, type IdentityProviderDeleteParams as IdentityProviderDeleteParams, type IdentityProviderGetParams as IdentityProviderGetParams, };
3804
6384
  export { SCIM as SCIM };
6385
+ export { SAMLCertificate as SAMLCertificate, type SAMLCertificateCreateResponse as SAMLCertificateCreateResponse, type SAMLCertificateCreateParams as SAMLCertificateCreateParams, };
3805
6386
  }
3806
6387
  //# sourceMappingURL=identity-providers.d.ts.map