pulumi-vault 6.1.1__py3-none-any.whl → 6.2.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.
pulumi_vault/plugin.py ADDED
@@ -0,0 +1,590 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import copy
6
+ import warnings
7
+ import pulumi
8
+ import pulumi.runtime
9
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
10
+ from . import _utilities
11
+
12
+ __all__ = ['PluginArgs', 'Plugin']
13
+
14
+ @pulumi.input_type
15
+ class PluginArgs:
16
+ def __init__(__self__, *,
17
+ command: pulumi.Input[str],
18
+ sha256: pulumi.Input[str],
19
+ type: pulumi.Input[str],
20
+ args: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
21
+ envs: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
22
+ name: Optional[pulumi.Input[str]] = None,
23
+ oci_image: Optional[pulumi.Input[str]] = None,
24
+ runtime: Optional[pulumi.Input[str]] = None,
25
+ version: Optional[pulumi.Input[str]] = None):
26
+ """
27
+ The set of arguments for constructing a Plugin resource.
28
+ :param pulumi.Input[str] command: Command to execute the plugin, relative to the server's configured `plugin_directory`.
29
+ :param pulumi.Input[str] sha256: SHA256 sum of the plugin binary.
30
+ :param pulumi.Input[str] type: Type of plugin; one of "auth", "secret", or "database".
31
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] args: List of additional args to pass to the plugin.
32
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] envs: List of additional environment variables to run the plugin with in KEY=VALUE form.
33
+ :param pulumi.Input[str] name: Name of the plugin.
34
+ :param pulumi.Input[str] oci_image: Specifies OCI image to run. If specified, setting
35
+ `command`, `args`, and `env` will update the container's entrypoint, args, and
36
+ environment variables (append-only) respectively.
37
+ :param pulumi.Input[str] runtime: Vault plugin runtime to use if `oci_image` is specified.
38
+ :param pulumi.Input[str] version: Semantic version of the plugin.
39
+ """
40
+ pulumi.set(__self__, "command", command)
41
+ pulumi.set(__self__, "sha256", sha256)
42
+ pulumi.set(__self__, "type", type)
43
+ if args is not None:
44
+ pulumi.set(__self__, "args", args)
45
+ if envs is not None:
46
+ pulumi.set(__self__, "envs", envs)
47
+ if name is not None:
48
+ pulumi.set(__self__, "name", name)
49
+ if oci_image is not None:
50
+ pulumi.set(__self__, "oci_image", oci_image)
51
+ if runtime is not None:
52
+ pulumi.set(__self__, "runtime", runtime)
53
+ if version is not None:
54
+ pulumi.set(__self__, "version", version)
55
+
56
+ @property
57
+ @pulumi.getter
58
+ def command(self) -> pulumi.Input[str]:
59
+ """
60
+ Command to execute the plugin, relative to the server's configured `plugin_directory`.
61
+ """
62
+ return pulumi.get(self, "command")
63
+
64
+ @command.setter
65
+ def command(self, value: pulumi.Input[str]):
66
+ pulumi.set(self, "command", value)
67
+
68
+ @property
69
+ @pulumi.getter
70
+ def sha256(self) -> pulumi.Input[str]:
71
+ """
72
+ SHA256 sum of the plugin binary.
73
+ """
74
+ return pulumi.get(self, "sha256")
75
+
76
+ @sha256.setter
77
+ def sha256(self, value: pulumi.Input[str]):
78
+ pulumi.set(self, "sha256", value)
79
+
80
+ @property
81
+ @pulumi.getter
82
+ def type(self) -> pulumi.Input[str]:
83
+ """
84
+ Type of plugin; one of "auth", "secret", or "database".
85
+ """
86
+ return pulumi.get(self, "type")
87
+
88
+ @type.setter
89
+ def type(self, value: pulumi.Input[str]):
90
+ pulumi.set(self, "type", value)
91
+
92
+ @property
93
+ @pulumi.getter
94
+ def args(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
95
+ """
96
+ List of additional args to pass to the plugin.
97
+ """
98
+ return pulumi.get(self, "args")
99
+
100
+ @args.setter
101
+ def args(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
102
+ pulumi.set(self, "args", value)
103
+
104
+ @property
105
+ @pulumi.getter
106
+ def envs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
107
+ """
108
+ List of additional environment variables to run the plugin with in KEY=VALUE form.
109
+ """
110
+ return pulumi.get(self, "envs")
111
+
112
+ @envs.setter
113
+ def envs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
114
+ pulumi.set(self, "envs", value)
115
+
116
+ @property
117
+ @pulumi.getter
118
+ def name(self) -> Optional[pulumi.Input[str]]:
119
+ """
120
+ Name of the plugin.
121
+ """
122
+ return pulumi.get(self, "name")
123
+
124
+ @name.setter
125
+ def name(self, value: Optional[pulumi.Input[str]]):
126
+ pulumi.set(self, "name", value)
127
+
128
+ @property
129
+ @pulumi.getter(name="ociImage")
130
+ def oci_image(self) -> Optional[pulumi.Input[str]]:
131
+ """
132
+ Specifies OCI image to run. If specified, setting
133
+ `command`, `args`, and `env` will update the container's entrypoint, args, and
134
+ environment variables (append-only) respectively.
135
+ """
136
+ return pulumi.get(self, "oci_image")
137
+
138
+ @oci_image.setter
139
+ def oci_image(self, value: Optional[pulumi.Input[str]]):
140
+ pulumi.set(self, "oci_image", value)
141
+
142
+ @property
143
+ @pulumi.getter
144
+ def runtime(self) -> Optional[pulumi.Input[str]]:
145
+ """
146
+ Vault plugin runtime to use if `oci_image` is specified.
147
+ """
148
+ return pulumi.get(self, "runtime")
149
+
150
+ @runtime.setter
151
+ def runtime(self, value: Optional[pulumi.Input[str]]):
152
+ pulumi.set(self, "runtime", value)
153
+
154
+ @property
155
+ @pulumi.getter
156
+ def version(self) -> Optional[pulumi.Input[str]]:
157
+ """
158
+ Semantic version of the plugin.
159
+ """
160
+ return pulumi.get(self, "version")
161
+
162
+ @version.setter
163
+ def version(self, value: Optional[pulumi.Input[str]]):
164
+ pulumi.set(self, "version", value)
165
+
166
+
167
+ @pulumi.input_type
168
+ class _PluginState:
169
+ def __init__(__self__, *,
170
+ args: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
171
+ command: Optional[pulumi.Input[str]] = None,
172
+ envs: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
173
+ name: Optional[pulumi.Input[str]] = None,
174
+ oci_image: Optional[pulumi.Input[str]] = None,
175
+ runtime: Optional[pulumi.Input[str]] = None,
176
+ sha256: Optional[pulumi.Input[str]] = None,
177
+ type: Optional[pulumi.Input[str]] = None,
178
+ version: Optional[pulumi.Input[str]] = None):
179
+ """
180
+ Input properties used for looking up and filtering Plugin resources.
181
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] args: List of additional args to pass to the plugin.
182
+ :param pulumi.Input[str] command: Command to execute the plugin, relative to the server's configured `plugin_directory`.
183
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] envs: List of additional environment variables to run the plugin with in KEY=VALUE form.
184
+ :param pulumi.Input[str] name: Name of the plugin.
185
+ :param pulumi.Input[str] oci_image: Specifies OCI image to run. If specified, setting
186
+ `command`, `args`, and `env` will update the container's entrypoint, args, and
187
+ environment variables (append-only) respectively.
188
+ :param pulumi.Input[str] runtime: Vault plugin runtime to use if `oci_image` is specified.
189
+ :param pulumi.Input[str] sha256: SHA256 sum of the plugin binary.
190
+ :param pulumi.Input[str] type: Type of plugin; one of "auth", "secret", or "database".
191
+ :param pulumi.Input[str] version: Semantic version of the plugin.
192
+ """
193
+ if args is not None:
194
+ pulumi.set(__self__, "args", args)
195
+ if command is not None:
196
+ pulumi.set(__self__, "command", command)
197
+ if envs is not None:
198
+ pulumi.set(__self__, "envs", envs)
199
+ if name is not None:
200
+ pulumi.set(__self__, "name", name)
201
+ if oci_image is not None:
202
+ pulumi.set(__self__, "oci_image", oci_image)
203
+ if runtime is not None:
204
+ pulumi.set(__self__, "runtime", runtime)
205
+ if sha256 is not None:
206
+ pulumi.set(__self__, "sha256", sha256)
207
+ if type is not None:
208
+ pulumi.set(__self__, "type", type)
209
+ if version is not None:
210
+ pulumi.set(__self__, "version", version)
211
+
212
+ @property
213
+ @pulumi.getter
214
+ def args(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
215
+ """
216
+ List of additional args to pass to the plugin.
217
+ """
218
+ return pulumi.get(self, "args")
219
+
220
+ @args.setter
221
+ def args(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
222
+ pulumi.set(self, "args", value)
223
+
224
+ @property
225
+ @pulumi.getter
226
+ def command(self) -> Optional[pulumi.Input[str]]:
227
+ """
228
+ Command to execute the plugin, relative to the server's configured `plugin_directory`.
229
+ """
230
+ return pulumi.get(self, "command")
231
+
232
+ @command.setter
233
+ def command(self, value: Optional[pulumi.Input[str]]):
234
+ pulumi.set(self, "command", value)
235
+
236
+ @property
237
+ @pulumi.getter
238
+ def envs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
239
+ """
240
+ List of additional environment variables to run the plugin with in KEY=VALUE form.
241
+ """
242
+ return pulumi.get(self, "envs")
243
+
244
+ @envs.setter
245
+ def envs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
246
+ pulumi.set(self, "envs", value)
247
+
248
+ @property
249
+ @pulumi.getter
250
+ def name(self) -> Optional[pulumi.Input[str]]:
251
+ """
252
+ Name of the plugin.
253
+ """
254
+ return pulumi.get(self, "name")
255
+
256
+ @name.setter
257
+ def name(self, value: Optional[pulumi.Input[str]]):
258
+ pulumi.set(self, "name", value)
259
+
260
+ @property
261
+ @pulumi.getter(name="ociImage")
262
+ def oci_image(self) -> Optional[pulumi.Input[str]]:
263
+ """
264
+ Specifies OCI image to run. If specified, setting
265
+ `command`, `args`, and `env` will update the container's entrypoint, args, and
266
+ environment variables (append-only) respectively.
267
+ """
268
+ return pulumi.get(self, "oci_image")
269
+
270
+ @oci_image.setter
271
+ def oci_image(self, value: Optional[pulumi.Input[str]]):
272
+ pulumi.set(self, "oci_image", value)
273
+
274
+ @property
275
+ @pulumi.getter
276
+ def runtime(self) -> Optional[pulumi.Input[str]]:
277
+ """
278
+ Vault plugin runtime to use if `oci_image` is specified.
279
+ """
280
+ return pulumi.get(self, "runtime")
281
+
282
+ @runtime.setter
283
+ def runtime(self, value: Optional[pulumi.Input[str]]):
284
+ pulumi.set(self, "runtime", value)
285
+
286
+ @property
287
+ @pulumi.getter
288
+ def sha256(self) -> Optional[pulumi.Input[str]]:
289
+ """
290
+ SHA256 sum of the plugin binary.
291
+ """
292
+ return pulumi.get(self, "sha256")
293
+
294
+ @sha256.setter
295
+ def sha256(self, value: Optional[pulumi.Input[str]]):
296
+ pulumi.set(self, "sha256", value)
297
+
298
+ @property
299
+ @pulumi.getter
300
+ def type(self) -> Optional[pulumi.Input[str]]:
301
+ """
302
+ Type of plugin; one of "auth", "secret", or "database".
303
+ """
304
+ return pulumi.get(self, "type")
305
+
306
+ @type.setter
307
+ def type(self, value: Optional[pulumi.Input[str]]):
308
+ pulumi.set(self, "type", value)
309
+
310
+ @property
311
+ @pulumi.getter
312
+ def version(self) -> Optional[pulumi.Input[str]]:
313
+ """
314
+ Semantic version of the plugin.
315
+ """
316
+ return pulumi.get(self, "version")
317
+
318
+ @version.setter
319
+ def version(self, value: Optional[pulumi.Input[str]]):
320
+ pulumi.set(self, "version", value)
321
+
322
+
323
+ class Plugin(pulumi.CustomResource):
324
+ @overload
325
+ def __init__(__self__,
326
+ resource_name: str,
327
+ opts: Optional[pulumi.ResourceOptions] = None,
328
+ args: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
329
+ command: Optional[pulumi.Input[str]] = None,
330
+ envs: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
331
+ name: Optional[pulumi.Input[str]] = None,
332
+ oci_image: Optional[pulumi.Input[str]] = None,
333
+ runtime: Optional[pulumi.Input[str]] = None,
334
+ sha256: Optional[pulumi.Input[str]] = None,
335
+ type: Optional[pulumi.Input[str]] = None,
336
+ version: Optional[pulumi.Input[str]] = None,
337
+ __props__=None):
338
+ """
339
+ ## Example Usage
340
+
341
+ ```python
342
+ import pulumi
343
+ import pulumi_vault as vault
344
+
345
+ jwt = vault.Plugin("jwt",
346
+ type="auth",
347
+ name="jwt",
348
+ command="vault-plugin-auth-jwt",
349
+ version="v0.17.0",
350
+ sha256="6bd0a803ed742aa3ce35e4fa23d2c8d550e6c1567bf63410cec489c28b68b0fc",
351
+ envs=["HTTP_PROXY=http://proxy.example.com:8080"])
352
+ jwt_auth = vault.AuthBackend("jwt_auth", type=jwt.name)
353
+ ```
354
+
355
+ ## Import
356
+
357
+ Plugins can be imported using `:type/name/:name` or `:type/version/:version/name/:name` as the ID if the version is non-empty, e.g.
358
+
359
+ ```sh
360
+ $ pulumi import vault:index/plugin:Plugin jwt auth/name/jwt
361
+ ```
362
+ ```sh
363
+ $ pulumi import vault:index/plugin:Plugin jwt auth/version/v0.17.0/name/jwt
364
+ ```
365
+
366
+ :param str resource_name: The name of the resource.
367
+ :param pulumi.ResourceOptions opts: Options for the resource.
368
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] args: List of additional args to pass to the plugin.
369
+ :param pulumi.Input[str] command: Command to execute the plugin, relative to the server's configured `plugin_directory`.
370
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] envs: List of additional environment variables to run the plugin with in KEY=VALUE form.
371
+ :param pulumi.Input[str] name: Name of the plugin.
372
+ :param pulumi.Input[str] oci_image: Specifies OCI image to run. If specified, setting
373
+ `command`, `args`, and `env` will update the container's entrypoint, args, and
374
+ environment variables (append-only) respectively.
375
+ :param pulumi.Input[str] runtime: Vault plugin runtime to use if `oci_image` is specified.
376
+ :param pulumi.Input[str] sha256: SHA256 sum of the plugin binary.
377
+ :param pulumi.Input[str] type: Type of plugin; one of "auth", "secret", or "database".
378
+ :param pulumi.Input[str] version: Semantic version of the plugin.
379
+ """
380
+ ...
381
+ @overload
382
+ def __init__(__self__,
383
+ resource_name: str,
384
+ args: PluginArgs,
385
+ opts: Optional[pulumi.ResourceOptions] = None):
386
+ """
387
+ ## Example Usage
388
+
389
+ ```python
390
+ import pulumi
391
+ import pulumi_vault as vault
392
+
393
+ jwt = vault.Plugin("jwt",
394
+ type="auth",
395
+ name="jwt",
396
+ command="vault-plugin-auth-jwt",
397
+ version="v0.17.0",
398
+ sha256="6bd0a803ed742aa3ce35e4fa23d2c8d550e6c1567bf63410cec489c28b68b0fc",
399
+ envs=["HTTP_PROXY=http://proxy.example.com:8080"])
400
+ jwt_auth = vault.AuthBackend("jwt_auth", type=jwt.name)
401
+ ```
402
+
403
+ ## Import
404
+
405
+ Plugins can be imported using `:type/name/:name` or `:type/version/:version/name/:name` as the ID if the version is non-empty, e.g.
406
+
407
+ ```sh
408
+ $ pulumi import vault:index/plugin:Plugin jwt auth/name/jwt
409
+ ```
410
+ ```sh
411
+ $ pulumi import vault:index/plugin:Plugin jwt auth/version/v0.17.0/name/jwt
412
+ ```
413
+
414
+ :param str resource_name: The name of the resource.
415
+ :param PluginArgs args: The arguments to use to populate this resource's properties.
416
+ :param pulumi.ResourceOptions opts: Options for the resource.
417
+ """
418
+ ...
419
+ def __init__(__self__, resource_name: str, *args, **kwargs):
420
+ resource_args, opts = _utilities.get_resource_args_opts(PluginArgs, pulumi.ResourceOptions, *args, **kwargs)
421
+ if resource_args is not None:
422
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
423
+ else:
424
+ __self__._internal_init(resource_name, *args, **kwargs)
425
+
426
+ def _internal_init(__self__,
427
+ resource_name: str,
428
+ opts: Optional[pulumi.ResourceOptions] = None,
429
+ args: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
430
+ command: Optional[pulumi.Input[str]] = None,
431
+ envs: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
432
+ name: Optional[pulumi.Input[str]] = None,
433
+ oci_image: Optional[pulumi.Input[str]] = None,
434
+ runtime: Optional[pulumi.Input[str]] = None,
435
+ sha256: Optional[pulumi.Input[str]] = None,
436
+ type: Optional[pulumi.Input[str]] = None,
437
+ version: Optional[pulumi.Input[str]] = None,
438
+ __props__=None):
439
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
440
+ if not isinstance(opts, pulumi.ResourceOptions):
441
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
442
+ if opts.id is None:
443
+ if __props__ is not None:
444
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
445
+ __props__ = PluginArgs.__new__(PluginArgs)
446
+
447
+ __props__.__dict__["args"] = args
448
+ if command is None and not opts.urn:
449
+ raise TypeError("Missing required property 'command'")
450
+ __props__.__dict__["command"] = command
451
+ __props__.__dict__["envs"] = None if envs is None else pulumi.Output.secret(envs)
452
+ __props__.__dict__["name"] = name
453
+ __props__.__dict__["oci_image"] = oci_image
454
+ __props__.__dict__["runtime"] = runtime
455
+ if sha256 is None and not opts.urn:
456
+ raise TypeError("Missing required property 'sha256'")
457
+ __props__.__dict__["sha256"] = sha256
458
+ if type is None and not opts.urn:
459
+ raise TypeError("Missing required property 'type'")
460
+ __props__.__dict__["type"] = type
461
+ __props__.__dict__["version"] = version
462
+ secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["envs"])
463
+ opts = pulumi.ResourceOptions.merge(opts, secret_opts)
464
+ super(Plugin, __self__).__init__(
465
+ 'vault:index/plugin:Plugin',
466
+ resource_name,
467
+ __props__,
468
+ opts)
469
+
470
+ @staticmethod
471
+ def get(resource_name: str,
472
+ id: pulumi.Input[str],
473
+ opts: Optional[pulumi.ResourceOptions] = None,
474
+ args: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
475
+ command: Optional[pulumi.Input[str]] = None,
476
+ envs: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
477
+ name: Optional[pulumi.Input[str]] = None,
478
+ oci_image: Optional[pulumi.Input[str]] = None,
479
+ runtime: Optional[pulumi.Input[str]] = None,
480
+ sha256: Optional[pulumi.Input[str]] = None,
481
+ type: Optional[pulumi.Input[str]] = None,
482
+ version: Optional[pulumi.Input[str]] = None) -> 'Plugin':
483
+ """
484
+ Get an existing Plugin resource's state with the given name, id, and optional extra
485
+ properties used to qualify the lookup.
486
+
487
+ :param str resource_name: The unique name of the resulting resource.
488
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
489
+ :param pulumi.ResourceOptions opts: Options for the resource.
490
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] args: List of additional args to pass to the plugin.
491
+ :param pulumi.Input[str] command: Command to execute the plugin, relative to the server's configured `plugin_directory`.
492
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] envs: List of additional environment variables to run the plugin with in KEY=VALUE form.
493
+ :param pulumi.Input[str] name: Name of the plugin.
494
+ :param pulumi.Input[str] oci_image: Specifies OCI image to run. If specified, setting
495
+ `command`, `args`, and `env` will update the container's entrypoint, args, and
496
+ environment variables (append-only) respectively.
497
+ :param pulumi.Input[str] runtime: Vault plugin runtime to use if `oci_image` is specified.
498
+ :param pulumi.Input[str] sha256: SHA256 sum of the plugin binary.
499
+ :param pulumi.Input[str] type: Type of plugin; one of "auth", "secret", or "database".
500
+ :param pulumi.Input[str] version: Semantic version of the plugin.
501
+ """
502
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
503
+
504
+ __props__ = _PluginState.__new__(_PluginState)
505
+
506
+ __props__.__dict__["args"] = args
507
+ __props__.__dict__["command"] = command
508
+ __props__.__dict__["envs"] = envs
509
+ __props__.__dict__["name"] = name
510
+ __props__.__dict__["oci_image"] = oci_image
511
+ __props__.__dict__["runtime"] = runtime
512
+ __props__.__dict__["sha256"] = sha256
513
+ __props__.__dict__["type"] = type
514
+ __props__.__dict__["version"] = version
515
+ return Plugin(resource_name, opts=opts, __props__=__props__)
516
+
517
+ @property
518
+ @pulumi.getter
519
+ def args(self) -> pulumi.Output[Optional[Sequence[str]]]:
520
+ """
521
+ List of additional args to pass to the plugin.
522
+ """
523
+ return pulumi.get(self, "args")
524
+
525
+ @property
526
+ @pulumi.getter
527
+ def command(self) -> pulumi.Output[str]:
528
+ """
529
+ Command to execute the plugin, relative to the server's configured `plugin_directory`.
530
+ """
531
+ return pulumi.get(self, "command")
532
+
533
+ @property
534
+ @pulumi.getter
535
+ def envs(self) -> pulumi.Output[Optional[Sequence[str]]]:
536
+ """
537
+ List of additional environment variables to run the plugin with in KEY=VALUE form.
538
+ """
539
+ return pulumi.get(self, "envs")
540
+
541
+ @property
542
+ @pulumi.getter
543
+ def name(self) -> pulumi.Output[str]:
544
+ """
545
+ Name of the plugin.
546
+ """
547
+ return pulumi.get(self, "name")
548
+
549
+ @property
550
+ @pulumi.getter(name="ociImage")
551
+ def oci_image(self) -> pulumi.Output[Optional[str]]:
552
+ """
553
+ Specifies OCI image to run. If specified, setting
554
+ `command`, `args`, and `env` will update the container's entrypoint, args, and
555
+ environment variables (append-only) respectively.
556
+ """
557
+ return pulumi.get(self, "oci_image")
558
+
559
+ @property
560
+ @pulumi.getter
561
+ def runtime(self) -> pulumi.Output[Optional[str]]:
562
+ """
563
+ Vault plugin runtime to use if `oci_image` is specified.
564
+ """
565
+ return pulumi.get(self, "runtime")
566
+
567
+ @property
568
+ @pulumi.getter
569
+ def sha256(self) -> pulumi.Output[str]:
570
+ """
571
+ SHA256 sum of the plugin binary.
572
+ """
573
+ return pulumi.get(self, "sha256")
574
+
575
+ @property
576
+ @pulumi.getter
577
+ def type(self) -> pulumi.Output[str]:
578
+ """
579
+ Type of plugin; one of "auth", "secret", or "database".
580
+ """
581
+ return pulumi.get(self, "type")
582
+
583
+ @property
584
+ @pulumi.getter
585
+ def version(self) -> pulumi.Output[Optional[str]]:
586
+ """
587
+ Semantic version of the plugin.
588
+ """
589
+ return pulumi.get(self, "version")
590
+