pulumi-vault 6.0.0__py3-none-any.whl → 6.1.0__py3-none-any.whl

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.
@@ -17,6 +17,7 @@ class SyncAwsDestinationArgs:
17
17
  access_key_id: Optional[pulumi.Input[str]] = None,
18
18
  custom_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
19
19
  external_id: Optional[pulumi.Input[str]] = None,
20
+ granularity: Optional[pulumi.Input[str]] = None,
20
21
  name: Optional[pulumi.Input[str]] = None,
21
22
  namespace: Optional[pulumi.Input[str]] = None,
22
23
  region: Optional[pulumi.Input[str]] = None,
@@ -34,6 +35,8 @@ class SyncAwsDestinationArgs:
34
35
  The field is mutable with no special condition, but users must be careful that the new value fits with the trust
35
36
  relationship condition they set on AWS otherwise sync operations will start to fail due to client-side access
36
37
  denied errors. Ignored if the `role_arn` field is empty.
38
+ :param pulumi.Input[str] granularity: Determines what level of information is synced as a distinct resource
39
+ at the destination. Supports `secret-path` and `secret-key`.
37
40
  :param pulumi.Input[str] name: Unique name of the AWS destination.
38
41
  :param pulumi.Input[str] namespace: The namespace to provision the resource in.
39
42
  The value should not contain leading or trailing forward slashes.
@@ -58,6 +61,8 @@ class SyncAwsDestinationArgs:
58
61
  pulumi.set(__self__, "custom_tags", custom_tags)
59
62
  if external_id is not None:
60
63
  pulumi.set(__self__, "external_id", external_id)
64
+ if granularity is not None:
65
+ pulumi.set(__self__, "granularity", granularity)
61
66
  if name is not None:
62
67
  pulumi.set(__self__, "name", name)
63
68
  if namespace is not None:
@@ -113,6 +118,19 @@ class SyncAwsDestinationArgs:
113
118
  def external_id(self, value: Optional[pulumi.Input[str]]):
114
119
  pulumi.set(self, "external_id", value)
115
120
 
121
+ @property
122
+ @pulumi.getter
123
+ def granularity(self) -> Optional[pulumi.Input[str]]:
124
+ """
125
+ Determines what level of information is synced as a distinct resource
126
+ at the destination. Supports `secret-path` and `secret-key`.
127
+ """
128
+ return pulumi.get(self, "granularity")
129
+
130
+ @granularity.setter
131
+ def granularity(self, value: Optional[pulumi.Input[str]]):
132
+ pulumi.set(self, "granularity", value)
133
+
116
134
  @property
117
135
  @pulumi.getter
118
136
  def name(self) -> Optional[pulumi.Input[str]]:
@@ -203,6 +221,7 @@ class _SyncAwsDestinationState:
203
221
  access_key_id: Optional[pulumi.Input[str]] = None,
204
222
  custom_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
205
223
  external_id: Optional[pulumi.Input[str]] = None,
224
+ granularity: Optional[pulumi.Input[str]] = None,
206
225
  name: Optional[pulumi.Input[str]] = None,
207
226
  namespace: Optional[pulumi.Input[str]] = None,
208
227
  region: Optional[pulumi.Input[str]] = None,
@@ -221,6 +240,8 @@ class _SyncAwsDestinationState:
221
240
  The field is mutable with no special condition, but users must be careful that the new value fits with the trust
222
241
  relationship condition they set on AWS otherwise sync operations will start to fail due to client-side access
223
242
  denied errors. Ignored if the `role_arn` field is empty.
243
+ :param pulumi.Input[str] granularity: Determines what level of information is synced as a distinct resource
244
+ at the destination. Supports `secret-path` and `secret-key`.
224
245
  :param pulumi.Input[str] name: Unique name of the AWS destination.
225
246
  :param pulumi.Input[str] namespace: The namespace to provision the resource in.
226
247
  The value should not contain leading or trailing forward slashes.
@@ -246,6 +267,8 @@ class _SyncAwsDestinationState:
246
267
  pulumi.set(__self__, "custom_tags", custom_tags)
247
268
  if external_id is not None:
248
269
  pulumi.set(__self__, "external_id", external_id)
270
+ if granularity is not None:
271
+ pulumi.set(__self__, "granularity", granularity)
249
272
  if name is not None:
250
273
  pulumi.set(__self__, "name", name)
251
274
  if namespace is not None:
@@ -303,6 +326,19 @@ class _SyncAwsDestinationState:
303
326
  def external_id(self, value: Optional[pulumi.Input[str]]):
304
327
  pulumi.set(self, "external_id", value)
305
328
 
329
+ @property
330
+ @pulumi.getter
331
+ def granularity(self) -> Optional[pulumi.Input[str]]:
332
+ """
333
+ Determines what level of information is synced as a distinct resource
334
+ at the destination. Supports `secret-path` and `secret-key`.
335
+ """
336
+ return pulumi.get(self, "granularity")
337
+
338
+ @granularity.setter
339
+ def granularity(self, value: Optional[pulumi.Input[str]]):
340
+ pulumi.set(self, "granularity", value)
341
+
306
342
  @property
307
343
  @pulumi.getter
308
344
  def name(self) -> Optional[pulumi.Input[str]]:
@@ -407,6 +443,7 @@ class SyncAwsDestination(pulumi.CustomResource):
407
443
  access_key_id: Optional[pulumi.Input[str]] = None,
408
444
  custom_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
409
445
  external_id: Optional[pulumi.Input[str]] = None,
446
+ granularity: Optional[pulumi.Input[str]] = None,
410
447
  name: Optional[pulumi.Input[str]] = None,
411
448
  namespace: Optional[pulumi.Input[str]] = None,
412
449
  region: Optional[pulumi.Input[str]] = None,
@@ -454,6 +491,8 @@ class SyncAwsDestination(pulumi.CustomResource):
454
491
  The field is mutable with no special condition, but users must be careful that the new value fits with the trust
455
492
  relationship condition they set on AWS otherwise sync operations will start to fail due to client-side access
456
493
  denied errors. Ignored if the `role_arn` field is empty.
494
+ :param pulumi.Input[str] granularity: Determines what level of information is synced as a distinct resource
495
+ at the destination. Supports `secret-path` and `secret-key`.
457
496
  :param pulumi.Input[str] name: Unique name of the AWS destination.
458
497
  :param pulumi.Input[str] namespace: The namespace to provision the resource in.
459
498
  The value should not contain leading or trailing forward slashes.
@@ -525,6 +564,7 @@ class SyncAwsDestination(pulumi.CustomResource):
525
564
  access_key_id: Optional[pulumi.Input[str]] = None,
526
565
  custom_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
527
566
  external_id: Optional[pulumi.Input[str]] = None,
567
+ granularity: Optional[pulumi.Input[str]] = None,
528
568
  name: Optional[pulumi.Input[str]] = None,
529
569
  namespace: Optional[pulumi.Input[str]] = None,
530
570
  region: Optional[pulumi.Input[str]] = None,
@@ -543,6 +583,7 @@ class SyncAwsDestination(pulumi.CustomResource):
543
583
  __props__.__dict__["access_key_id"] = access_key_id
544
584
  __props__.__dict__["custom_tags"] = custom_tags
545
585
  __props__.__dict__["external_id"] = external_id
586
+ __props__.__dict__["granularity"] = granularity
546
587
  __props__.__dict__["name"] = name
547
588
  __props__.__dict__["namespace"] = namespace
548
589
  __props__.__dict__["region"] = region
@@ -565,6 +606,7 @@ class SyncAwsDestination(pulumi.CustomResource):
565
606
  access_key_id: Optional[pulumi.Input[str]] = None,
566
607
  custom_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
567
608
  external_id: Optional[pulumi.Input[str]] = None,
609
+ granularity: Optional[pulumi.Input[str]] = None,
568
610
  name: Optional[pulumi.Input[str]] = None,
569
611
  namespace: Optional[pulumi.Input[str]] = None,
570
612
  region: Optional[pulumi.Input[str]] = None,
@@ -588,6 +630,8 @@ class SyncAwsDestination(pulumi.CustomResource):
588
630
  The field is mutable with no special condition, but users must be careful that the new value fits with the trust
589
631
  relationship condition they set on AWS otherwise sync operations will start to fail due to client-side access
590
632
  denied errors. Ignored if the `role_arn` field is empty.
633
+ :param pulumi.Input[str] granularity: Determines what level of information is synced as a distinct resource
634
+ at the destination. Supports `secret-path` and `secret-key`.
591
635
  :param pulumi.Input[str] name: Unique name of the AWS destination.
592
636
  :param pulumi.Input[str] namespace: The namespace to provision the resource in.
593
637
  The value should not contain leading or trailing forward slashes.
@@ -614,6 +658,7 @@ class SyncAwsDestination(pulumi.CustomResource):
614
658
  __props__.__dict__["access_key_id"] = access_key_id
615
659
  __props__.__dict__["custom_tags"] = custom_tags
616
660
  __props__.__dict__["external_id"] = external_id
661
+ __props__.__dict__["granularity"] = granularity
617
662
  __props__.__dict__["name"] = name
618
663
  __props__.__dict__["namespace"] = namespace
619
664
  __props__.__dict__["region"] = region
@@ -653,6 +698,15 @@ class SyncAwsDestination(pulumi.CustomResource):
653
698
  """
654
699
  return pulumi.get(self, "external_id")
655
700
 
701
+ @property
702
+ @pulumi.getter
703
+ def granularity(self) -> pulumi.Output[Optional[str]]:
704
+ """
705
+ Determines what level of information is synced as a distinct resource
706
+ at the destination. Supports `secret-path` and `secret-key`.
707
+ """
708
+ return pulumi.get(self, "granularity")
709
+
656
710
  @property
657
711
  @pulumi.getter
658
712
  def name(self) -> pulumi.Output[str]:
@@ -18,6 +18,7 @@ class SyncAzureDestinationArgs:
18
18
  client_secret: Optional[pulumi.Input[str]] = None,
19
19
  cloud: Optional[pulumi.Input[str]] = None,
20
20
  custom_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
21
+ granularity: Optional[pulumi.Input[str]] = None,
21
22
  key_vault_uri: Optional[pulumi.Input[str]] = None,
22
23
  name: Optional[pulumi.Input[str]] = None,
23
24
  namespace: Optional[pulumi.Input[str]] = None,
@@ -33,6 +34,8 @@ class SyncAzureDestinationArgs:
33
34
  variable.
34
35
  :param pulumi.Input[str] cloud: Specifies a cloud for the client. The default is Azure Public Cloud.
35
36
  :param pulumi.Input[Mapping[str, Any]] custom_tags: Custom tags to set on the secret managed at the destination.
37
+ :param pulumi.Input[str] granularity: Determines what level of information is synced as a distinct resource
38
+ at the destination. Supports `secret-path` and `secret-key`.
36
39
  :param pulumi.Input[str] key_vault_uri: URI of an existing Azure Key Vault instance.
37
40
  Can be omitted and directly provided to Vault using the `KEY_VAULT_URI` environment
38
41
  variable.
@@ -54,6 +57,8 @@ class SyncAzureDestinationArgs:
54
57
  pulumi.set(__self__, "cloud", cloud)
55
58
  if custom_tags is not None:
56
59
  pulumi.set(__self__, "custom_tags", custom_tags)
60
+ if granularity is not None:
61
+ pulumi.set(__self__, "granularity", granularity)
57
62
  if key_vault_uri is not None:
58
63
  pulumi.set(__self__, "key_vault_uri", key_vault_uri)
59
64
  if name is not None:
@@ -117,6 +122,19 @@ class SyncAzureDestinationArgs:
117
122
  def custom_tags(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
118
123
  pulumi.set(self, "custom_tags", value)
119
124
 
125
+ @property
126
+ @pulumi.getter
127
+ def granularity(self) -> Optional[pulumi.Input[str]]:
128
+ """
129
+ Determines what level of information is synced as a distinct resource
130
+ at the destination. Supports `secret-path` and `secret-key`.
131
+ """
132
+ return pulumi.get(self, "granularity")
133
+
134
+ @granularity.setter
135
+ def granularity(self, value: Optional[pulumi.Input[str]]):
136
+ pulumi.set(self, "granularity", value)
137
+
120
138
  @property
121
139
  @pulumi.getter(name="keyVaultUri")
122
140
  def key_vault_uri(self) -> Optional[pulumi.Input[str]]:
@@ -192,6 +210,7 @@ class _SyncAzureDestinationState:
192
210
  client_secret: Optional[pulumi.Input[str]] = None,
193
211
  cloud: Optional[pulumi.Input[str]] = None,
194
212
  custom_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
213
+ granularity: Optional[pulumi.Input[str]] = None,
195
214
  key_vault_uri: Optional[pulumi.Input[str]] = None,
196
215
  name: Optional[pulumi.Input[str]] = None,
197
216
  namespace: Optional[pulumi.Input[str]] = None,
@@ -208,6 +227,8 @@ class _SyncAzureDestinationState:
208
227
  variable.
209
228
  :param pulumi.Input[str] cloud: Specifies a cloud for the client. The default is Azure Public Cloud.
210
229
  :param pulumi.Input[Mapping[str, Any]] custom_tags: Custom tags to set on the secret managed at the destination.
230
+ :param pulumi.Input[str] granularity: Determines what level of information is synced as a distinct resource
231
+ at the destination. Supports `secret-path` and `secret-key`.
211
232
  :param pulumi.Input[str] key_vault_uri: URI of an existing Azure Key Vault instance.
212
233
  Can be omitted and directly provided to Vault using the `KEY_VAULT_URI` environment
213
234
  variable.
@@ -230,6 +251,8 @@ class _SyncAzureDestinationState:
230
251
  pulumi.set(__self__, "cloud", cloud)
231
252
  if custom_tags is not None:
232
253
  pulumi.set(__self__, "custom_tags", custom_tags)
254
+ if granularity is not None:
255
+ pulumi.set(__self__, "granularity", granularity)
233
256
  if key_vault_uri is not None:
234
257
  pulumi.set(__self__, "key_vault_uri", key_vault_uri)
235
258
  if name is not None:
@@ -295,6 +318,19 @@ class _SyncAzureDestinationState:
295
318
  def custom_tags(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
296
319
  pulumi.set(self, "custom_tags", value)
297
320
 
321
+ @property
322
+ @pulumi.getter
323
+ def granularity(self) -> Optional[pulumi.Input[str]]:
324
+ """
325
+ Determines what level of information is synced as a distinct resource
326
+ at the destination. Supports `secret-path` and `secret-key`.
327
+ """
328
+ return pulumi.get(self, "granularity")
329
+
330
+ @granularity.setter
331
+ def granularity(self, value: Optional[pulumi.Input[str]]):
332
+ pulumi.set(self, "granularity", value)
333
+
298
334
  @property
299
335
  @pulumi.getter(name="keyVaultUri")
300
336
  def key_vault_uri(self) -> Optional[pulumi.Input[str]]:
@@ -384,6 +420,7 @@ class SyncAzureDestination(pulumi.CustomResource):
384
420
  client_secret: Optional[pulumi.Input[str]] = None,
385
421
  cloud: Optional[pulumi.Input[str]] = None,
386
422
  custom_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
423
+ granularity: Optional[pulumi.Input[str]] = None,
387
424
  key_vault_uri: Optional[pulumi.Input[str]] = None,
388
425
  name: Optional[pulumi.Input[str]] = None,
389
426
  namespace: Optional[pulumi.Input[str]] = None,
@@ -428,6 +465,8 @@ class SyncAzureDestination(pulumi.CustomResource):
428
465
  variable.
429
466
  :param pulumi.Input[str] cloud: Specifies a cloud for the client. The default is Azure Public Cloud.
430
467
  :param pulumi.Input[Mapping[str, Any]] custom_tags: Custom tags to set on the secret managed at the destination.
468
+ :param pulumi.Input[str] granularity: Determines what level of information is synced as a distinct resource
469
+ at the destination. Supports `secret-path` and `secret-key`.
431
470
  :param pulumi.Input[str] key_vault_uri: URI of an existing Azure Key Vault instance.
432
471
  Can be omitted and directly provided to Vault using the `KEY_VAULT_URI` environment
433
472
  variable.
@@ -494,6 +533,7 @@ class SyncAzureDestination(pulumi.CustomResource):
494
533
  client_secret: Optional[pulumi.Input[str]] = None,
495
534
  cloud: Optional[pulumi.Input[str]] = None,
496
535
  custom_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
536
+ granularity: Optional[pulumi.Input[str]] = None,
497
537
  key_vault_uri: Optional[pulumi.Input[str]] = None,
498
538
  name: Optional[pulumi.Input[str]] = None,
499
539
  namespace: Optional[pulumi.Input[str]] = None,
@@ -512,6 +552,7 @@ class SyncAzureDestination(pulumi.CustomResource):
512
552
  __props__.__dict__["client_secret"] = None if client_secret is None else pulumi.Output.secret(client_secret)
513
553
  __props__.__dict__["cloud"] = cloud
514
554
  __props__.__dict__["custom_tags"] = custom_tags
555
+ __props__.__dict__["granularity"] = granularity
515
556
  __props__.__dict__["key_vault_uri"] = key_vault_uri
516
557
  __props__.__dict__["name"] = name
517
558
  __props__.__dict__["namespace"] = namespace
@@ -534,6 +575,7 @@ class SyncAzureDestination(pulumi.CustomResource):
534
575
  client_secret: Optional[pulumi.Input[str]] = None,
535
576
  cloud: Optional[pulumi.Input[str]] = None,
536
577
  custom_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
578
+ granularity: Optional[pulumi.Input[str]] = None,
537
579
  key_vault_uri: Optional[pulumi.Input[str]] = None,
538
580
  name: Optional[pulumi.Input[str]] = None,
539
581
  namespace: Optional[pulumi.Input[str]] = None,
@@ -555,6 +597,8 @@ class SyncAzureDestination(pulumi.CustomResource):
555
597
  variable.
556
598
  :param pulumi.Input[str] cloud: Specifies a cloud for the client. The default is Azure Public Cloud.
557
599
  :param pulumi.Input[Mapping[str, Any]] custom_tags: Custom tags to set on the secret managed at the destination.
600
+ :param pulumi.Input[str] granularity: Determines what level of information is synced as a distinct resource
601
+ at the destination. Supports `secret-path` and `secret-key`.
558
602
  :param pulumi.Input[str] key_vault_uri: URI of an existing Azure Key Vault instance.
559
603
  Can be omitted and directly provided to Vault using the `KEY_VAULT_URI` environment
560
604
  variable.
@@ -577,6 +621,7 @@ class SyncAzureDestination(pulumi.CustomResource):
577
621
  __props__.__dict__["client_secret"] = client_secret
578
622
  __props__.__dict__["cloud"] = cloud
579
623
  __props__.__dict__["custom_tags"] = custom_tags
624
+ __props__.__dict__["granularity"] = granularity
580
625
  __props__.__dict__["key_vault_uri"] = key_vault_uri
581
626
  __props__.__dict__["name"] = name
582
627
  __props__.__dict__["namespace"] = namespace
@@ -621,6 +666,15 @@ class SyncAzureDestination(pulumi.CustomResource):
621
666
  """
622
667
  return pulumi.get(self, "custom_tags")
623
668
 
669
+ @property
670
+ @pulumi.getter
671
+ def granularity(self) -> pulumi.Output[Optional[str]]:
672
+ """
673
+ Determines what level of information is synced as a distinct resource
674
+ at the destination. Supports `secret-path` and `secret-key`.
675
+ """
676
+ return pulumi.get(self, "granularity")
677
+
624
678
  @property
625
679
  @pulumi.getter(name="keyVaultUri")
626
680
  def key_vault_uri(self) -> pulumi.Output[Optional[str]]:
@@ -16,6 +16,7 @@ class SyncGcpDestinationArgs:
16
16
  def __init__(__self__, *,
17
17
  credentials: Optional[pulumi.Input[str]] = None,
18
18
  custom_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
19
+ granularity: Optional[pulumi.Input[str]] = None,
19
20
  name: Optional[pulumi.Input[str]] = None,
20
21
  namespace: Optional[pulumi.Input[str]] = None,
21
22
  project_id: Optional[pulumi.Input[str]] = None,
@@ -26,6 +27,8 @@ class SyncGcpDestinationArgs:
26
27
  Can be omitted and directly provided to Vault using the `GOOGLE_APPLICATION_CREDENTIALS` environment
27
28
  variable.
28
29
  :param pulumi.Input[Mapping[str, Any]] custom_tags: Custom tags to set on the secret managed at the destination.
30
+ :param pulumi.Input[str] granularity: Determines what level of information is synced as a distinct resource
31
+ at the destination. Supports `secret-path` and `secret-key`.
29
32
  :param pulumi.Input[str] name: Unique name of the GCP destination.
30
33
  :param pulumi.Input[str] namespace: The namespace to provision the resource in.
31
34
  The value should not contain leading or trailing forward slashes.
@@ -41,6 +44,8 @@ class SyncGcpDestinationArgs:
41
44
  pulumi.set(__self__, "credentials", credentials)
42
45
  if custom_tags is not None:
43
46
  pulumi.set(__self__, "custom_tags", custom_tags)
47
+ if granularity is not None:
48
+ pulumi.set(__self__, "granularity", granularity)
44
49
  if name is not None:
45
50
  pulumi.set(__self__, "name", name)
46
51
  if namespace is not None:
@@ -76,6 +81,19 @@ class SyncGcpDestinationArgs:
76
81
  def custom_tags(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
77
82
  pulumi.set(self, "custom_tags", value)
78
83
 
84
+ @property
85
+ @pulumi.getter
86
+ def granularity(self) -> Optional[pulumi.Input[str]]:
87
+ """
88
+ Determines what level of information is synced as a distinct resource
89
+ at the destination. Supports `secret-path` and `secret-key`.
90
+ """
91
+ return pulumi.get(self, "granularity")
92
+
93
+ @granularity.setter
94
+ def granularity(self, value: Optional[pulumi.Input[str]]):
95
+ pulumi.set(self, "granularity", value)
96
+
79
97
  @property
80
98
  @pulumi.getter
81
99
  def name(self) -> Optional[pulumi.Input[str]]:
@@ -136,6 +154,7 @@ class _SyncGcpDestinationState:
136
154
  def __init__(__self__, *,
137
155
  credentials: Optional[pulumi.Input[str]] = None,
138
156
  custom_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
157
+ granularity: Optional[pulumi.Input[str]] = None,
139
158
  name: Optional[pulumi.Input[str]] = None,
140
159
  namespace: Optional[pulumi.Input[str]] = None,
141
160
  project_id: Optional[pulumi.Input[str]] = None,
@@ -147,6 +166,8 @@ class _SyncGcpDestinationState:
147
166
  Can be omitted and directly provided to Vault using the `GOOGLE_APPLICATION_CREDENTIALS` environment
148
167
  variable.
149
168
  :param pulumi.Input[Mapping[str, Any]] custom_tags: Custom tags to set on the secret managed at the destination.
169
+ :param pulumi.Input[str] granularity: Determines what level of information is synced as a distinct resource
170
+ at the destination. Supports `secret-path` and `secret-key`.
150
171
  :param pulumi.Input[str] name: Unique name of the GCP destination.
151
172
  :param pulumi.Input[str] namespace: The namespace to provision the resource in.
152
173
  The value should not contain leading or trailing forward slashes.
@@ -163,6 +184,8 @@ class _SyncGcpDestinationState:
163
184
  pulumi.set(__self__, "credentials", credentials)
164
185
  if custom_tags is not None:
165
186
  pulumi.set(__self__, "custom_tags", custom_tags)
187
+ if granularity is not None:
188
+ pulumi.set(__self__, "granularity", granularity)
166
189
  if name is not None:
167
190
  pulumi.set(__self__, "name", name)
168
191
  if namespace is not None:
@@ -200,6 +223,19 @@ class _SyncGcpDestinationState:
200
223
  def custom_tags(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
201
224
  pulumi.set(self, "custom_tags", value)
202
225
 
226
+ @property
227
+ @pulumi.getter
228
+ def granularity(self) -> Optional[pulumi.Input[str]]:
229
+ """
230
+ Determines what level of information is synced as a distinct resource
231
+ at the destination. Supports `secret-path` and `secret-key`.
232
+ """
233
+ return pulumi.get(self, "granularity")
234
+
235
+ @granularity.setter
236
+ def granularity(self, value: Optional[pulumi.Input[str]]):
237
+ pulumi.set(self, "granularity", value)
238
+
203
239
  @property
204
240
  @pulumi.getter
205
241
  def name(self) -> Optional[pulumi.Input[str]]:
@@ -274,6 +310,7 @@ class SyncGcpDestination(pulumi.CustomResource):
274
310
  opts: Optional[pulumi.ResourceOptions] = None,
275
311
  credentials: Optional[pulumi.Input[str]] = None,
276
312
  custom_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
313
+ granularity: Optional[pulumi.Input[str]] = None,
277
314
  name: Optional[pulumi.Input[str]] = None,
278
315
  namespace: Optional[pulumi.Input[str]] = None,
279
316
  project_id: Optional[pulumi.Input[str]] = None,
@@ -311,6 +348,8 @@ class SyncGcpDestination(pulumi.CustomResource):
311
348
  Can be omitted and directly provided to Vault using the `GOOGLE_APPLICATION_CREDENTIALS` environment
312
349
  variable.
313
350
  :param pulumi.Input[Mapping[str, Any]] custom_tags: Custom tags to set on the secret managed at the destination.
351
+ :param pulumi.Input[str] granularity: Determines what level of information is synced as a distinct resource
352
+ at the destination. Supports `secret-path` and `secret-key`.
314
353
  :param pulumi.Input[str] name: Unique name of the GCP destination.
315
354
  :param pulumi.Input[str] namespace: The namespace to provision the resource in.
316
355
  The value should not contain leading or trailing forward slashes.
@@ -371,6 +410,7 @@ class SyncGcpDestination(pulumi.CustomResource):
371
410
  opts: Optional[pulumi.ResourceOptions] = None,
372
411
  credentials: Optional[pulumi.Input[str]] = None,
373
412
  custom_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
413
+ granularity: Optional[pulumi.Input[str]] = None,
374
414
  name: Optional[pulumi.Input[str]] = None,
375
415
  namespace: Optional[pulumi.Input[str]] = None,
376
416
  project_id: Optional[pulumi.Input[str]] = None,
@@ -386,6 +426,7 @@ class SyncGcpDestination(pulumi.CustomResource):
386
426
 
387
427
  __props__.__dict__["credentials"] = None if credentials is None else pulumi.Output.secret(credentials)
388
428
  __props__.__dict__["custom_tags"] = custom_tags
429
+ __props__.__dict__["granularity"] = granularity
389
430
  __props__.__dict__["name"] = name
390
431
  __props__.__dict__["namespace"] = namespace
391
432
  __props__.__dict__["project_id"] = project_id
@@ -405,6 +446,7 @@ class SyncGcpDestination(pulumi.CustomResource):
405
446
  opts: Optional[pulumi.ResourceOptions] = None,
406
447
  credentials: Optional[pulumi.Input[str]] = None,
407
448
  custom_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
449
+ granularity: Optional[pulumi.Input[str]] = None,
408
450
  name: Optional[pulumi.Input[str]] = None,
409
451
  namespace: Optional[pulumi.Input[str]] = None,
410
452
  project_id: Optional[pulumi.Input[str]] = None,
@@ -421,6 +463,8 @@ class SyncGcpDestination(pulumi.CustomResource):
421
463
  Can be omitted and directly provided to Vault using the `GOOGLE_APPLICATION_CREDENTIALS` environment
422
464
  variable.
423
465
  :param pulumi.Input[Mapping[str, Any]] custom_tags: Custom tags to set on the secret managed at the destination.
466
+ :param pulumi.Input[str] granularity: Determines what level of information is synced as a distinct resource
467
+ at the destination. Supports `secret-path` and `secret-key`.
424
468
  :param pulumi.Input[str] name: Unique name of the GCP destination.
425
469
  :param pulumi.Input[str] namespace: The namespace to provision the resource in.
426
470
  The value should not contain leading or trailing forward slashes.
@@ -439,6 +483,7 @@ class SyncGcpDestination(pulumi.CustomResource):
439
483
 
440
484
  __props__.__dict__["credentials"] = credentials
441
485
  __props__.__dict__["custom_tags"] = custom_tags
486
+ __props__.__dict__["granularity"] = granularity
442
487
  __props__.__dict__["name"] = name
443
488
  __props__.__dict__["namespace"] = namespace
444
489
  __props__.__dict__["project_id"] = project_id
@@ -464,6 +509,15 @@ class SyncGcpDestination(pulumi.CustomResource):
464
509
  """
465
510
  return pulumi.get(self, "custom_tags")
466
511
 
512
+ @property
513
+ @pulumi.getter
514
+ def granularity(self) -> pulumi.Output[Optional[str]]:
515
+ """
516
+ Determines what level of information is synced as a distinct resource
517
+ at the destination. Supports `secret-path` and `secret-key`.
518
+ """
519
+ return pulumi.get(self, "granularity")
520
+
467
521
  @property
468
522
  @pulumi.getter
469
523
  def name(self) -> pulumi.Output[str]:
@@ -16,6 +16,7 @@ class SyncGhDestinationArgs:
16
16
  def __init__(__self__, *,
17
17
  access_token: Optional[pulumi.Input[str]] = None,
18
18
  app_name: Optional[pulumi.Input[str]] = None,
19
+ granularity: Optional[pulumi.Input[str]] = None,
19
20
  installation_id: Optional[pulumi.Input[int]] = None,
20
21
  name: Optional[pulumi.Input[str]] = None,
21
22
  namespace: Optional[pulumi.Input[str]] = None,
@@ -30,6 +31,8 @@ class SyncGhDestinationArgs:
30
31
  :param pulumi.Input[str] app_name: The user-defined name of the GitHub App configuration. This is a reference to the name used
31
32
  on the new endpoint when configuring the GitHub app on the Vault Server. Can be modified.
32
33
  Takes precedence over the `access_token` field.
34
+ :param pulumi.Input[str] granularity: Determines what level of information is synced as a distinct resource
35
+ at the destination. Supports `secret-path` and `secret-key`.
33
36
  :param pulumi.Input[int] installation_id: The ID of the installation generated by GitHub when the app referenced by the `app_name`
34
37
  was installed in the user’s GitHub account. Can be modified. Necessary if the `app_name` field is also provided.
35
38
  :param pulumi.Input[str] name: Unique name of the GitHub destination.
@@ -49,6 +52,8 @@ class SyncGhDestinationArgs:
49
52
  pulumi.set(__self__, "access_token", access_token)
50
53
  if app_name is not None:
51
54
  pulumi.set(__self__, "app_name", app_name)
55
+ if granularity is not None:
56
+ pulumi.set(__self__, "granularity", granularity)
52
57
  if installation_id is not None:
53
58
  pulumi.set(__self__, "installation_id", installation_id)
54
59
  if name is not None:
@@ -90,6 +95,19 @@ class SyncGhDestinationArgs:
90
95
  def app_name(self, value: Optional[pulumi.Input[str]]):
91
96
  pulumi.set(self, "app_name", value)
92
97
 
98
+ @property
99
+ @pulumi.getter
100
+ def granularity(self) -> Optional[pulumi.Input[str]]:
101
+ """
102
+ Determines what level of information is synced as a distinct resource
103
+ at the destination. Supports `secret-path` and `secret-key`.
104
+ """
105
+ return pulumi.get(self, "granularity")
106
+
107
+ @granularity.setter
108
+ def granularity(self, value: Optional[pulumi.Input[str]]):
109
+ pulumi.set(self, "granularity", value)
110
+
93
111
  @property
94
112
  @pulumi.getter(name="installationId")
95
113
  def installation_id(self) -> Optional[pulumi.Input[int]]:
@@ -176,6 +194,7 @@ class _SyncGhDestinationState:
176
194
  def __init__(__self__, *,
177
195
  access_token: Optional[pulumi.Input[str]] = None,
178
196
  app_name: Optional[pulumi.Input[str]] = None,
197
+ granularity: Optional[pulumi.Input[str]] = None,
179
198
  installation_id: Optional[pulumi.Input[int]] = None,
180
199
  name: Optional[pulumi.Input[str]] = None,
181
200
  namespace: Optional[pulumi.Input[str]] = None,
@@ -191,6 +210,8 @@ class _SyncGhDestinationState:
191
210
  :param pulumi.Input[str] app_name: The user-defined name of the GitHub App configuration. This is a reference to the name used
192
211
  on the new endpoint when configuring the GitHub app on the Vault Server. Can be modified.
193
212
  Takes precedence over the `access_token` field.
213
+ :param pulumi.Input[str] granularity: Determines what level of information is synced as a distinct resource
214
+ at the destination. Supports `secret-path` and `secret-key`.
194
215
  :param pulumi.Input[int] installation_id: The ID of the installation generated by GitHub when the app referenced by the `app_name`
195
216
  was installed in the user’s GitHub account. Can be modified. Necessary if the `app_name` field is also provided.
196
217
  :param pulumi.Input[str] name: Unique name of the GitHub destination.
@@ -211,6 +232,8 @@ class _SyncGhDestinationState:
211
232
  pulumi.set(__self__, "access_token", access_token)
212
233
  if app_name is not None:
213
234
  pulumi.set(__self__, "app_name", app_name)
235
+ if granularity is not None:
236
+ pulumi.set(__self__, "granularity", granularity)
214
237
  if installation_id is not None:
215
238
  pulumi.set(__self__, "installation_id", installation_id)
216
239
  if name is not None:
@@ -254,6 +277,19 @@ class _SyncGhDestinationState:
254
277
  def app_name(self, value: Optional[pulumi.Input[str]]):
255
278
  pulumi.set(self, "app_name", value)
256
279
 
280
+ @property
281
+ @pulumi.getter
282
+ def granularity(self) -> Optional[pulumi.Input[str]]:
283
+ """
284
+ Determines what level of information is synced as a distinct resource
285
+ at the destination. Supports `secret-path` and `secret-key`.
286
+ """
287
+ return pulumi.get(self, "granularity")
288
+
289
+ @granularity.setter
290
+ def granularity(self, value: Optional[pulumi.Input[str]]):
291
+ pulumi.set(self, "granularity", value)
292
+
257
293
  @property
258
294
  @pulumi.getter(name="installationId")
259
295
  def installation_id(self) -> Optional[pulumi.Input[int]]:
@@ -354,6 +390,7 @@ class SyncGhDestination(pulumi.CustomResource):
354
390
  opts: Optional[pulumi.ResourceOptions] = None,
355
391
  access_token: Optional[pulumi.Input[str]] = None,
356
392
  app_name: Optional[pulumi.Input[str]] = None,
393
+ granularity: Optional[pulumi.Input[str]] = None,
357
394
  installation_id: Optional[pulumi.Input[int]] = None,
358
395
  name: Optional[pulumi.Input[str]] = None,
359
396
  namespace: Optional[pulumi.Input[str]] = None,
@@ -393,6 +430,8 @@ class SyncGhDestination(pulumi.CustomResource):
393
430
  :param pulumi.Input[str] app_name: The user-defined name of the GitHub App configuration. This is a reference to the name used
394
431
  on the new endpoint when configuring the GitHub app on the Vault Server. Can be modified.
395
432
  Takes precedence over the `access_token` field.
433
+ :param pulumi.Input[str] granularity: Determines what level of information is synced as a distinct resource
434
+ at the destination. Supports `secret-path` and `secret-key`.
396
435
  :param pulumi.Input[int] installation_id: The ID of the installation generated by GitHub when the app referenced by the `app_name`
397
436
  was installed in the user’s GitHub account. Can be modified. Necessary if the `app_name` field is also provided.
398
437
  :param pulumi.Input[str] name: Unique name of the GitHub destination.
@@ -455,6 +494,7 @@ class SyncGhDestination(pulumi.CustomResource):
455
494
  opts: Optional[pulumi.ResourceOptions] = None,
456
495
  access_token: Optional[pulumi.Input[str]] = None,
457
496
  app_name: Optional[pulumi.Input[str]] = None,
497
+ granularity: Optional[pulumi.Input[str]] = None,
458
498
  installation_id: Optional[pulumi.Input[int]] = None,
459
499
  name: Optional[pulumi.Input[str]] = None,
460
500
  namespace: Optional[pulumi.Input[str]] = None,
@@ -472,6 +512,7 @@ class SyncGhDestination(pulumi.CustomResource):
472
512
 
473
513
  __props__.__dict__["access_token"] = None if access_token is None else pulumi.Output.secret(access_token)
474
514
  __props__.__dict__["app_name"] = app_name
515
+ __props__.__dict__["granularity"] = granularity
475
516
  __props__.__dict__["installation_id"] = installation_id
476
517
  __props__.__dict__["name"] = name
477
518
  __props__.__dict__["namespace"] = namespace
@@ -493,6 +534,7 @@ class SyncGhDestination(pulumi.CustomResource):
493
534
  opts: Optional[pulumi.ResourceOptions] = None,
494
535
  access_token: Optional[pulumi.Input[str]] = None,
495
536
  app_name: Optional[pulumi.Input[str]] = None,
537
+ granularity: Optional[pulumi.Input[str]] = None,
496
538
  installation_id: Optional[pulumi.Input[int]] = None,
497
539
  name: Optional[pulumi.Input[str]] = None,
498
540
  namespace: Optional[pulumi.Input[str]] = None,
@@ -513,6 +555,8 @@ class SyncGhDestination(pulumi.CustomResource):
513
555
  :param pulumi.Input[str] app_name: The user-defined name of the GitHub App configuration. This is a reference to the name used
514
556
  on the new endpoint when configuring the GitHub app on the Vault Server. Can be modified.
515
557
  Takes precedence over the `access_token` field.
558
+ :param pulumi.Input[str] granularity: Determines what level of information is synced as a distinct resource
559
+ at the destination. Supports `secret-path` and `secret-key`.
516
560
  :param pulumi.Input[int] installation_id: The ID of the installation generated by GitHub when the app referenced by the `app_name`
517
561
  was installed in the user’s GitHub account. Can be modified. Necessary if the `app_name` field is also provided.
518
562
  :param pulumi.Input[str] name: Unique name of the GitHub destination.
@@ -535,6 +579,7 @@ class SyncGhDestination(pulumi.CustomResource):
535
579
 
536
580
  __props__.__dict__["access_token"] = access_token
537
581
  __props__.__dict__["app_name"] = app_name
582
+ __props__.__dict__["granularity"] = granularity
538
583
  __props__.__dict__["installation_id"] = installation_id
539
584
  __props__.__dict__["name"] = name
540
585
  __props__.__dict__["namespace"] = namespace
@@ -564,6 +609,15 @@ class SyncGhDestination(pulumi.CustomResource):
564
609
  """
565
610
  return pulumi.get(self, "app_name")
566
611
 
612
+ @property
613
+ @pulumi.getter
614
+ def granularity(self) -> pulumi.Output[Optional[str]]:
615
+ """
616
+ Determines what level of information is synced as a distinct resource
617
+ at the destination. Supports `secret-path` and `secret-key`.
618
+ """
619
+ return pulumi.get(self, "granularity")
620
+
567
621
  @property
568
622
  @pulumi.getter(name="installationId")
569
623
  def installation_id(self) -> pulumi.Output[Optional[int]]: