@descope/pulumi-descope 0.2.0 → 0.3.2

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.
package/types/input.d.ts CHANGED
@@ -126,7 +126,7 @@ export interface ProjectApplicationsSamlApplicationManualConfiguration {
126
126
  /**
127
127
  * Enter the `Certificate` from the SP.
128
128
  */
129
- certificate: pulumi.Input<string>;
129
+ certificate?: pulumi.Input<string>;
130
130
  /**
131
131
  * Enter the `Entity Id` from the SP.
132
132
  */
@@ -148,7 +148,11 @@ export interface ProjectAttributesTenant {
148
148
  */
149
149
  authorization?: pulumi.Input<inputs.ProjectAttributesTenantAuthorization>;
150
150
  /**
151
- * The name of the attribute.
151
+ * An optional identifier for the attribute. This value is called `Machine Name` in the Descope console. If a value is not provided then an appropriate one will be created from the value of `name`.
152
+ */
153
+ id?: pulumi.Input<string>;
154
+ /**
155
+ * The name of the attribute. This value is called `Display Name` in the Descope console.
152
156
  */
153
157
  name: pulumi.Input<string>;
154
158
  /**
@@ -168,7 +172,11 @@ export interface ProjectAttributesTenantAuthorization {
168
172
  }
169
173
  export interface ProjectAttributesUser {
170
174
  /**
171
- * The name of the attribute.
175
+ * An optional identifier for the attribute. This value is called `Machine Name` in the Descope console. If a value is not provided then an appropriate one will be created from the value of `name`.
176
+ */
177
+ id?: pulumi.Input<string>;
178
+ /**
179
+ * The name of the attribute. This value is called `Display Name` in the Descope console.
172
180
  */
173
181
  name: pulumi.Input<string>;
174
182
  /**
@@ -402,6 +410,10 @@ export interface ProjectAuthenticationOauthCustom {
402
410
  * The type of grants (`authorizationCode` or `implicit`) to allow when requesting access tokens from the OAuth provider.
403
411
  */
404
412
  allowedGrantTypes?: pulumi.Input<pulumi.Input<string>[]>;
413
+ /**
414
+ * The apple key generator object describing how to create a dynamic apple client secret for applications.
415
+ */
416
+ appleKeyGenerator?: pulumi.Input<inputs.ProjectAuthenticationOauthCustomAppleKeyGenerator>;
405
417
  /**
406
418
  * The URL that users are redirected to for authorization with the OAuth provider.
407
419
  */
@@ -452,6 +464,18 @@ export interface ProjectAuthenticationOauthCustom {
452
464
  * Whether to merge existing user accounts with new ones created through OAuth authentication.
453
465
  */
454
466
  mergeUserAccounts?: pulumi.Input<boolean>;
467
+ /**
468
+ * The apple key generator object describing how to create a dynamic native apple client secret for mobile apps.
469
+ */
470
+ nativeAppleKeyGenerator?: pulumi.Input<inputs.ProjectAuthenticationOauthCustomNativeAppleKeyGenerator>;
471
+ /**
472
+ * The client ID for the OAuth provider, used for Sign in with Apple in mobile apps.
473
+ */
474
+ nativeClientId?: pulumi.Input<string>;
475
+ /**
476
+ * The client secret for the OAuth provider, used for Sign in with Apple in mobile apps.
477
+ */
478
+ nativeClientSecret?: pulumi.Input<string>;
455
479
  /**
456
480
  * Custom prompts or consent screens that users may see during OAuth authentication.
457
481
  */
@@ -472,11 +496,43 @@ export interface ProjectAuthenticationOauthCustom {
472
496
  * The URL where the application requests an access token from the OAuth provider.
473
497
  */
474
498
  tokenEndpoint?: pulumi.Input<string>;
499
+ /**
500
+ * Use private key JWT (client assertion) instead of client secret.
501
+ */
502
+ useClientAssertion?: pulumi.Input<boolean>;
475
503
  /**
476
504
  * The URL where the application retrieves user information from the OAuth provider.
477
505
  */
478
506
  userInfoEndpoint?: pulumi.Input<string>;
479
507
  }
508
+ export interface ProjectAuthenticationOauthCustomAppleKeyGenerator {
509
+ /**
510
+ * The apple generator key id produced by Apple.
511
+ */
512
+ keyId: pulumi.Input<string>;
513
+ /**
514
+ * The apple generator private key produced by Apple.
515
+ */
516
+ privateKey: pulumi.Input<string>;
517
+ /**
518
+ * The apple generator team id assigned to the key by Apple.
519
+ */
520
+ teamId: pulumi.Input<string>;
521
+ }
522
+ export interface ProjectAuthenticationOauthCustomNativeAppleKeyGenerator {
523
+ /**
524
+ * The apple generator key id produced by Apple.
525
+ */
526
+ keyId: pulumi.Input<string>;
527
+ /**
528
+ * The apple generator private key produced by Apple.
529
+ */
530
+ privateKey: pulumi.Input<string>;
531
+ /**
532
+ * The apple generator team id assigned to the key by Apple.
533
+ */
534
+ teamId: pulumi.Input<string>;
535
+ }
480
536
  export interface ProjectAuthenticationOauthCustomProviderTokenManagement {
481
537
  }
482
538
  export interface ProjectAuthenticationOauthSystem {
@@ -522,6 +578,10 @@ export interface ProjectAuthenticationOauthSystemApple {
522
578
  * The type of grants (`authorizationCode` or `implicit`) to allow when requesting access tokens from the OAuth provider.
523
579
  */
524
580
  allowedGrantTypes?: pulumi.Input<pulumi.Input<string>[]>;
581
+ /**
582
+ * The apple key generator object describing how to create a dynamic apple client secret for applications.
583
+ */
584
+ appleKeyGenerator?: pulumi.Input<inputs.ProjectAuthenticationOauthSystemAppleAppleKeyGenerator>;
525
585
  /**
526
586
  * The URL that users are redirected to for authorization with the OAuth provider.
527
587
  */
@@ -572,6 +632,18 @@ export interface ProjectAuthenticationOauthSystemApple {
572
632
  * Whether to merge existing user accounts with new ones created through OAuth authentication.
573
633
  */
574
634
  mergeUserAccounts?: pulumi.Input<boolean>;
635
+ /**
636
+ * The apple key generator object describing how to create a dynamic native apple client secret for mobile apps.
637
+ */
638
+ nativeAppleKeyGenerator?: pulumi.Input<inputs.ProjectAuthenticationOauthSystemAppleNativeAppleKeyGenerator>;
639
+ /**
640
+ * The client ID for the OAuth provider, used for Sign in with Apple in mobile apps.
641
+ */
642
+ nativeClientId?: pulumi.Input<string>;
643
+ /**
644
+ * The client secret for the OAuth provider, used for Sign in with Apple in mobile apps.
645
+ */
646
+ nativeClientSecret?: pulumi.Input<string>;
575
647
  /**
576
648
  * Custom prompts or consent screens that users may see during OAuth authentication.
577
649
  */
@@ -592,11 +664,43 @@ export interface ProjectAuthenticationOauthSystemApple {
592
664
  * The URL where the application requests an access token from the OAuth provider.
593
665
  */
594
666
  tokenEndpoint?: pulumi.Input<string>;
667
+ /**
668
+ * Use private key JWT (client assertion) instead of client secret.
669
+ */
670
+ useClientAssertion?: pulumi.Input<boolean>;
595
671
  /**
596
672
  * The URL where the application retrieves user information from the OAuth provider.
597
673
  */
598
674
  userInfoEndpoint?: pulumi.Input<string>;
599
675
  }
676
+ export interface ProjectAuthenticationOauthSystemAppleAppleKeyGenerator {
677
+ /**
678
+ * The apple generator key id produced by Apple.
679
+ */
680
+ keyId: pulumi.Input<string>;
681
+ /**
682
+ * The apple generator private key produced by Apple.
683
+ */
684
+ privateKey: pulumi.Input<string>;
685
+ /**
686
+ * The apple generator team id assigned to the key by Apple.
687
+ */
688
+ teamId: pulumi.Input<string>;
689
+ }
690
+ export interface ProjectAuthenticationOauthSystemAppleNativeAppleKeyGenerator {
691
+ /**
692
+ * The apple generator key id produced by Apple.
693
+ */
694
+ keyId: pulumi.Input<string>;
695
+ /**
696
+ * The apple generator private key produced by Apple.
697
+ */
698
+ privateKey: pulumi.Input<string>;
699
+ /**
700
+ * The apple generator team id assigned to the key by Apple.
701
+ */
702
+ teamId: pulumi.Input<string>;
703
+ }
600
704
  export interface ProjectAuthenticationOauthSystemAppleProviderTokenManagement {
601
705
  }
602
706
  export interface ProjectAuthenticationOauthSystemDiscord {
@@ -604,6 +708,10 @@ export interface ProjectAuthenticationOauthSystemDiscord {
604
708
  * The type of grants (`authorizationCode` or `implicit`) to allow when requesting access tokens from the OAuth provider.
605
709
  */
606
710
  allowedGrantTypes?: pulumi.Input<pulumi.Input<string>[]>;
711
+ /**
712
+ * The apple key generator object describing how to create a dynamic apple client secret for applications.
713
+ */
714
+ appleKeyGenerator?: pulumi.Input<inputs.ProjectAuthenticationOauthSystemDiscordAppleKeyGenerator>;
607
715
  /**
608
716
  * The URL that users are redirected to for authorization with the OAuth provider.
609
717
  */
@@ -654,6 +762,18 @@ export interface ProjectAuthenticationOauthSystemDiscord {
654
762
  * Whether to merge existing user accounts with new ones created through OAuth authentication.
655
763
  */
656
764
  mergeUserAccounts?: pulumi.Input<boolean>;
765
+ /**
766
+ * The apple key generator object describing how to create a dynamic native apple client secret for mobile apps.
767
+ */
768
+ nativeAppleKeyGenerator?: pulumi.Input<inputs.ProjectAuthenticationOauthSystemDiscordNativeAppleKeyGenerator>;
769
+ /**
770
+ * The client ID for the OAuth provider, used for Sign in with Apple in mobile apps.
771
+ */
772
+ nativeClientId?: pulumi.Input<string>;
773
+ /**
774
+ * The client secret for the OAuth provider, used for Sign in with Apple in mobile apps.
775
+ */
776
+ nativeClientSecret?: pulumi.Input<string>;
657
777
  /**
658
778
  * Custom prompts or consent screens that users may see during OAuth authentication.
659
779
  */
@@ -674,11 +794,43 @@ export interface ProjectAuthenticationOauthSystemDiscord {
674
794
  * The URL where the application requests an access token from the OAuth provider.
675
795
  */
676
796
  tokenEndpoint?: pulumi.Input<string>;
797
+ /**
798
+ * Use private key JWT (client assertion) instead of client secret.
799
+ */
800
+ useClientAssertion?: pulumi.Input<boolean>;
677
801
  /**
678
802
  * The URL where the application retrieves user information from the OAuth provider.
679
803
  */
680
804
  userInfoEndpoint?: pulumi.Input<string>;
681
805
  }
806
+ export interface ProjectAuthenticationOauthSystemDiscordAppleKeyGenerator {
807
+ /**
808
+ * The apple generator key id produced by Apple.
809
+ */
810
+ keyId: pulumi.Input<string>;
811
+ /**
812
+ * The apple generator private key produced by Apple.
813
+ */
814
+ privateKey: pulumi.Input<string>;
815
+ /**
816
+ * The apple generator team id assigned to the key by Apple.
817
+ */
818
+ teamId: pulumi.Input<string>;
819
+ }
820
+ export interface ProjectAuthenticationOauthSystemDiscordNativeAppleKeyGenerator {
821
+ /**
822
+ * The apple generator key id produced by Apple.
823
+ */
824
+ keyId: pulumi.Input<string>;
825
+ /**
826
+ * The apple generator private key produced by Apple.
827
+ */
828
+ privateKey: pulumi.Input<string>;
829
+ /**
830
+ * The apple generator team id assigned to the key by Apple.
831
+ */
832
+ teamId: pulumi.Input<string>;
833
+ }
682
834
  export interface ProjectAuthenticationOauthSystemDiscordProviderTokenManagement {
683
835
  }
684
836
  export interface ProjectAuthenticationOauthSystemFacebook {
@@ -686,6 +838,10 @@ export interface ProjectAuthenticationOauthSystemFacebook {
686
838
  * The type of grants (`authorizationCode` or `implicit`) to allow when requesting access tokens from the OAuth provider.
687
839
  */
688
840
  allowedGrantTypes?: pulumi.Input<pulumi.Input<string>[]>;
841
+ /**
842
+ * The apple key generator object describing how to create a dynamic apple client secret for applications.
843
+ */
844
+ appleKeyGenerator?: pulumi.Input<inputs.ProjectAuthenticationOauthSystemFacebookAppleKeyGenerator>;
689
845
  /**
690
846
  * The URL that users are redirected to for authorization with the OAuth provider.
691
847
  */
@@ -736,6 +892,18 @@ export interface ProjectAuthenticationOauthSystemFacebook {
736
892
  * Whether to merge existing user accounts with new ones created through OAuth authentication.
737
893
  */
738
894
  mergeUserAccounts?: pulumi.Input<boolean>;
895
+ /**
896
+ * The apple key generator object describing how to create a dynamic native apple client secret for mobile apps.
897
+ */
898
+ nativeAppleKeyGenerator?: pulumi.Input<inputs.ProjectAuthenticationOauthSystemFacebookNativeAppleKeyGenerator>;
899
+ /**
900
+ * The client ID for the OAuth provider, used for Sign in with Apple in mobile apps.
901
+ */
902
+ nativeClientId?: pulumi.Input<string>;
903
+ /**
904
+ * The client secret for the OAuth provider, used for Sign in with Apple in mobile apps.
905
+ */
906
+ nativeClientSecret?: pulumi.Input<string>;
739
907
  /**
740
908
  * Custom prompts or consent screens that users may see during OAuth authentication.
741
909
  */
@@ -756,11 +924,43 @@ export interface ProjectAuthenticationOauthSystemFacebook {
756
924
  * The URL where the application requests an access token from the OAuth provider.
757
925
  */
758
926
  tokenEndpoint?: pulumi.Input<string>;
927
+ /**
928
+ * Use private key JWT (client assertion) instead of client secret.
929
+ */
930
+ useClientAssertion?: pulumi.Input<boolean>;
759
931
  /**
760
932
  * The URL where the application retrieves user information from the OAuth provider.
761
933
  */
762
934
  userInfoEndpoint?: pulumi.Input<string>;
763
935
  }
936
+ export interface ProjectAuthenticationOauthSystemFacebookAppleKeyGenerator {
937
+ /**
938
+ * The apple generator key id produced by Apple.
939
+ */
940
+ keyId: pulumi.Input<string>;
941
+ /**
942
+ * The apple generator private key produced by Apple.
943
+ */
944
+ privateKey: pulumi.Input<string>;
945
+ /**
946
+ * The apple generator team id assigned to the key by Apple.
947
+ */
948
+ teamId: pulumi.Input<string>;
949
+ }
950
+ export interface ProjectAuthenticationOauthSystemFacebookNativeAppleKeyGenerator {
951
+ /**
952
+ * The apple generator key id produced by Apple.
953
+ */
954
+ keyId: pulumi.Input<string>;
955
+ /**
956
+ * The apple generator private key produced by Apple.
957
+ */
958
+ privateKey: pulumi.Input<string>;
959
+ /**
960
+ * The apple generator team id assigned to the key by Apple.
961
+ */
962
+ teamId: pulumi.Input<string>;
963
+ }
764
964
  export interface ProjectAuthenticationOauthSystemFacebookProviderTokenManagement {
765
965
  }
766
966
  export interface ProjectAuthenticationOauthSystemGithub {
@@ -768,6 +968,10 @@ export interface ProjectAuthenticationOauthSystemGithub {
768
968
  * The type of grants (`authorizationCode` or `implicit`) to allow when requesting access tokens from the OAuth provider.
769
969
  */
770
970
  allowedGrantTypes?: pulumi.Input<pulumi.Input<string>[]>;
971
+ /**
972
+ * The apple key generator object describing how to create a dynamic apple client secret for applications.
973
+ */
974
+ appleKeyGenerator?: pulumi.Input<inputs.ProjectAuthenticationOauthSystemGithubAppleKeyGenerator>;
771
975
  /**
772
976
  * The URL that users are redirected to for authorization with the OAuth provider.
773
977
  */
@@ -818,6 +1022,18 @@ export interface ProjectAuthenticationOauthSystemGithub {
818
1022
  * Whether to merge existing user accounts with new ones created through OAuth authentication.
819
1023
  */
820
1024
  mergeUserAccounts?: pulumi.Input<boolean>;
1025
+ /**
1026
+ * The apple key generator object describing how to create a dynamic native apple client secret for mobile apps.
1027
+ */
1028
+ nativeAppleKeyGenerator?: pulumi.Input<inputs.ProjectAuthenticationOauthSystemGithubNativeAppleKeyGenerator>;
1029
+ /**
1030
+ * The client ID for the OAuth provider, used for Sign in with Apple in mobile apps.
1031
+ */
1032
+ nativeClientId?: pulumi.Input<string>;
1033
+ /**
1034
+ * The client secret for the OAuth provider, used for Sign in with Apple in mobile apps.
1035
+ */
1036
+ nativeClientSecret?: pulumi.Input<string>;
821
1037
  /**
822
1038
  * Custom prompts or consent screens that users may see during OAuth authentication.
823
1039
  */
@@ -838,11 +1054,43 @@ export interface ProjectAuthenticationOauthSystemGithub {
838
1054
  * The URL where the application requests an access token from the OAuth provider.
839
1055
  */
840
1056
  tokenEndpoint?: pulumi.Input<string>;
1057
+ /**
1058
+ * Use private key JWT (client assertion) instead of client secret.
1059
+ */
1060
+ useClientAssertion?: pulumi.Input<boolean>;
841
1061
  /**
842
1062
  * The URL where the application retrieves user information from the OAuth provider.
843
1063
  */
844
1064
  userInfoEndpoint?: pulumi.Input<string>;
845
1065
  }
1066
+ export interface ProjectAuthenticationOauthSystemGithubAppleKeyGenerator {
1067
+ /**
1068
+ * The apple generator key id produced by Apple.
1069
+ */
1070
+ keyId: pulumi.Input<string>;
1071
+ /**
1072
+ * The apple generator private key produced by Apple.
1073
+ */
1074
+ privateKey: pulumi.Input<string>;
1075
+ /**
1076
+ * The apple generator team id assigned to the key by Apple.
1077
+ */
1078
+ teamId: pulumi.Input<string>;
1079
+ }
1080
+ export interface ProjectAuthenticationOauthSystemGithubNativeAppleKeyGenerator {
1081
+ /**
1082
+ * The apple generator key id produced by Apple.
1083
+ */
1084
+ keyId: pulumi.Input<string>;
1085
+ /**
1086
+ * The apple generator private key produced by Apple.
1087
+ */
1088
+ privateKey: pulumi.Input<string>;
1089
+ /**
1090
+ * The apple generator team id assigned to the key by Apple.
1091
+ */
1092
+ teamId: pulumi.Input<string>;
1093
+ }
846
1094
  export interface ProjectAuthenticationOauthSystemGithubProviderTokenManagement {
847
1095
  }
848
1096
  export interface ProjectAuthenticationOauthSystemGitlab {
@@ -850,6 +1098,10 @@ export interface ProjectAuthenticationOauthSystemGitlab {
850
1098
  * The type of grants (`authorizationCode` or `implicit`) to allow when requesting access tokens from the OAuth provider.
851
1099
  */
852
1100
  allowedGrantTypes?: pulumi.Input<pulumi.Input<string>[]>;
1101
+ /**
1102
+ * The apple key generator object describing how to create a dynamic apple client secret for applications.
1103
+ */
1104
+ appleKeyGenerator?: pulumi.Input<inputs.ProjectAuthenticationOauthSystemGitlabAppleKeyGenerator>;
853
1105
  /**
854
1106
  * The URL that users are redirected to for authorization with the OAuth provider.
855
1107
  */
@@ -900,6 +1152,18 @@ export interface ProjectAuthenticationOauthSystemGitlab {
900
1152
  * Whether to merge existing user accounts with new ones created through OAuth authentication.
901
1153
  */
902
1154
  mergeUserAccounts?: pulumi.Input<boolean>;
1155
+ /**
1156
+ * The apple key generator object describing how to create a dynamic native apple client secret for mobile apps.
1157
+ */
1158
+ nativeAppleKeyGenerator?: pulumi.Input<inputs.ProjectAuthenticationOauthSystemGitlabNativeAppleKeyGenerator>;
1159
+ /**
1160
+ * The client ID for the OAuth provider, used for Sign in with Apple in mobile apps.
1161
+ */
1162
+ nativeClientId?: pulumi.Input<string>;
1163
+ /**
1164
+ * The client secret for the OAuth provider, used for Sign in with Apple in mobile apps.
1165
+ */
1166
+ nativeClientSecret?: pulumi.Input<string>;
903
1167
  /**
904
1168
  * Custom prompts or consent screens that users may see during OAuth authentication.
905
1169
  */
@@ -920,11 +1184,43 @@ export interface ProjectAuthenticationOauthSystemGitlab {
920
1184
  * The URL where the application requests an access token from the OAuth provider.
921
1185
  */
922
1186
  tokenEndpoint?: pulumi.Input<string>;
1187
+ /**
1188
+ * Use private key JWT (client assertion) instead of client secret.
1189
+ */
1190
+ useClientAssertion?: pulumi.Input<boolean>;
923
1191
  /**
924
1192
  * The URL where the application retrieves user information from the OAuth provider.
925
1193
  */
926
1194
  userInfoEndpoint?: pulumi.Input<string>;
927
1195
  }
1196
+ export interface ProjectAuthenticationOauthSystemGitlabAppleKeyGenerator {
1197
+ /**
1198
+ * The apple generator key id produced by Apple.
1199
+ */
1200
+ keyId: pulumi.Input<string>;
1201
+ /**
1202
+ * The apple generator private key produced by Apple.
1203
+ */
1204
+ privateKey: pulumi.Input<string>;
1205
+ /**
1206
+ * The apple generator team id assigned to the key by Apple.
1207
+ */
1208
+ teamId: pulumi.Input<string>;
1209
+ }
1210
+ export interface ProjectAuthenticationOauthSystemGitlabNativeAppleKeyGenerator {
1211
+ /**
1212
+ * The apple generator key id produced by Apple.
1213
+ */
1214
+ keyId: pulumi.Input<string>;
1215
+ /**
1216
+ * The apple generator private key produced by Apple.
1217
+ */
1218
+ privateKey: pulumi.Input<string>;
1219
+ /**
1220
+ * The apple generator team id assigned to the key by Apple.
1221
+ */
1222
+ teamId: pulumi.Input<string>;
1223
+ }
928
1224
  export interface ProjectAuthenticationOauthSystemGitlabProviderTokenManagement {
929
1225
  }
930
1226
  export interface ProjectAuthenticationOauthSystemGoogle {
@@ -932,6 +1228,10 @@ export interface ProjectAuthenticationOauthSystemGoogle {
932
1228
  * The type of grants (`authorizationCode` or `implicit`) to allow when requesting access tokens from the OAuth provider.
933
1229
  */
934
1230
  allowedGrantTypes?: pulumi.Input<pulumi.Input<string>[]>;
1231
+ /**
1232
+ * The apple key generator object describing how to create a dynamic apple client secret for applications.
1233
+ */
1234
+ appleKeyGenerator?: pulumi.Input<inputs.ProjectAuthenticationOauthSystemGoogleAppleKeyGenerator>;
935
1235
  /**
936
1236
  * The URL that users are redirected to for authorization with the OAuth provider.
937
1237
  */
@@ -982,6 +1282,18 @@ export interface ProjectAuthenticationOauthSystemGoogle {
982
1282
  * Whether to merge existing user accounts with new ones created through OAuth authentication.
983
1283
  */
984
1284
  mergeUserAccounts?: pulumi.Input<boolean>;
1285
+ /**
1286
+ * The apple key generator object describing how to create a dynamic native apple client secret for mobile apps.
1287
+ */
1288
+ nativeAppleKeyGenerator?: pulumi.Input<inputs.ProjectAuthenticationOauthSystemGoogleNativeAppleKeyGenerator>;
1289
+ /**
1290
+ * The client ID for the OAuth provider, used for Sign in with Apple in mobile apps.
1291
+ */
1292
+ nativeClientId?: pulumi.Input<string>;
1293
+ /**
1294
+ * The client secret for the OAuth provider, used for Sign in with Apple in mobile apps.
1295
+ */
1296
+ nativeClientSecret?: pulumi.Input<string>;
985
1297
  /**
986
1298
  * Custom prompts or consent screens that users may see during OAuth authentication.
987
1299
  */
@@ -1002,11 +1314,43 @@ export interface ProjectAuthenticationOauthSystemGoogle {
1002
1314
  * The URL where the application requests an access token from the OAuth provider.
1003
1315
  */
1004
1316
  tokenEndpoint?: pulumi.Input<string>;
1317
+ /**
1318
+ * Use private key JWT (client assertion) instead of client secret.
1319
+ */
1320
+ useClientAssertion?: pulumi.Input<boolean>;
1005
1321
  /**
1006
1322
  * The URL where the application retrieves user information from the OAuth provider.
1007
1323
  */
1008
1324
  userInfoEndpoint?: pulumi.Input<string>;
1009
1325
  }
1326
+ export interface ProjectAuthenticationOauthSystemGoogleAppleKeyGenerator {
1327
+ /**
1328
+ * The apple generator key id produced by Apple.
1329
+ */
1330
+ keyId: pulumi.Input<string>;
1331
+ /**
1332
+ * The apple generator private key produced by Apple.
1333
+ */
1334
+ privateKey: pulumi.Input<string>;
1335
+ /**
1336
+ * The apple generator team id assigned to the key by Apple.
1337
+ */
1338
+ teamId: pulumi.Input<string>;
1339
+ }
1340
+ export interface ProjectAuthenticationOauthSystemGoogleNativeAppleKeyGenerator {
1341
+ /**
1342
+ * The apple generator key id produced by Apple.
1343
+ */
1344
+ keyId: pulumi.Input<string>;
1345
+ /**
1346
+ * The apple generator private key produced by Apple.
1347
+ */
1348
+ privateKey: pulumi.Input<string>;
1349
+ /**
1350
+ * The apple generator team id assigned to the key by Apple.
1351
+ */
1352
+ teamId: pulumi.Input<string>;
1353
+ }
1010
1354
  export interface ProjectAuthenticationOauthSystemGoogleProviderTokenManagement {
1011
1355
  }
1012
1356
  export interface ProjectAuthenticationOauthSystemLinkedin {
@@ -1014,6 +1358,10 @@ export interface ProjectAuthenticationOauthSystemLinkedin {
1014
1358
  * The type of grants (`authorizationCode` or `implicit`) to allow when requesting access tokens from the OAuth provider.
1015
1359
  */
1016
1360
  allowedGrantTypes?: pulumi.Input<pulumi.Input<string>[]>;
1361
+ /**
1362
+ * The apple key generator object describing how to create a dynamic apple client secret for applications.
1363
+ */
1364
+ appleKeyGenerator?: pulumi.Input<inputs.ProjectAuthenticationOauthSystemLinkedinAppleKeyGenerator>;
1017
1365
  /**
1018
1366
  * The URL that users are redirected to for authorization with the OAuth provider.
1019
1367
  */
@@ -1064,6 +1412,18 @@ export interface ProjectAuthenticationOauthSystemLinkedin {
1064
1412
  * Whether to merge existing user accounts with new ones created through OAuth authentication.
1065
1413
  */
1066
1414
  mergeUserAccounts?: pulumi.Input<boolean>;
1415
+ /**
1416
+ * The apple key generator object describing how to create a dynamic native apple client secret for mobile apps.
1417
+ */
1418
+ nativeAppleKeyGenerator?: pulumi.Input<inputs.ProjectAuthenticationOauthSystemLinkedinNativeAppleKeyGenerator>;
1419
+ /**
1420
+ * The client ID for the OAuth provider, used for Sign in with Apple in mobile apps.
1421
+ */
1422
+ nativeClientId?: pulumi.Input<string>;
1423
+ /**
1424
+ * The client secret for the OAuth provider, used for Sign in with Apple in mobile apps.
1425
+ */
1426
+ nativeClientSecret?: pulumi.Input<string>;
1067
1427
  /**
1068
1428
  * Custom prompts or consent screens that users may see during OAuth authentication.
1069
1429
  */
@@ -1084,11 +1444,43 @@ export interface ProjectAuthenticationOauthSystemLinkedin {
1084
1444
  * The URL where the application requests an access token from the OAuth provider.
1085
1445
  */
1086
1446
  tokenEndpoint?: pulumi.Input<string>;
1447
+ /**
1448
+ * Use private key JWT (client assertion) instead of client secret.
1449
+ */
1450
+ useClientAssertion?: pulumi.Input<boolean>;
1087
1451
  /**
1088
1452
  * The URL where the application retrieves user information from the OAuth provider.
1089
1453
  */
1090
1454
  userInfoEndpoint?: pulumi.Input<string>;
1091
1455
  }
1456
+ export interface ProjectAuthenticationOauthSystemLinkedinAppleKeyGenerator {
1457
+ /**
1458
+ * The apple generator key id produced by Apple.
1459
+ */
1460
+ keyId: pulumi.Input<string>;
1461
+ /**
1462
+ * The apple generator private key produced by Apple.
1463
+ */
1464
+ privateKey: pulumi.Input<string>;
1465
+ /**
1466
+ * The apple generator team id assigned to the key by Apple.
1467
+ */
1468
+ teamId: pulumi.Input<string>;
1469
+ }
1470
+ export interface ProjectAuthenticationOauthSystemLinkedinNativeAppleKeyGenerator {
1471
+ /**
1472
+ * The apple generator key id produced by Apple.
1473
+ */
1474
+ keyId: pulumi.Input<string>;
1475
+ /**
1476
+ * The apple generator private key produced by Apple.
1477
+ */
1478
+ privateKey: pulumi.Input<string>;
1479
+ /**
1480
+ * The apple generator team id assigned to the key by Apple.
1481
+ */
1482
+ teamId: pulumi.Input<string>;
1483
+ }
1092
1484
  export interface ProjectAuthenticationOauthSystemLinkedinProviderTokenManagement {
1093
1485
  }
1094
1486
  export interface ProjectAuthenticationOauthSystemMicrosoft {
@@ -1096,6 +1488,10 @@ export interface ProjectAuthenticationOauthSystemMicrosoft {
1096
1488
  * The type of grants (`authorizationCode` or `implicit`) to allow when requesting access tokens from the OAuth provider.
1097
1489
  */
1098
1490
  allowedGrantTypes?: pulumi.Input<pulumi.Input<string>[]>;
1491
+ /**
1492
+ * The apple key generator object describing how to create a dynamic apple client secret for applications.
1493
+ */
1494
+ appleKeyGenerator?: pulumi.Input<inputs.ProjectAuthenticationOauthSystemMicrosoftAppleKeyGenerator>;
1099
1495
  /**
1100
1496
  * The URL that users are redirected to for authorization with the OAuth provider.
1101
1497
  */
@@ -1146,6 +1542,18 @@ export interface ProjectAuthenticationOauthSystemMicrosoft {
1146
1542
  * Whether to merge existing user accounts with new ones created through OAuth authentication.
1147
1543
  */
1148
1544
  mergeUserAccounts?: pulumi.Input<boolean>;
1545
+ /**
1546
+ * The apple key generator object describing how to create a dynamic native apple client secret for mobile apps.
1547
+ */
1548
+ nativeAppleKeyGenerator?: pulumi.Input<inputs.ProjectAuthenticationOauthSystemMicrosoftNativeAppleKeyGenerator>;
1549
+ /**
1550
+ * The client ID for the OAuth provider, used for Sign in with Apple in mobile apps.
1551
+ */
1552
+ nativeClientId?: pulumi.Input<string>;
1553
+ /**
1554
+ * The client secret for the OAuth provider, used for Sign in with Apple in mobile apps.
1555
+ */
1556
+ nativeClientSecret?: pulumi.Input<string>;
1149
1557
  /**
1150
1558
  * Custom prompts or consent screens that users may see during OAuth authentication.
1151
1559
  */
@@ -1166,11 +1574,43 @@ export interface ProjectAuthenticationOauthSystemMicrosoft {
1166
1574
  * The URL where the application requests an access token from the OAuth provider.
1167
1575
  */
1168
1576
  tokenEndpoint?: pulumi.Input<string>;
1577
+ /**
1578
+ * Use private key JWT (client assertion) instead of client secret.
1579
+ */
1580
+ useClientAssertion?: pulumi.Input<boolean>;
1169
1581
  /**
1170
1582
  * The URL where the application retrieves user information from the OAuth provider.
1171
1583
  */
1172
1584
  userInfoEndpoint?: pulumi.Input<string>;
1173
1585
  }
1586
+ export interface ProjectAuthenticationOauthSystemMicrosoftAppleKeyGenerator {
1587
+ /**
1588
+ * The apple generator key id produced by Apple.
1589
+ */
1590
+ keyId: pulumi.Input<string>;
1591
+ /**
1592
+ * The apple generator private key produced by Apple.
1593
+ */
1594
+ privateKey: pulumi.Input<string>;
1595
+ /**
1596
+ * The apple generator team id assigned to the key by Apple.
1597
+ */
1598
+ teamId: pulumi.Input<string>;
1599
+ }
1600
+ export interface ProjectAuthenticationOauthSystemMicrosoftNativeAppleKeyGenerator {
1601
+ /**
1602
+ * The apple generator key id produced by Apple.
1603
+ */
1604
+ keyId: pulumi.Input<string>;
1605
+ /**
1606
+ * The apple generator private key produced by Apple.
1607
+ */
1608
+ privateKey: pulumi.Input<string>;
1609
+ /**
1610
+ * The apple generator team id assigned to the key by Apple.
1611
+ */
1612
+ teamId: pulumi.Input<string>;
1613
+ }
1174
1614
  export interface ProjectAuthenticationOauthSystemMicrosoftProviderTokenManagement {
1175
1615
  }
1176
1616
  export interface ProjectAuthenticationOauthSystemSlack {
@@ -1178,6 +1618,10 @@ export interface ProjectAuthenticationOauthSystemSlack {
1178
1618
  * The type of grants (`authorizationCode` or `implicit`) to allow when requesting access tokens from the OAuth provider.
1179
1619
  */
1180
1620
  allowedGrantTypes?: pulumi.Input<pulumi.Input<string>[]>;
1621
+ /**
1622
+ * The apple key generator object describing how to create a dynamic apple client secret for applications.
1623
+ */
1624
+ appleKeyGenerator?: pulumi.Input<inputs.ProjectAuthenticationOauthSystemSlackAppleKeyGenerator>;
1181
1625
  /**
1182
1626
  * The URL that users are redirected to for authorization with the OAuth provider.
1183
1627
  */
@@ -1228,6 +1672,18 @@ export interface ProjectAuthenticationOauthSystemSlack {
1228
1672
  * Whether to merge existing user accounts with new ones created through OAuth authentication.
1229
1673
  */
1230
1674
  mergeUserAccounts?: pulumi.Input<boolean>;
1675
+ /**
1676
+ * The apple key generator object describing how to create a dynamic native apple client secret for mobile apps.
1677
+ */
1678
+ nativeAppleKeyGenerator?: pulumi.Input<inputs.ProjectAuthenticationOauthSystemSlackNativeAppleKeyGenerator>;
1679
+ /**
1680
+ * The client ID for the OAuth provider, used for Sign in with Apple in mobile apps.
1681
+ */
1682
+ nativeClientId?: pulumi.Input<string>;
1683
+ /**
1684
+ * The client secret for the OAuth provider, used for Sign in with Apple in mobile apps.
1685
+ */
1686
+ nativeClientSecret?: pulumi.Input<string>;
1231
1687
  /**
1232
1688
  * Custom prompts or consent screens that users may see during OAuth authentication.
1233
1689
  */
@@ -1248,11 +1704,43 @@ export interface ProjectAuthenticationOauthSystemSlack {
1248
1704
  * The URL where the application requests an access token from the OAuth provider.
1249
1705
  */
1250
1706
  tokenEndpoint?: pulumi.Input<string>;
1707
+ /**
1708
+ * Use private key JWT (client assertion) instead of client secret.
1709
+ */
1710
+ useClientAssertion?: pulumi.Input<boolean>;
1251
1711
  /**
1252
1712
  * The URL where the application retrieves user information from the OAuth provider.
1253
1713
  */
1254
1714
  userInfoEndpoint?: pulumi.Input<string>;
1255
1715
  }
1716
+ export interface ProjectAuthenticationOauthSystemSlackAppleKeyGenerator {
1717
+ /**
1718
+ * The apple generator key id produced by Apple.
1719
+ */
1720
+ keyId: pulumi.Input<string>;
1721
+ /**
1722
+ * The apple generator private key produced by Apple.
1723
+ */
1724
+ privateKey: pulumi.Input<string>;
1725
+ /**
1726
+ * The apple generator team id assigned to the key by Apple.
1727
+ */
1728
+ teamId: pulumi.Input<string>;
1729
+ }
1730
+ export interface ProjectAuthenticationOauthSystemSlackNativeAppleKeyGenerator {
1731
+ /**
1732
+ * The apple generator key id produced by Apple.
1733
+ */
1734
+ keyId: pulumi.Input<string>;
1735
+ /**
1736
+ * The apple generator private key produced by Apple.
1737
+ */
1738
+ privateKey: pulumi.Input<string>;
1739
+ /**
1740
+ * The apple generator team id assigned to the key by Apple.
1741
+ */
1742
+ teamId: pulumi.Input<string>;
1743
+ }
1256
1744
  export interface ProjectAuthenticationOauthSystemSlackProviderTokenManagement {
1257
1745
  }
1258
1746
  export interface ProjectAuthenticationOtp {
@@ -1407,6 +1895,10 @@ export interface ProjectAuthenticationPassword {
1407
1895
  * Whether passwords must contain at least one lowercase letter.
1408
1896
  */
1409
1897
  lowercase?: pulumi.Input<boolean>;
1898
+ /**
1899
+ * Prevents information about user accounts from being revealed in error messages, e.g., whether a user already exists.
1900
+ */
1901
+ maskErrors?: pulumi.Input<boolean>;
1410
1902
  /**
1411
1903
  * The minimum length of the password that users are required to use. The maximum length is always `64`.
1412
1904
  */
@@ -1427,6 +1919,18 @@ export interface ProjectAuthenticationPassword {
1427
1919
  * The number of previous passwords whose hashes are kept to prevent users from reusing old passwords.
1428
1920
  */
1429
1921
  reuseAmount?: pulumi.Input<number>;
1922
+ /**
1923
+ * Whether the user account should be temporarily locked after a specified number of failed login attempts.
1924
+ */
1925
+ temporaryLock?: pulumi.Input<boolean>;
1926
+ /**
1927
+ * The number of failed login attempts allowed before an account is temporarily locked.
1928
+ */
1929
+ temporaryLockAttempts?: pulumi.Input<number>;
1930
+ /**
1931
+ * The amount of time before the user can sign in again after the account is temporarily locked.
1932
+ */
1933
+ temporaryLockDuration?: pulumi.Input<string>;
1430
1934
  /**
1431
1935
  * Whether passwords must contain at least one uppercase letter.
1432
1936
  */
@@ -1470,6 +1974,10 @@ export interface ProjectAuthenticationPasswordEmailServiceTemplate {
1470
1974
  usePlainTextBody?: pulumi.Input<boolean>;
1471
1975
  }
1472
1976
  export interface ProjectAuthenticationSso {
1977
+ /**
1978
+ * Whether to allow duplicate SSO domains across tenants.
1979
+ */
1980
+ allowDuplicateDomains?: pulumi.Input<boolean>;
1473
1981
  /**
1474
1982
  * Setting this to `true` will disallow using this authentication method directly via API and SDK calls. Note that this does not affect authentication flows that are configured to use this authentication method.
1475
1983
  */
@@ -1478,12 +1986,54 @@ export interface ProjectAuthenticationSso {
1478
1986
  * Whether to merge existing user accounts with new ones created through SSO authentication.
1479
1987
  */
1480
1988
  mergeUsers?: pulumi.Input<boolean>;
1989
+ /**
1990
+ * The URL the end user is redirected to after a successful authentication. If one is specified in tenant level settings or SDK/API call, they will override this value.
1991
+ */
1992
+ redirectUrl?: pulumi.Input<string>;
1993
+ /**
1994
+ * Configuration block for the SSO Suite.
1995
+ */
1996
+ ssoSuiteSettings?: pulumi.Input<inputs.ProjectAuthenticationSsoSsoSuiteSettings>;
1997
+ }
1998
+ export interface ProjectAuthenticationSsoSsoSuiteSettings {
1999
+ /**
2000
+ * Setting this to `true` will allow only verified domains to be used.
2001
+ */
2002
+ forceDomainVerification?: pulumi.Input<boolean>;
2003
+ /**
2004
+ * Setting this to `true` will hide the domains configuration section in the SSO Suite interface.
2005
+ */
2006
+ hideDomains?: pulumi.Input<boolean>;
2007
+ /**
2008
+ * Setting this to `true` will hide the groups mapping configuration section in the SSO Suite interface.
2009
+ */
2010
+ hideGroupsMapping?: pulumi.Input<boolean>;
2011
+ /**
2012
+ * Setting this to `true` will hide the OIDC configuration option.
2013
+ */
2014
+ hideOidc?: pulumi.Input<boolean>;
2015
+ /**
2016
+ * Setting this to `true` will hide the SAML configuration option.
2017
+ */
2018
+ hideSaml?: pulumi.Input<boolean>;
2019
+ /**
2020
+ * Setting this to `true` will hide the SCIM configuration in the SSO Suite interface.
2021
+ */
2022
+ hideScim?: pulumi.Input<boolean>;
2023
+ /**
2024
+ * Specifies the style ID to apply in the SSO Suite. Ensure a style with this ID exists in the console for it to be used.
2025
+ */
2026
+ styleId?: pulumi.Input<string>;
1481
2027
  }
1482
2028
  export interface ProjectAuthenticationTotp {
1483
2029
  /**
1484
2030
  * Setting this to `true` will disallow using this authentication method directly via API and SDK calls. Note that this does not affect authentication flows that are configured to use this authentication method.
1485
2031
  */
1486
2032
  disabled?: pulumi.Input<boolean>;
2033
+ /**
2034
+ * The template for the service issuer label (issuer) shown in the authenticator app.
2035
+ */
2036
+ serviceLabel?: pulumi.Input<string>;
1487
2037
  }
1488
2038
  export interface ProjectAuthorization {
1489
2039
  /**
@@ -1507,11 +2057,16 @@ export interface ProjectAuthorizationPermission {
1507
2057
  name: pulumi.Input<string>;
1508
2058
  }
1509
2059
  export interface ProjectAuthorizationRole {
2060
+ /**
2061
+ * Whether this role should automatically be assigned to users that are created without any roles.
2062
+ */
2063
+ default?: pulumi.Input<boolean>;
1510
2064
  /**
1511
2065
  * A description for the role.
1512
2066
  */
1513
2067
  description?: pulumi.Input<string>;
1514
2068
  id?: pulumi.Input<string>;
2069
+ key?: pulumi.Input<string>;
1515
2070
  /**
1516
2071
  * A name for the role.
1517
2072
  */
@@ -1520,6 +2075,10 @@ export interface ProjectAuthorizationRole {
1520
2075
  * A list of permissions by name to be included in the role.
1521
2076
  */
1522
2077
  permissions?: pulumi.Input<pulumi.Input<string>[]>;
2078
+ /**
2079
+ * Whether this role should not be displayed to tenant admins.
2080
+ */
2081
+ private?: pulumi.Input<boolean>;
1523
2082
  }
1524
2083
  export interface ProjectConnectors {
1525
2084
  /**
@@ -1543,13 +2102,9 @@ export interface ProjectConnectors {
1543
2102
  */
1544
2103
  awsTranslates?: pulumi.Input<pulumi.Input<inputs.ProjectConnectorsAwsTranslate>[]>;
1545
2104
  /**
1546
- * Add sophisticated identity verification processes to your user journey with the CLEAR Verified connector.
1547
- */
1548
- clears?: pulumi.Input<pulumi.Input<inputs.ProjectConnectorsClear>[]>;
1549
- /**
1550
- * Utilize threat intelligence to block malicious login attempts or check leaks with the Cybersixgill connector.
2105
+ * Utilize threat intelligence to block malicious login attempts or check leaks with the Bitsight Threat Intelligence connector.
1551
2106
  */
1552
- cybersixgills?: pulumi.Input<pulumi.Input<inputs.ProjectConnectorsCybersixgill>[]>;
2107
+ bitsights?: pulumi.Input<pulumi.Input<inputs.ProjectConnectorsBitsight>[]>;
1553
2108
  /**
1554
2109
  * Stream authentication audit logs with the Datadog connector.
1555
2110
  */
@@ -1602,6 +2157,10 @@ export interface ProjectConnectors {
1602
2157
  * Send messages using a generic SMS gateway.
1603
2158
  */
1604
2159
  genericSmsGateways?: pulumi.Input<pulumi.Input<inputs.ProjectConnectorsGenericSmsGateway>[]>;
2160
+ /**
2161
+ * Stream logs and audit events with the Google Cloud Logging connector.
2162
+ */
2163
+ googleCloudLoggings?: pulumi.Input<pulumi.Input<inputs.ProjectConnectorsGoogleCloudLogging>[]>;
1605
2164
  /**
1606
2165
  * Localize the language of your login and user journey screens with the Google Cloud Translation connector.
1607
2166
  */
@@ -1866,7 +2425,7 @@ export interface ProjectConnectorsAwsS3 {
1866
2425
  /**
1867
2426
  * The authentication type to use.
1868
2427
  */
1869
- authType: pulumi.Input<string>;
2428
+ authType?: pulumi.Input<string>;
1870
2429
  /**
1871
2430
  * The AWS S3 bucket. This bucket should already exist for the connector to work.
1872
2431
  */
@@ -1942,32 +2501,13 @@ export interface ProjectConnectorsAwsTranslate {
1942
2501
  */
1943
2502
  sessionToken?: pulumi.Input<string>;
1944
2503
  }
1945
- export interface ProjectConnectorsClear {
1946
- /**
1947
- * Your CLEAR API key.
1948
- */
1949
- apiKey: pulumi.Input<string>;
2504
+ export interface ProjectConnectorsBitsight {
1950
2505
  /**
1951
- * A description of what your connector is used for.
1952
- */
1953
- description?: pulumi.Input<string>;
1954
- id?: pulumi.Input<string>;
1955
- /**
1956
- * A custom name for your connector.
1957
- */
1958
- name: pulumi.Input<string>;
1959
- /**
1960
- * Your CLEAR project ID.
1961
- */
1962
- projectId: pulumi.Input<string>;
1963
- }
1964
- export interface ProjectConnectorsCybersixgill {
1965
- /**
1966
- * API Client ID issued when you create the credentials in Cybersixgill.
2506
+ * API Client ID issued when you create the credentials in Bitsight Threat Intelligence.
1967
2507
  */
1968
2508
  clientId: pulumi.Input<string>;
1969
2509
  /**
1970
- * Client secret issued when you create the credentials in Cybersixgill.
2510
+ * Client secret issued when you create the credentials in Bitsight Threat Intelligence.
1971
2511
  */
1972
2512
  clientSecret: pulumi.Input<string>;
1973
2513
  /**
@@ -2461,6 +3001,47 @@ export interface ProjectConnectorsGenericSmsGatewayAuthenticationBasic {
2461
3001
  */
2462
3002
  username: pulumi.Input<string>;
2463
3003
  }
3004
+ export interface ProjectConnectorsGoogleCloudLogging {
3005
+ /**
3006
+ * Whether to enable streaming of audit events.
3007
+ */
3008
+ auditEnabled?: pulumi.Input<boolean>;
3009
+ /**
3010
+ * Specify which events will be sent to the external audit service (including tenant selection).
3011
+ */
3012
+ auditFilters?: pulumi.Input<pulumi.Input<inputs.ProjectConnectorsGoogleCloudLoggingAuditFilter>[]>;
3013
+ /**
3014
+ * A description of what your connector is used for.
3015
+ */
3016
+ description?: pulumi.Input<string>;
3017
+ id?: pulumi.Input<string>;
3018
+ /**
3019
+ * A custom name for your connector.
3020
+ */
3021
+ name: pulumi.Input<string>;
3022
+ /**
3023
+ * A Service Account Key JSON file created from a service account on your Google Cloud project. This file is used to authenticate and authorize the connector to access Google Cloud Logging. The service account this key belongs to must have the appropriate permissions to write logs.
3024
+ */
3025
+ serviceAccountKey: pulumi.Input<string>;
3026
+ /**
3027
+ * Whether to send troubleshooting events.
3028
+ */
3029
+ troubleshootLogEnabled?: pulumi.Input<boolean>;
3030
+ }
3031
+ export interface ProjectConnectorsGoogleCloudLoggingAuditFilter {
3032
+ /**
3033
+ * The field name to filter on (either 'actions' or 'tenants').
3034
+ */
3035
+ key: pulumi.Input<string>;
3036
+ /**
3037
+ * The filter operation to apply ('includes' or 'excludes').
3038
+ */
3039
+ operator: pulumi.Input<string>;
3040
+ /**
3041
+ * The list of values to match against for the filter.
3042
+ */
3043
+ values: pulumi.Input<pulumi.Input<string>[]>;
3044
+ }
2464
3045
  export interface ProjectConnectorsGoogleCloudTranslation {
2465
3046
  /**
2466
3047
  * A description of what your connector is used for.
@@ -2840,6 +3421,14 @@ export interface ProjectConnectorsRecaptchaEnterprise {
2840
3421
  * When configured, the Recaptcha action will return the score without assessing the request. The score ranges between 0 and 1, where 1 is a human interaction and 0 is a bot.
2841
3422
  */
2842
3423
  assessmentScore?: pulumi.Input<number>;
3424
+ /**
3425
+ * Apply a custom url to the reCAPTCHA Enterprise scripts. This is useful when attempting to use reCAPTCHA globally. Defaults to https://www.google.com
3426
+ */
3427
+ baseUrl?: pulumi.Input<string>;
3428
+ /**
3429
+ * The bot threshold is used to determine whether the request is a bot or a human. The score ranges between 0 and 1, where 1 is a human interaction and 0 is a bot. If the score is below this threshold, the request is considered a bot.
3430
+ */
3431
+ botThreshold?: pulumi.Input<number>;
2843
3432
  /**
2844
3433
  * A description of what your connector is used for.
2845
3434
  */
@@ -2970,7 +3559,11 @@ export interface ProjectConnectorsSe {
2970
3559
  /**
2971
3560
  * AWS Access key ID.
2972
3561
  */
2973
- accessKeyId: pulumi.Input<string>;
3562
+ accessKeyId?: pulumi.Input<string>;
3563
+ /**
3564
+ * The authentication type to use.
3565
+ */
3566
+ authType?: pulumi.Input<string>;
2974
3567
  /**
2975
3568
  * A description of what your connector is used for.
2976
3569
  */
@@ -2979,6 +3572,10 @@ export interface ProjectConnectorsSe {
2979
3572
  * An optional endpoint URL (hostname only or fully qualified URI).
2980
3573
  */
2981
3574
  endpoint?: pulumi.Input<string>;
3575
+ /**
3576
+ * The external ID to use when assuming the role.
3577
+ */
3578
+ externalId?: pulumi.Input<string>;
2982
3579
  id?: pulumi.Input<string>;
2983
3580
  /**
2984
3581
  * A custom name for your connector.
@@ -2988,10 +3585,14 @@ export interface ProjectConnectorsSe {
2988
3585
  * AWS region to send requests to (e.g. `us-west-2`).
2989
3586
  */
2990
3587
  region: pulumi.Input<string>;
3588
+ /**
3589
+ * The Amazon Resource Name (ARN) of the role to assume.
3590
+ */
3591
+ roleArn?: pulumi.Input<string>;
2991
3592
  /**
2992
3593
  * AWS Secret Access Key.
2993
3594
  */
2994
- secret: pulumi.Input<string>;
3595
+ secret?: pulumi.Input<string>;
2995
3596
  /**
2996
3597
  * The sender details that should be displayed in the email message.
2997
3598
  */
@@ -3183,9 +3784,15 @@ export interface ProjectConnectorsSn {
3183
3784
  */
3184
3785
  name: pulumi.Input<string>;
3185
3786
  /**
3186
- * An optional phone number from which the text messages are going to be sent. Make sure it is registered properly in your server.
3787
+ * Use the `originationNumber` attribute instead.
3788
+ *
3789
+ * @deprecated The organizationNumber attribute has been renamed, set the originationNumber attribute instead. This attribute will be removed in a future version of the provider.
3187
3790
  */
3188
3791
  organizationNumber?: pulumi.Input<string>;
3792
+ /**
3793
+ * An optional phone number from which the text messages are going to be sent. Make sure it is registered properly in your server.
3794
+ */
3795
+ originationNumber?: pulumi.Input<string>;
3189
3796
  /**
3190
3797
  * AWS region to send requests to (e.g. `us-west-2`).
3191
3798
  */
@@ -3245,6 +3852,20 @@ export interface ProjectConnectorsSumologicAuditFilter {
3245
3852
  values: pulumi.Input<pulumi.Input<string>[]>;
3246
3853
  }
3247
3854
  export interface ProjectConnectorsSupabase {
3855
+ /**
3856
+ * The authentication type to use.
3857
+ */
3858
+ authType?: pulumi.Input<string>;
3859
+ /**
3860
+ * Enable to automatically create users in Supabase when generating tokens. Will only create a new user if one does not already exist. When disabled, only JWT tokens will be generated, WITHOUT user creation.
3861
+ */
3862
+ createUsers?: pulumi.Input<boolean>;
3863
+ /**
3864
+ * A mapping of Descope user fields or JWT claims to Supabase custom claims
3865
+ */
3866
+ customClaimsMapping?: pulumi.Input<{
3867
+ [key: string]: pulumi.Input<string>;
3868
+ }>;
3248
3869
  /**
3249
3870
  * A description of what your connector is used for.
3250
3871
  */
@@ -3258,10 +3879,22 @@ export interface ProjectConnectorsSupabase {
3258
3879
  * A custom name for your connector.
3259
3880
  */
3260
3881
  name: pulumi.Input<string>;
3882
+ /**
3883
+ * The private key in JWK format used to sign the JWT. You can generate a key using tools like `npx supabase gen signing-key --algorithm ES256`. Make sure to use the ES256 algorithm.
3884
+ */
3885
+ privateKey?: pulumi.Input<string>;
3886
+ /**
3887
+ * Your Supabase Project's API base URL, e.g.: https://\n\n.supabase.co.
3888
+ */
3889
+ projectBaseUrl?: pulumi.Input<string>;
3890
+ /**
3891
+ * The service role API key for your Supabase project, required to create users.
3892
+ */
3893
+ serviceRoleApiKey?: pulumi.Input<string>;
3261
3894
  /**
3262
3895
  * The signing secret for your Supabase project.
3263
3896
  */
3264
- signingSecret: pulumi.Input<string>;
3897
+ signingSecret?: pulumi.Input<string>;
3265
3898
  }
3266
3899
  export interface ProjectConnectorsTelesign {
3267
3900
  /**
@@ -3435,6 +4068,18 @@ export interface ProjectInviteSettings {
3435
4068
  * Whether to include a magic link token in invitation messages.
3436
4069
  */
3437
4070
  addMagiclinkToken?: pulumi.Input<boolean>;
4071
+ /**
4072
+ * Settings related to sending invitation emails.
4073
+ */
4074
+ emailService?: pulumi.Input<inputs.ProjectInviteSettingsEmailService>;
4075
+ /**
4076
+ * Expire the user account if the invitation is not accepted within the expiration time.
4077
+ */
4078
+ expireInvitedUsers?: pulumi.Input<boolean>;
4079
+ /**
4080
+ * The expiry time for the invitation, meant to be used together with `expireInvitedUsers` and/or `addMagiclinkToken`. Use values such as "2 weeks", "4 days", etc. The minimum value is "1 hour".
4081
+ */
4082
+ inviteExpiration?: pulumi.Input<string>;
3438
4083
  /**
3439
4084
  * Custom URL to include in the message sent to invited users.
3440
4085
  */
@@ -3452,6 +4097,43 @@ export interface ProjectInviteSettings {
3452
4097
  */
3453
4098
  sendText?: pulumi.Input<boolean>;
3454
4099
  }
4100
+ export interface ProjectInviteSettingsEmailService {
4101
+ /**
4102
+ * The name of the email connector to use for sending emails.
4103
+ */
4104
+ connector: pulumi.Input<string>;
4105
+ /**
4106
+ * A list of email templates for different authentication flows.
4107
+ */
4108
+ templates?: pulumi.Input<pulumi.Input<inputs.ProjectInviteSettingsEmailServiceTemplate>[]>;
4109
+ }
4110
+ export interface ProjectInviteSettingsEmailServiceTemplate {
4111
+ /**
4112
+ * Whether this email template is currently active and in use.
4113
+ */
4114
+ active?: pulumi.Input<boolean>;
4115
+ /**
4116
+ * HTML content of the email message body, required if `usePlainTextBody` isn't set.
4117
+ */
4118
+ htmlBody?: pulumi.Input<string>;
4119
+ id?: pulumi.Input<string>;
4120
+ /**
4121
+ * Unique name for this email template.
4122
+ */
4123
+ name: pulumi.Input<string>;
4124
+ /**
4125
+ * Plain text version of the email message body, required if `usePlainTextBody` is set to `true`.
4126
+ */
4127
+ plainTextBody?: pulumi.Input<string>;
4128
+ /**
4129
+ * Subject line of the email message.
4130
+ */
4131
+ subject: pulumi.Input<string>;
4132
+ /**
4133
+ * Whether to use the plain text body instead of HTML for the email.
4134
+ */
4135
+ usePlainTextBody?: pulumi.Input<boolean>;
4136
+ }
3455
4137
  export interface ProjectJwtTemplates {
3456
4138
  /**
3457
4139
  * A list of `Access Key` type JWT Templates.
@@ -3638,7 +4320,7 @@ export interface ProjectProjectSettingsSessionMigration {
3638
4320
  /**
3639
4321
  * The unique client ID for the vendor.
3640
4322
  */
3641
- clientId: pulumi.Input<string>;
4323
+ clientId?: pulumi.Input<string>;
3642
4324
  /**
3643
4325
  * The domain value if needed by the vendor.
3644
4326
  */
@@ -3650,11 +4332,11 @@ export interface ProjectProjectSettingsSessionMigration {
3650
4332
  /**
3651
4333
  * A set of attributes from the vendor's user that should be used to match with the Descope user's login ID.
3652
4334
  */
3653
- loginidMatchedAttributes: pulumi.Input<pulumi.Input<string>[]>;
4335
+ loginidMatchedAttributes?: pulumi.Input<pulumi.Input<string>[]>;
3654
4336
  /**
3655
4337
  * The name of the vendor the sessions are migrated from, in all lowercase.
3656
4338
  */
3657
- vendor: pulumi.Input<string>;
4339
+ vendor?: pulumi.Input<string>;
3658
4340
  }
3659
4341
  export interface ProjectStyles {
3660
4342
  /**
@@ -3662,3 +4344,9 @@ export interface ProjectStyles {
3662
4344
  */
3663
4345
  data: pulumi.Input<string>;
3664
4346
  }
4347
+ export interface ProjectWidgets {
4348
+ /**
4349
+ * The JSON data defining the widget. This will usually be exported as a `.json` file from the Descope console, and set in the `.tf` file using the `data = file("...")` syntax.
4350
+ */
4351
+ data: pulumi.Input<string>;
4352
+ }