@sapslaj/pulumi-infisical 0.15.36

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 (346) hide show
  1. package/README.md +8 -0
  2. package/dist/accessApprovalPolicy.d.ts +137 -0
  3. package/dist/accessApprovalPolicy.d.ts.map +1 -0
  4. package/dist/accessApprovalPolicy.js +98 -0
  5. package/dist/accessApprovalPolicy.js.map +1 -0
  6. package/dist/appConnection1password.d.ts +97 -0
  7. package/dist/appConnection1password.d.ts.map +1 -0
  8. package/dist/appConnection1password.js +86 -0
  9. package/dist/appConnection1password.js.map +1 -0
  10. package/dist/appConnectionAws.d.ts +97 -0
  11. package/dist/appConnectionAws.d.ts.map +1 -0
  12. package/dist/appConnectionAws.js +86 -0
  13. package/dist/appConnectionAws.js.map +1 -0
  14. package/dist/appConnectionAzureClientSecrets.d.ts +97 -0
  15. package/dist/appConnectionAzureClientSecrets.d.ts.map +1 -0
  16. package/dist/appConnectionAzureClientSecrets.js +86 -0
  17. package/dist/appConnectionAzureClientSecrets.js.map +1 -0
  18. package/dist/appConnectionBitbucket.d.ts +97 -0
  19. package/dist/appConnectionBitbucket.d.ts.map +1 -0
  20. package/dist/appConnectionBitbucket.js +86 -0
  21. package/dist/appConnectionBitbucket.js.map +1 -0
  22. package/dist/appConnectionCloudflare.d.ts +97 -0
  23. package/dist/appConnectionCloudflare.d.ts.map +1 -0
  24. package/dist/appConnectionCloudflare.js +86 -0
  25. package/dist/appConnectionCloudflare.js.map +1 -0
  26. package/dist/appConnectionDatabricks.d.ts +97 -0
  27. package/dist/appConnectionDatabricks.d.ts.map +1 -0
  28. package/dist/appConnectionDatabricks.js +86 -0
  29. package/dist/appConnectionDatabricks.js.map +1 -0
  30. package/dist/appConnectionFlyio.d.ts +97 -0
  31. package/dist/appConnectionFlyio.d.ts.map +1 -0
  32. package/dist/appConnectionFlyio.js +86 -0
  33. package/dist/appConnectionFlyio.js.map +1 -0
  34. package/dist/appConnectionGcp.d.ts +97 -0
  35. package/dist/appConnectionGcp.d.ts.map +1 -0
  36. package/dist/appConnectionGcp.js +86 -0
  37. package/dist/appConnectionGcp.js.map +1 -0
  38. package/dist/appConnectionGitlab.d.ts +97 -0
  39. package/dist/appConnectionGitlab.d.ts.map +1 -0
  40. package/dist/appConnectionGitlab.js +86 -0
  41. package/dist/appConnectionGitlab.js.map +1 -0
  42. package/dist/appConnectionLdap.d.ts +97 -0
  43. package/dist/appConnectionLdap.d.ts.map +1 -0
  44. package/dist/appConnectionLdap.js +86 -0
  45. package/dist/appConnectionLdap.js.map +1 -0
  46. package/dist/appConnectionMssql.d.ts +97 -0
  47. package/dist/appConnectionMssql.d.ts.map +1 -0
  48. package/dist/appConnectionMssql.js +86 -0
  49. package/dist/appConnectionMssql.js.map +1 -0
  50. package/dist/appConnectionMysql.d.ts +97 -0
  51. package/dist/appConnectionMysql.d.ts.map +1 -0
  52. package/dist/appConnectionMysql.js +86 -0
  53. package/dist/appConnectionMysql.js.map +1 -0
  54. package/dist/appConnectionOracledb.d.ts +97 -0
  55. package/dist/appConnectionOracledb.d.ts.map +1 -0
  56. package/dist/appConnectionOracledb.js +86 -0
  57. package/dist/appConnectionOracledb.js.map +1 -0
  58. package/dist/appConnectionPostgres.d.ts +97 -0
  59. package/dist/appConnectionPostgres.d.ts.map +1 -0
  60. package/dist/appConnectionPostgres.js +86 -0
  61. package/dist/appConnectionPostgres.js.map +1 -0
  62. package/dist/appConnectionRender.d.ts +97 -0
  63. package/dist/appConnectionRender.d.ts.map +1 -0
  64. package/dist/appConnectionRender.js +86 -0
  65. package/dist/appConnectionRender.js.map +1 -0
  66. package/dist/appConnectionSupabase.d.ts +97 -0
  67. package/dist/appConnectionSupabase.d.ts.map +1 -0
  68. package/dist/appConnectionSupabase.js +86 -0
  69. package/dist/appConnectionSupabase.js.map +1 -0
  70. package/dist/config/index.d.ts +2 -0
  71. package/dist/config/index.d.ts.map +1 -0
  72. package/dist/config/index.js +21 -0
  73. package/dist/config/index.js.map +1 -0
  74. package/dist/config/vars.d.ts +22 -0
  75. package/dist/config/vars.d.ts.map +1 -0
  76. package/dist/config/vars.js +60 -0
  77. package/dist/config/vars.js.map +1 -0
  78. package/dist/dynamicSecretAwsIam.d.ts +149 -0
  79. package/dist/dynamicSecretAwsIam.d.ts.map +1 -0
  80. package/dist/dynamicSecretAwsIam.js +103 -0
  81. package/dist/dynamicSecretAwsIam.js.map +1 -0
  82. package/dist/dynamicSecretKubernetes.d.ts +149 -0
  83. package/dist/dynamicSecretKubernetes.d.ts.map +1 -0
  84. package/dist/dynamicSecretKubernetes.js +103 -0
  85. package/dist/dynamicSecretKubernetes.js.map +1 -0
  86. package/dist/dynamicSecretMongoAtlas.d.ts +149 -0
  87. package/dist/dynamicSecretMongoAtlas.d.ts.map +1 -0
  88. package/dist/dynamicSecretMongoAtlas.js +103 -0
  89. package/dist/dynamicSecretMongoAtlas.js.map +1 -0
  90. package/dist/dynamicSecretMongoDb.d.ts +149 -0
  91. package/dist/dynamicSecretMongoDb.d.ts.map +1 -0
  92. package/dist/dynamicSecretMongoDb.js +103 -0
  93. package/dist/dynamicSecretMongoDb.js.map +1 -0
  94. package/dist/dynamicSecretSqlDatabase.d.ts +149 -0
  95. package/dist/dynamicSecretSqlDatabase.d.ts.map +1 -0
  96. package/dist/dynamicSecretSqlDatabase.js +103 -0
  97. package/dist/dynamicSecretSqlDatabase.js.map +1 -0
  98. package/dist/getGroups.d.ts +15 -0
  99. package/dist/getGroups.d.ts.map +1 -0
  100. package/dist/getGroups.js +41 -0
  101. package/dist/getGroups.js.map +1 -0
  102. package/dist/getIdentityDetails.d.ts +15 -0
  103. package/dist/getIdentityDetails.d.ts.map +1 -0
  104. package/dist/getIdentityDetails.js +41 -0
  105. package/dist/getIdentityDetails.js.map +1 -0
  106. package/dist/getProjects.d.ts +34 -0
  107. package/dist/getProjects.d.ts.map +1 -0
  108. package/dist/getProjects.js +45 -0
  109. package/dist/getProjects.js.map +1 -0
  110. package/dist/getSecretFolders.d.ts +34 -0
  111. package/dist/getSecretFolders.d.ts.map +1 -0
  112. package/dist/getSecretFolders.js +49 -0
  113. package/dist/getSecretFolders.js.map +1 -0
  114. package/dist/getSecretTag.d.ts +28 -0
  115. package/dist/getSecretTag.d.ts.map +1 -0
  116. package/dist/getSecretTag.js +47 -0
  117. package/dist/getSecretTag.js.map +1 -0
  118. package/dist/getSecrets.d.ts +36 -0
  119. package/dist/getSecrets.d.ts.map +1 -0
  120. package/dist/getSecrets.js +49 -0
  121. package/dist/getSecrets.js.map +1 -0
  122. package/dist/group.d.ts +75 -0
  123. package/dist/group.d.ts.map +1 -0
  124. package/dist/group.js +82 -0
  125. package/dist/group.js.map +1 -0
  126. package/dist/identity.d.ts +109 -0
  127. package/dist/identity.d.ts.map +1 -0
  128. package/dist/identity.js +88 -0
  129. package/dist/identity.js.map +1 -0
  130. package/dist/identityAwsAuth.d.ts +137 -0
  131. package/dist/identityAwsAuth.d.ts.map +1 -0
  132. package/dist/identityAwsAuth.js +89 -0
  133. package/dist/identityAwsAuth.js.map +1 -0
  134. package/dist/identityAzureAuth.d.ts +137 -0
  135. package/dist/identityAzureAuth.d.ts.map +1 -0
  136. package/dist/identityAzureAuth.js +92 -0
  137. package/dist/identityAzureAuth.js.map +1 -0
  138. package/dist/identityGcpAuth.d.ts +149 -0
  139. package/dist/identityGcpAuth.d.ts.map +1 -0
  140. package/dist/identityGcpAuth.js +91 -0
  141. package/dist/identityGcpAuth.js.map +1 -0
  142. package/dist/identityKubernetesAuth.d.ts +173 -0
  143. package/dist/identityKubernetesAuth.d.ts.map +1 -0
  144. package/dist/identityKubernetesAuth.js +101 -0
  145. package/dist/identityKubernetesAuth.js.map +1 -0
  146. package/dist/identityOidcAuth.d.ts +197 -0
  147. package/dist/identityOidcAuth.d.ts.map +1 -0
  148. package/dist/identityOidcAuth.js +103 -0
  149. package/dist/identityOidcAuth.js.map +1 -0
  150. package/dist/identityUniversalAuth.d.ts +113 -0
  151. package/dist/identityUniversalAuth.d.ts.map +1 -0
  152. package/dist/identityUniversalAuth.js +85 -0
  153. package/dist/identityUniversalAuth.js.map +1 -0
  154. package/dist/identityUniversalAuthClientSecret.d.ts +127 -0
  155. package/dist/identityUniversalAuthClientSecret.d.ts.map +1 -0
  156. package/dist/identityUniversalAuthClientSecret.js +93 -0
  157. package/dist/identityUniversalAuthClientSecret.js.map +1 -0
  158. package/dist/index.d.ts +239 -0
  159. package/dist/index.d.ts.map +1 -0
  160. package/dist/index.js +438 -0
  161. package/dist/index.js.map +1 -0
  162. package/dist/integrationAwsParameterStore.d.ts +165 -0
  163. package/dist/integrationAwsParameterStore.d.ts.map +1 -0
  164. package/dist/integrationAwsParameterStore.js +109 -0
  165. package/dist/integrationAwsParameterStore.js.map +1 -0
  166. package/dist/integrationAwsSecretsManager.d.ts +177 -0
  167. package/dist/integrationAwsSecretsManager.d.ts.map +1 -0
  168. package/dist/integrationAwsSecretsManager.js +108 -0
  169. package/dist/integrationAwsSecretsManager.js.map +1 -0
  170. package/dist/integrationCircleci.d.ts +127 -0
  171. package/dist/integrationCircleci.d.ts.map +1 -0
  172. package/dist/integrationCircleci.js +106 -0
  173. package/dist/integrationCircleci.js.map +1 -0
  174. package/dist/integrationDatabricks.d.ts +127 -0
  175. package/dist/integrationDatabricks.d.ts.map +1 -0
  176. package/dist/integrationDatabricks.js +106 -0
  177. package/dist/integrationDatabricks.js.map +1 -0
  178. package/dist/integrationGcpSecretManager.d.ts +129 -0
  179. package/dist/integrationGcpSecretManager.d.ts.map +1 -0
  180. package/dist/integrationGcpSecretManager.js +103 -0
  181. package/dist/integrationGcpSecretManager.js.map +1 -0
  182. package/dist/project.d.ts +137 -0
  183. package/dist/project.d.ts.map +1 -0
  184. package/dist/project.js +91 -0
  185. package/dist/project.js.map +1 -0
  186. package/dist/projectEnvironment.d.ts +87 -0
  187. package/dist/projectEnvironment.d.ts.map +1 -0
  188. package/dist/projectEnvironment.js +84 -0
  189. package/dist/projectEnvironment.js.map +1 -0
  190. package/dist/projectGroup.d.ts +97 -0
  191. package/dist/projectGroup.d.ts.map +1 -0
  192. package/dist/projectGroup.js +86 -0
  193. package/dist/projectGroup.js.map +1 -0
  194. package/dist/projectIdentity.d.ts +93 -0
  195. package/dist/projectIdentity.d.ts.map +1 -0
  196. package/dist/projectIdentity.js +89 -0
  197. package/dist/projectIdentity.js.map +1 -0
  198. package/dist/projectIdentitySpecificPrivilege.d.ts +161 -0
  199. package/dist/projectIdentitySpecificPrivilege.d.ts.map +1 -0
  200. package/dist/projectIdentitySpecificPrivilege.js +96 -0
  201. package/dist/projectIdentitySpecificPrivilege.js.map +1 -0
  202. package/dist/projectRole.d.ts +113 -0
  203. package/dist/projectRole.d.ts.map +1 -0
  204. package/dist/projectRole.js +88 -0
  205. package/dist/projectRole.js.map +1 -0
  206. package/dist/projectTemplate.d.ts +101 -0
  207. package/dist/projectTemplate.d.ts.map +1 -0
  208. package/dist/projectTemplate.js +83 -0
  209. package/dist/projectTemplate.js.map +1 -0
  210. package/dist/projectUser.d.ts +93 -0
  211. package/dist/projectUser.d.ts.map +1 -0
  212. package/dist/projectUser.js +89 -0
  213. package/dist/projectUser.js.map +1 -0
  214. package/dist/provider.d.ts +83 -0
  215. package/dist/provider.d.ts.map +1 -0
  216. package/dist/provider.js +83 -0
  217. package/dist/provider.js.map +1 -0
  218. package/dist/secret.d.ts +118 -0
  219. package/dist/secret.d.ts.map +1 -0
  220. package/dist/secret.js +97 -0
  221. package/dist/secret.js.map +1 -0
  222. package/dist/secretApprovalPolicy.d.ts +149 -0
  223. package/dist/secretApprovalPolicy.d.ts.map +1 -0
  224. package/dist/secretApprovalPolicy.js +100 -0
  225. package/dist/secretApprovalPolicy.js.map +1 -0
  226. package/dist/secretFolder.d.ts +103 -0
  227. package/dist/secretFolder.d.ts.map +1 -0
  228. package/dist/secretFolder.js +91 -0
  229. package/dist/secretFolder.js.map +1 -0
  230. package/dist/secretImport.d.ts +111 -0
  231. package/dist/secretImport.d.ts.map +1 -0
  232. package/dist/secretImport.js +100 -0
  233. package/dist/secretImport.js.map +1 -0
  234. package/dist/secretRotationAwsIamUserSecret.d.ts +185 -0
  235. package/dist/secretRotationAwsIamUserSecret.d.ts.map +1 -0
  236. package/dist/secretRotationAwsIamUserSecret.js +112 -0
  237. package/dist/secretRotationAwsIamUserSecret.js.map +1 -0
  238. package/dist/secretRotationAzureClientSecret.d.ts +185 -0
  239. package/dist/secretRotationAzureClientSecret.d.ts.map +1 -0
  240. package/dist/secretRotationAzureClientSecret.js +112 -0
  241. package/dist/secretRotationAzureClientSecret.js.map +1 -0
  242. package/dist/secretRotationLdapPassword.d.ts +185 -0
  243. package/dist/secretRotationLdapPassword.d.ts.map +1 -0
  244. package/dist/secretRotationLdapPassword.js +112 -0
  245. package/dist/secretRotationLdapPassword.js.map +1 -0
  246. package/dist/secretRotationMssqlCredentials.d.ts +185 -0
  247. package/dist/secretRotationMssqlCredentials.d.ts.map +1 -0
  248. package/dist/secretRotationMssqlCredentials.js +112 -0
  249. package/dist/secretRotationMssqlCredentials.js.map +1 -0
  250. package/dist/secretRotationMysqlCredentials.d.ts +185 -0
  251. package/dist/secretRotationMysqlCredentials.d.ts.map +1 -0
  252. package/dist/secretRotationMysqlCredentials.js +112 -0
  253. package/dist/secretRotationMysqlCredentials.js.map +1 -0
  254. package/dist/secretRotationOracledbCredentials.d.ts +185 -0
  255. package/dist/secretRotationOracledbCredentials.d.ts.map +1 -0
  256. package/dist/secretRotationOracledbCredentials.js +112 -0
  257. package/dist/secretRotationOracledbCredentials.js.map +1 -0
  258. package/dist/secretRotationPostgresCredentials.d.ts +185 -0
  259. package/dist/secretRotationPostgresCredentials.d.ts.map +1 -0
  260. package/dist/secretRotationPostgresCredentials.js +112 -0
  261. package/dist/secretRotationPostgresCredentials.js.map +1 -0
  262. package/dist/secretSync1password.d.ts +149 -0
  263. package/dist/secretSync1password.d.ts.map +1 -0
  264. package/dist/secretSync1password.js +106 -0
  265. package/dist/secretSync1password.js.map +1 -0
  266. package/dist/secretSyncAwsParameterStore.d.ts +149 -0
  267. package/dist/secretSyncAwsParameterStore.d.ts.map +1 -0
  268. package/dist/secretSyncAwsParameterStore.js +106 -0
  269. package/dist/secretSyncAwsParameterStore.js.map +1 -0
  270. package/dist/secretSyncAwsSecretsManager.d.ts +149 -0
  271. package/dist/secretSyncAwsSecretsManager.d.ts.map +1 -0
  272. package/dist/secretSyncAwsSecretsManager.js +106 -0
  273. package/dist/secretSyncAwsSecretsManager.js.map +1 -0
  274. package/dist/secretSyncAzureAppConfiguration.d.ts +149 -0
  275. package/dist/secretSyncAzureAppConfiguration.d.ts.map +1 -0
  276. package/dist/secretSyncAzureAppConfiguration.js +106 -0
  277. package/dist/secretSyncAzureAppConfiguration.js.map +1 -0
  278. package/dist/secretSyncAzureDevops.d.ts +149 -0
  279. package/dist/secretSyncAzureDevops.d.ts.map +1 -0
  280. package/dist/secretSyncAzureDevops.js +106 -0
  281. package/dist/secretSyncAzureDevops.js.map +1 -0
  282. package/dist/secretSyncAzureKeyVault.d.ts +149 -0
  283. package/dist/secretSyncAzureKeyVault.d.ts.map +1 -0
  284. package/dist/secretSyncAzureKeyVault.js +106 -0
  285. package/dist/secretSyncAzureKeyVault.js.map +1 -0
  286. package/dist/secretSyncBitbucket.d.ts +149 -0
  287. package/dist/secretSyncBitbucket.d.ts.map +1 -0
  288. package/dist/secretSyncBitbucket.js +106 -0
  289. package/dist/secretSyncBitbucket.js.map +1 -0
  290. package/dist/secretSyncCloudflarePages.d.ts +149 -0
  291. package/dist/secretSyncCloudflarePages.d.ts.map +1 -0
  292. package/dist/secretSyncCloudflarePages.js +106 -0
  293. package/dist/secretSyncCloudflarePages.js.map +1 -0
  294. package/dist/secretSyncCloudflareWorkers.d.ts +149 -0
  295. package/dist/secretSyncCloudflareWorkers.d.ts.map +1 -0
  296. package/dist/secretSyncCloudflareWorkers.js +106 -0
  297. package/dist/secretSyncCloudflareWorkers.js.map +1 -0
  298. package/dist/secretSyncDatabricks.d.ts +149 -0
  299. package/dist/secretSyncDatabricks.d.ts.map +1 -0
  300. package/dist/secretSyncDatabricks.js +106 -0
  301. package/dist/secretSyncDatabricks.js.map +1 -0
  302. package/dist/secretSyncFlyio.d.ts +149 -0
  303. package/dist/secretSyncFlyio.d.ts.map +1 -0
  304. package/dist/secretSyncFlyio.js +106 -0
  305. package/dist/secretSyncFlyio.js.map +1 -0
  306. package/dist/secretSyncGcpSecretManager.d.ts +149 -0
  307. package/dist/secretSyncGcpSecretManager.d.ts.map +1 -0
  308. package/dist/secretSyncGcpSecretManager.js +106 -0
  309. package/dist/secretSyncGcpSecretManager.js.map +1 -0
  310. package/dist/secretSyncGithub.d.ts +149 -0
  311. package/dist/secretSyncGithub.d.ts.map +1 -0
  312. package/dist/secretSyncGithub.js +106 -0
  313. package/dist/secretSyncGithub.js.map +1 -0
  314. package/dist/secretSyncGitlab.d.ts +149 -0
  315. package/dist/secretSyncGitlab.d.ts.map +1 -0
  316. package/dist/secretSyncGitlab.js +106 -0
  317. package/dist/secretSyncGitlab.js.map +1 -0
  318. package/dist/secretSyncRender.d.ts +149 -0
  319. package/dist/secretSyncRender.d.ts.map +1 -0
  320. package/dist/secretSyncRender.js +106 -0
  321. package/dist/secretSyncRender.js.map +1 -0
  322. package/dist/secretSyncSupabase.d.ts +149 -0
  323. package/dist/secretSyncSupabase.d.ts.map +1 -0
  324. package/dist/secretSyncSupabase.js +106 -0
  325. package/dist/secretSyncSupabase.js.map +1 -0
  326. package/dist/secretTag.d.ts +87 -0
  327. package/dist/secretTag.d.ts.map +1 -0
  328. package/dist/secretTag.js +87 -0
  329. package/dist/secretTag.js.map +1 -0
  330. package/dist/types/index.d.ts +4 -0
  331. package/dist/types/index.d.ts.map +1 -0
  332. package/dist/types/index.js +34 -0
  333. package/dist/types/index.js.map +1 -0
  334. package/dist/types/input.d.ts +1766 -0
  335. package/dist/types/input.d.ts.map +1 -0
  336. package/dist/types/input.js +5 -0
  337. package/dist/types/input.js.map +1 -0
  338. package/dist/types/output.d.ts +1839 -0
  339. package/dist/types/output.d.ts.map +1 -0
  340. package/dist/types/output.js +5 -0
  341. package/dist/types/output.js.map +1 -0
  342. package/dist/utilities.d.ts +15 -0
  343. package/dist/utilities.d.ts.map +1 -0
  344. package/dist/utilities.js +152 -0
  345. package/dist/utilities.js.map +1 -0
  346. package/package.json +27 -0
@@ -0,0 +1,149 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
4
+ export declare class SecretSyncGithub extends pulumi.CustomResource {
5
+ /**
6
+ * Get an existing SecretSyncGithub resource's state with the given name, ID, and optional extra
7
+ * properties used to qualify the lookup.
8
+ *
9
+ * @param name The _unique_ name of the resulting resource.
10
+ * @param id The _unique_ provider ID of the resource to lookup.
11
+ * @param state Any extra arguments used during the lookup.
12
+ * @param opts Optional settings to control the behavior of the CustomResource.
13
+ */
14
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: SecretSyncGithubState, opts?: pulumi.CustomResourceOptions): SecretSyncGithub;
15
+ /** @internal */
16
+ static readonly __pulumiType = "infisical:index/secretSyncGithub:SecretSyncGithub";
17
+ /**
18
+ * Returns true if the given object is an instance of SecretSyncGithub. This is designed to work even
19
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
20
+ */
21
+ static isInstance(obj: any): obj is SecretSyncGithub;
22
+ /**
23
+ * Whether secrets should be automatically synced when changes occur at the source location or not.
24
+ */
25
+ readonly autoSyncEnabled: pulumi.Output<boolean>;
26
+ /**
27
+ * The ID of the github Connection to use for syncing.
28
+ */
29
+ readonly connectionId: pulumi.Output<string>;
30
+ /**
31
+ * An optional description for the Github sync.
32
+ */
33
+ readonly description: pulumi.Output<string | undefined>;
34
+ /**
35
+ * The destination configuration for the secret sync.
36
+ */
37
+ readonly destinationConfig: pulumi.Output<outputs.SecretSyncGithubDestinationConfig>;
38
+ /**
39
+ * The slug of the project environment to sync secrets from.
40
+ */
41
+ readonly environment: pulumi.Output<string>;
42
+ /**
43
+ * The name of the Github sync to create. Must be slug-friendly.
44
+ */
45
+ readonly name: pulumi.Output<string>;
46
+ /**
47
+ * The ID of the Infisical project to create the sync in.
48
+ */
49
+ readonly projectId: pulumi.Output<string>;
50
+ /**
51
+ * The folder path to sync secrets from.
52
+ */
53
+ readonly secretPath: pulumi.Output<string>;
54
+ /**
55
+ * Parameters to modify how secrets are synced.
56
+ */
57
+ readonly syncOptions: pulumi.Output<outputs.SecretSyncGithubSyncOptions>;
58
+ /**
59
+ * Create a SecretSyncGithub resource with the given unique name, arguments, and options.
60
+ *
61
+ * @param name The _unique_ name of the resource.
62
+ * @param args The arguments to use to populate this resource's properties.
63
+ * @param opts A bag of options that control this resource's behavior.
64
+ */
65
+ constructor(name: string, args: SecretSyncGithubArgs, opts?: pulumi.CustomResourceOptions);
66
+ }
67
+ /**
68
+ * Input properties used for looking up and filtering SecretSyncGithub resources.
69
+ */
70
+ export interface SecretSyncGithubState {
71
+ /**
72
+ * Whether secrets should be automatically synced when changes occur at the source location or not.
73
+ */
74
+ autoSyncEnabled?: pulumi.Input<boolean>;
75
+ /**
76
+ * The ID of the github Connection to use for syncing.
77
+ */
78
+ connectionId?: pulumi.Input<string>;
79
+ /**
80
+ * An optional description for the Github sync.
81
+ */
82
+ description?: pulumi.Input<string>;
83
+ /**
84
+ * The destination configuration for the secret sync.
85
+ */
86
+ destinationConfig?: pulumi.Input<inputs.SecretSyncGithubDestinationConfig>;
87
+ /**
88
+ * The slug of the project environment to sync secrets from.
89
+ */
90
+ environment?: pulumi.Input<string>;
91
+ /**
92
+ * The name of the Github sync to create. Must be slug-friendly.
93
+ */
94
+ name?: pulumi.Input<string>;
95
+ /**
96
+ * The ID of the Infisical project to create the sync in.
97
+ */
98
+ projectId?: pulumi.Input<string>;
99
+ /**
100
+ * The folder path to sync secrets from.
101
+ */
102
+ secretPath?: pulumi.Input<string>;
103
+ /**
104
+ * Parameters to modify how secrets are synced.
105
+ */
106
+ syncOptions?: pulumi.Input<inputs.SecretSyncGithubSyncOptions>;
107
+ }
108
+ /**
109
+ * The set of arguments for constructing a SecretSyncGithub resource.
110
+ */
111
+ export interface SecretSyncGithubArgs {
112
+ /**
113
+ * Whether secrets should be automatically synced when changes occur at the source location or not.
114
+ */
115
+ autoSyncEnabled?: pulumi.Input<boolean>;
116
+ /**
117
+ * The ID of the github Connection to use for syncing.
118
+ */
119
+ connectionId: pulumi.Input<string>;
120
+ /**
121
+ * An optional description for the Github sync.
122
+ */
123
+ description?: pulumi.Input<string>;
124
+ /**
125
+ * The destination configuration for the secret sync.
126
+ */
127
+ destinationConfig: pulumi.Input<inputs.SecretSyncGithubDestinationConfig>;
128
+ /**
129
+ * The slug of the project environment to sync secrets from.
130
+ */
131
+ environment: pulumi.Input<string>;
132
+ /**
133
+ * The name of the Github sync to create. Must be slug-friendly.
134
+ */
135
+ name?: pulumi.Input<string>;
136
+ /**
137
+ * The ID of the Infisical project to create the sync in.
138
+ */
139
+ projectId: pulumi.Input<string>;
140
+ /**
141
+ * The folder path to sync secrets from.
142
+ */
143
+ secretPath: pulumi.Input<string>;
144
+ /**
145
+ * Parameters to modify how secrets are synced.
146
+ */
147
+ syncOptions: pulumi.Input<inputs.SecretSyncGithubSyncOptions>;
148
+ }
149
+ //# sourceMappingURL=secretSyncGithub.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"secretSyncGithub.d.ts","sourceRoot":"","sources":["../src/secretSyncGithub.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C,qBAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IACvD;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,E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EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACjC;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,2BAA2B,CAAC,CAAC;CACjE"}
@@ -0,0 +1,106 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
+ if (k2 === undefined) k2 = k;
6
+ var desc = Object.getOwnPropertyDescriptor(m, k);
7
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
+ desc = { enumerable: true, get: function() { return m[k]; } };
9
+ }
10
+ Object.defineProperty(o, k2, desc);
11
+ }) : (function(o, m, k, k2) {
12
+ if (k2 === undefined) k2 = k;
13
+ o[k2] = m[k];
14
+ }));
15
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
16
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
17
+ }) : function(o, v) {
18
+ o["default"] = v;
19
+ });
20
+ var __importStar = (this && this.__importStar) || function (mod) {
21
+ if (mod && mod.__esModule) return mod;
22
+ var result = {};
23
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
24
+ __setModuleDefault(result, mod);
25
+ return result;
26
+ };
27
+ Object.defineProperty(exports, "__esModule", { value: true });
28
+ exports.SecretSyncGithub = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("./utilities"));
31
+ class SecretSyncGithub extends pulumi.CustomResource {
32
+ /**
33
+ * Get an existing SecretSyncGithub resource's state with the given name, ID, and optional extra
34
+ * properties used to qualify the lookup.
35
+ *
36
+ * @param name The _unique_ name of the resulting resource.
37
+ * @param id The _unique_ provider ID of the resource to lookup.
38
+ * @param state Any extra arguments used during the lookup.
39
+ * @param opts Optional settings to control the behavior of the CustomResource.
40
+ */
41
+ static get(name, id, state, opts) {
42
+ return new SecretSyncGithub(name, state, { ...opts, id: id });
43
+ }
44
+ /**
45
+ * Returns true if the given object is an instance of SecretSyncGithub. This is designed to work even
46
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
47
+ */
48
+ static isInstance(obj) {
49
+ if (obj === undefined || obj === null) {
50
+ return false;
51
+ }
52
+ return obj['__pulumiType'] === SecretSyncGithub.__pulumiType;
53
+ }
54
+ constructor(name, argsOrState, opts) {
55
+ let resourceInputs = {};
56
+ opts = opts || {};
57
+ if (opts.id) {
58
+ const state = argsOrState;
59
+ resourceInputs["autoSyncEnabled"] = state?.autoSyncEnabled;
60
+ resourceInputs["connectionId"] = state?.connectionId;
61
+ resourceInputs["description"] = state?.description;
62
+ resourceInputs["destinationConfig"] = state?.destinationConfig;
63
+ resourceInputs["environment"] = state?.environment;
64
+ resourceInputs["name"] = state?.name;
65
+ resourceInputs["projectId"] = state?.projectId;
66
+ resourceInputs["secretPath"] = state?.secretPath;
67
+ resourceInputs["syncOptions"] = state?.syncOptions;
68
+ }
69
+ else {
70
+ const args = argsOrState;
71
+ if (args?.connectionId === undefined && !opts.urn) {
72
+ throw new Error("Missing required property 'connectionId'");
73
+ }
74
+ if (args?.destinationConfig === undefined && !opts.urn) {
75
+ throw new Error("Missing required property 'destinationConfig'");
76
+ }
77
+ if (args?.environment === undefined && !opts.urn) {
78
+ throw new Error("Missing required property 'environment'");
79
+ }
80
+ if (args?.projectId === undefined && !opts.urn) {
81
+ throw new Error("Missing required property 'projectId'");
82
+ }
83
+ if (args?.secretPath === undefined && !opts.urn) {
84
+ throw new Error("Missing required property 'secretPath'");
85
+ }
86
+ if (args?.syncOptions === undefined && !opts.urn) {
87
+ throw new Error("Missing required property 'syncOptions'");
88
+ }
89
+ resourceInputs["autoSyncEnabled"] = args?.autoSyncEnabled;
90
+ resourceInputs["connectionId"] = args?.connectionId;
91
+ resourceInputs["description"] = args?.description;
92
+ resourceInputs["destinationConfig"] = args?.destinationConfig;
93
+ resourceInputs["environment"] = args?.environment;
94
+ resourceInputs["name"] = args?.name;
95
+ resourceInputs["projectId"] = args?.projectId;
96
+ resourceInputs["secretPath"] = args?.secretPath;
97
+ resourceInputs["syncOptions"] = args?.syncOptions;
98
+ }
99
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
100
+ super(SecretSyncGithub.__pulumiType, name, resourceInputs, opts, false /*dependency*/, utilities.getPackage());
101
+ }
102
+ }
103
+ exports.SecretSyncGithub = SecretSyncGithub;
104
+ /** @internal */
105
+ SecretSyncGithub.__pulumiType = 'infisical:index/secretSyncGithub:SecretSyncGithub';
106
+ //# sourceMappingURL=secretSyncGithub.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"secretSyncGithub.js","sourceRoot":"","sources":["../src/secretSyncGithub.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IACvD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA6B,EAAE,IAAmC;QAC3H,OAAO,IAAI,gBAAgB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACvE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,gBAAgB,CAAC,YAAY,CAAC;IACjE,CAAC;IA+CD,YAAY,IAAY,EAAE,WAA0D,EAAE,IAAmC;QACrH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GA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";
3
+ import * as outputs from "./types/output";
4
+ export declare class SecretSyncGitlab extends pulumi.CustomResource {
5
+ /**
6
+ * Get an existing SecretSyncGitlab resource's state with the given name, ID, and optional extra
7
+ * properties used to qualify the lookup.
8
+ *
9
+ * @param name The _unique_ name of the resulting resource.
10
+ * @param id The _unique_ provider ID of the resource to lookup.
11
+ * @param state Any extra arguments used during the lookup.
12
+ * @param opts Optional settings to control the behavior of the CustomResource.
13
+ */
14
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: SecretSyncGitlabState, opts?: pulumi.CustomResourceOptions): SecretSyncGitlab;
15
+ /** @internal */
16
+ static readonly __pulumiType = "infisical:index/secretSyncGitlab:SecretSyncGitlab";
17
+ /**
18
+ * Returns true if the given object is an instance of SecretSyncGitlab. This is designed to work even
19
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
20
+ */
21
+ static isInstance(obj: any): obj is SecretSyncGitlab;
22
+ /**
23
+ * Whether secrets should be automatically synced when changes occur at the source location or not.
24
+ */
25
+ readonly autoSyncEnabled: pulumi.Output<boolean>;
26
+ /**
27
+ * The ID of the gitlab Connection to use for syncing.
28
+ */
29
+ readonly connectionId: pulumi.Output<string>;
30
+ /**
31
+ * An optional description for the GitLab sync.
32
+ */
33
+ readonly description: pulumi.Output<string | undefined>;
34
+ /**
35
+ * The destination configuration for the secret sync.
36
+ */
37
+ readonly destinationConfig: pulumi.Output<outputs.SecretSyncGitlabDestinationConfig>;
38
+ /**
39
+ * The slug of the project environment to sync secrets from.
40
+ */
41
+ readonly environment: pulumi.Output<string>;
42
+ /**
43
+ * The name of the GitLab sync to create. Must be slug-friendly.
44
+ */
45
+ readonly name: pulumi.Output<string>;
46
+ /**
47
+ * The ID of the Infisical project to create the sync in.
48
+ */
49
+ readonly projectId: pulumi.Output<string>;
50
+ /**
51
+ * The folder path to sync secrets from.
52
+ */
53
+ readonly secretPath: pulumi.Output<string>;
54
+ /**
55
+ * Parameters to modify how secrets are synced.
56
+ */
57
+ readonly syncOptions: pulumi.Output<outputs.SecretSyncGitlabSyncOptions>;
58
+ /**
59
+ * Create a SecretSyncGitlab resource with the given unique name, arguments, and options.
60
+ *
61
+ * @param name The _unique_ name of the resource.
62
+ * @param args The arguments to use to populate this resource's properties.
63
+ * @param opts A bag of options that control this resource's behavior.
64
+ */
65
+ constructor(name: string, args: SecretSyncGitlabArgs, opts?: pulumi.CustomResourceOptions);
66
+ }
67
+ /**
68
+ * Input properties used for looking up and filtering SecretSyncGitlab resources.
69
+ */
70
+ export interface SecretSyncGitlabState {
71
+ /**
72
+ * Whether secrets should be automatically synced when changes occur at the source location or not.
73
+ */
74
+ autoSyncEnabled?: pulumi.Input<boolean>;
75
+ /**
76
+ * The ID of the gitlab Connection to use for syncing.
77
+ */
78
+ connectionId?: pulumi.Input<string>;
79
+ /**
80
+ * An optional description for the GitLab sync.
81
+ */
82
+ description?: pulumi.Input<string>;
83
+ /**
84
+ * The destination configuration for the secret sync.
85
+ */
86
+ destinationConfig?: pulumi.Input<inputs.SecretSyncGitlabDestinationConfig>;
87
+ /**
88
+ * The slug of the project environment to sync secrets from.
89
+ */
90
+ environment?: pulumi.Input<string>;
91
+ /**
92
+ * The name of the GitLab sync to create. Must be slug-friendly.
93
+ */
94
+ name?: pulumi.Input<string>;
95
+ /**
96
+ * The ID of the Infisical project to create the sync in.
97
+ */
98
+ projectId?: pulumi.Input<string>;
99
+ /**
100
+ * The folder path to sync secrets from.
101
+ */
102
+ secretPath?: pulumi.Input<string>;
103
+ /**
104
+ * Parameters to modify how secrets are synced.
105
+ */
106
+ syncOptions?: pulumi.Input<inputs.SecretSyncGitlabSyncOptions>;
107
+ }
108
+ /**
109
+ * The set of arguments for constructing a SecretSyncGitlab resource.
110
+ */
111
+ export interface SecretSyncGitlabArgs {
112
+ /**
113
+ * Whether secrets should be automatically synced when changes occur at the source location or not.
114
+ */
115
+ autoSyncEnabled?: pulumi.Input<boolean>;
116
+ /**
117
+ * The ID of the gitlab Connection to use for syncing.
118
+ */
119
+ connectionId: pulumi.Input<string>;
120
+ /**
121
+ * An optional description for the GitLab sync.
122
+ */
123
+ description?: pulumi.Input<string>;
124
+ /**
125
+ * The destination configuration for the secret sync.
126
+ */
127
+ destinationConfig: pulumi.Input<inputs.SecretSyncGitlabDestinationConfig>;
128
+ /**
129
+ * The slug of the project environment to sync secrets from.
130
+ */
131
+ environment: pulumi.Input<string>;
132
+ /**
133
+ * The name of the GitLab sync to create. Must be slug-friendly.
134
+ */
135
+ name?: pulumi.Input<string>;
136
+ /**
137
+ * The ID of the Infisical project to create the sync in.
138
+ */
139
+ projectId: pulumi.Input<string>;
140
+ /**
141
+ * The folder path to sync secrets from.
142
+ */
143
+ secretPath: pulumi.Input<string>;
144
+ /**
145
+ * Parameters to modify how secrets are synced.
146
+ */
147
+ syncOptions: pulumi.Input<inputs.SecretSyncGitlabSyncOptions>;
148
+ }
149
+ //# sourceMappingURL=secretSyncGitlab.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"secretSyncGitlab.d.ts","sourceRoot":"","sources":["../src/secretSyncGitlab.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C,qBAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IACvD;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,qBAAqB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,gBAAgB;IAIlJ,gBAAgB;IAChB,gBAAuB,YAAY,uDAAuD;IAE1F;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,gBAAgB;IAO3D;;OAEG;IACH,SAAwB,eAAe,EAAE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unless you're certain you know what you are doing! ***
4
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
+ if (k2 === undefined) k2 = k;
6
+ var desc = Object.getOwnPropertyDescriptor(m, k);
7
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
+ desc = { enumerable: true, get: function() { return m[k]; } };
9
+ }
10
+ Object.defineProperty(o, k2, desc);
11
+ }) : (function(o, m, k, k2) {
12
+ if (k2 === undefined) k2 = k;
13
+ o[k2] = m[k];
14
+ }));
15
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
16
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
17
+ }) : function(o, v) {
18
+ o["default"] = v;
19
+ });
20
+ var __importStar = (this && this.__importStar) || function (mod) {
21
+ if (mod && mod.__esModule) return mod;
22
+ var result = {};
23
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
24
+ __setModuleDefault(result, mod);
25
+ return result;
26
+ };
27
+ Object.defineProperty(exports, "__esModule", { value: true });
28
+ exports.SecretSyncGitlab = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("./utilities"));
31
+ class SecretSyncGitlab extends pulumi.CustomResource {
32
+ /**
33
+ * Get an existing SecretSyncGitlab resource's state with the given name, ID, and optional extra
34
+ * properties used to qualify the lookup.
35
+ *
36
+ * @param name The _unique_ name of the resulting resource.
37
+ * @param id The _unique_ provider ID of the resource to lookup.
38
+ * @param state Any extra arguments used during the lookup.
39
+ * @param opts Optional settings to control the behavior of the CustomResource.
40
+ */
41
+ static get(name, id, state, opts) {
42
+ return new SecretSyncGitlab(name, state, { ...opts, id: id });
43
+ }
44
+ /**
45
+ * Returns true if the given object is an instance of SecretSyncGitlab. This is designed to work even
46
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
47
+ */
48
+ static isInstance(obj) {
49
+ if (obj === undefined || obj === null) {
50
+ return false;
51
+ }
52
+ return obj['__pulumiType'] === SecretSyncGitlab.__pulumiType;
53
+ }
54
+ constructor(name, argsOrState, opts) {
55
+ let resourceInputs = {};
56
+ opts = opts || {};
57
+ if (opts.id) {
58
+ const state = argsOrState;
59
+ resourceInputs["autoSyncEnabled"] = state?.autoSyncEnabled;
60
+ resourceInputs["connectionId"] = state?.connectionId;
61
+ resourceInputs["description"] = state?.description;
62
+ resourceInputs["destinationConfig"] = state?.destinationConfig;
63
+ resourceInputs["environment"] = state?.environment;
64
+ resourceInputs["name"] = state?.name;
65
+ resourceInputs["projectId"] = state?.projectId;
66
+ resourceInputs["secretPath"] = state?.secretPath;
67
+ resourceInputs["syncOptions"] = state?.syncOptions;
68
+ }
69
+ else {
70
+ const args = argsOrState;
71
+ if (args?.connectionId === undefined && !opts.urn) {
72
+ throw new Error("Missing required property 'connectionId'");
73
+ }
74
+ if (args?.destinationConfig === undefined && !opts.urn) {
75
+ throw new Error("Missing required property 'destinationConfig'");
76
+ }
77
+ if (args?.environment === undefined && !opts.urn) {
78
+ throw new Error("Missing required property 'environment'");
79
+ }
80
+ if (args?.projectId === undefined && !opts.urn) {
81
+ throw new Error("Missing required property 'projectId'");
82
+ }
83
+ if (args?.secretPath === undefined && !opts.urn) {
84
+ throw new Error("Missing required property 'secretPath'");
85
+ }
86
+ if (args?.syncOptions === undefined && !opts.urn) {
87
+ throw new Error("Missing required property 'syncOptions'");
88
+ }
89
+ resourceInputs["autoSyncEnabled"] = args?.autoSyncEnabled;
90
+ resourceInputs["connectionId"] = args?.connectionId;
91
+ resourceInputs["description"] = args?.description;
92
+ resourceInputs["destinationConfig"] = args?.destinationConfig;
93
+ resourceInputs["environment"] = args?.environment;
94
+ resourceInputs["name"] = args?.name;
95
+ resourceInputs["projectId"] = args?.projectId;
96
+ resourceInputs["secretPath"] = args?.secretPath;
97
+ resourceInputs["syncOptions"] = args?.syncOptions;
98
+ }
99
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
100
+ super(SecretSyncGitlab.__pulumiType, name, resourceInputs, opts, false /*dependency*/, utilities.getPackage());
101
+ }
102
+ }
103
+ exports.SecretSyncGitlab = SecretSyncGitlab;
104
+ /** @internal */
105
+ SecretSyncGitlab.__pulumiType = 'infisical:index/secretSyncGitlab:SecretSyncGitlab';
106
+ //# sourceMappingURL=secretSyncGitlab.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"secretSyncGitlab.js","sourceRoot":"","sources":["../src/secretSyncGitlab.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IACvD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA6B,EAAE,IAAmC;QAC3H,OAAO,IAAI,gBAAgB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACvE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,gBAAgB,CAAC,YAAY,CAAC;IACjE,CAAC;IA+CD,YAAY,IAAY,EAAE,WAA0D,EAAE,IAAmC;QACrH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAgD,CAAC;YAC/D,cAAc,CAAC,iBAAiB,CAAC,GAAG,KAAK,EAAE,eAAe,CAAC;YAC3D,cAAc,CAAC,cAAc,CAAC,GAAG,KAAK,EAAE,Y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