pulumi-vault 7.6.0a1764657486__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.
Files changed (274) hide show
  1. pulumi_vault/__init__.py +1399 -0
  2. pulumi_vault/_inputs.py +2701 -0
  3. pulumi_vault/_utilities.py +331 -0
  4. pulumi_vault/ad/__init__.py +12 -0
  5. pulumi_vault/ad/get_access_credentials.py +177 -0
  6. pulumi_vault/ad/secret_backend.py +1916 -0
  7. pulumi_vault/ad/secret_library.py +546 -0
  8. pulumi_vault/ad/secret_role.py +499 -0
  9. pulumi_vault/alicloud/__init__.py +9 -0
  10. pulumi_vault/alicloud/auth_backend_role.py +866 -0
  11. pulumi_vault/approle/__init__.py +12 -0
  12. pulumi_vault/approle/auth_backend_login.py +571 -0
  13. pulumi_vault/approle/auth_backend_role.py +1082 -0
  14. pulumi_vault/approle/auth_backend_role_secret_id.py +796 -0
  15. pulumi_vault/approle/get_auth_backend_role_id.py +169 -0
  16. pulumi_vault/audit.py +499 -0
  17. pulumi_vault/audit_request_header.py +277 -0
  18. pulumi_vault/auth_backend.py +565 -0
  19. pulumi_vault/aws/__init__.py +22 -0
  20. pulumi_vault/aws/auth_backend_cert.py +420 -0
  21. pulumi_vault/aws/auth_backend_client.py +1259 -0
  22. pulumi_vault/aws/auth_backend_config_identity.py +494 -0
  23. pulumi_vault/aws/auth_backend_identity_whitelist.py +380 -0
  24. pulumi_vault/aws/auth_backend_login.py +1046 -0
  25. pulumi_vault/aws/auth_backend_role.py +1961 -0
  26. pulumi_vault/aws/auth_backend_role_tag.py +638 -0
  27. pulumi_vault/aws/auth_backend_roletag_blacklist.py +366 -0
  28. pulumi_vault/aws/auth_backend_sts_role.py +414 -0
  29. pulumi_vault/aws/get_access_credentials.py +369 -0
  30. pulumi_vault/aws/get_static_access_credentials.py +137 -0
  31. pulumi_vault/aws/secret_backend.py +2018 -0
  32. pulumi_vault/aws/secret_backend_role.py +1188 -0
  33. pulumi_vault/aws/secret_backend_static_role.py +639 -0
  34. pulumi_vault/azure/__init__.py +15 -0
  35. pulumi_vault/azure/_inputs.py +108 -0
  36. pulumi_vault/azure/auth_backend_config.py +1096 -0
  37. pulumi_vault/azure/auth_backend_role.py +1176 -0
  38. pulumi_vault/azure/backend.py +1793 -0
  39. pulumi_vault/azure/backend_role.py +883 -0
  40. pulumi_vault/azure/get_access_credentials.py +400 -0
  41. pulumi_vault/azure/outputs.py +107 -0
  42. pulumi_vault/cert_auth_backend_role.py +1539 -0
  43. pulumi_vault/config/__init__.py +9 -0
  44. pulumi_vault/config/__init__.pyi +164 -0
  45. pulumi_vault/config/_inputs.py +73 -0
  46. pulumi_vault/config/outputs.py +1225 -0
  47. pulumi_vault/config/ui_custom_message.py +530 -0
  48. pulumi_vault/config/vars.py +230 -0
  49. pulumi_vault/consul/__init__.py +10 -0
  50. pulumi_vault/consul/secret_backend.py +1517 -0
  51. pulumi_vault/consul/secret_backend_role.py +847 -0
  52. pulumi_vault/database/__init__.py +14 -0
  53. pulumi_vault/database/_inputs.py +11907 -0
  54. pulumi_vault/database/outputs.py +8496 -0
  55. pulumi_vault/database/secret_backend_connection.py +1676 -0
  56. pulumi_vault/database/secret_backend_role.py +840 -0
  57. pulumi_vault/database/secret_backend_static_role.py +881 -0
  58. pulumi_vault/database/secrets_mount.py +2160 -0
  59. pulumi_vault/egp_policy.py +399 -0
  60. pulumi_vault/gcp/__init__.py +17 -0
  61. pulumi_vault/gcp/_inputs.py +441 -0
  62. pulumi_vault/gcp/auth_backend.py +1486 -0
  63. pulumi_vault/gcp/auth_backend_role.py +1235 -0
  64. pulumi_vault/gcp/get_auth_backend_role.py +514 -0
  65. pulumi_vault/gcp/outputs.py +302 -0
  66. pulumi_vault/gcp/secret_backend.py +1807 -0
  67. pulumi_vault/gcp/secret_impersonated_account.py +484 -0
  68. pulumi_vault/gcp/secret_roleset.py +554 -0
  69. pulumi_vault/gcp/secret_static_account.py +557 -0
  70. pulumi_vault/generic/__init__.py +11 -0
  71. pulumi_vault/generic/endpoint.py +786 -0
  72. pulumi_vault/generic/get_secret.py +306 -0
  73. pulumi_vault/generic/secret.py +486 -0
  74. pulumi_vault/get_auth_backend.py +226 -0
  75. pulumi_vault/get_auth_backends.py +170 -0
  76. pulumi_vault/get_namespace.py +226 -0
  77. pulumi_vault/get_namespaces.py +202 -0
  78. pulumi_vault/get_nomad_access_token.py +210 -0
  79. pulumi_vault/get_policy_document.py +160 -0
  80. pulumi_vault/get_raft_autopilot_state.py +267 -0
  81. pulumi_vault/github/__init__.py +13 -0
  82. pulumi_vault/github/_inputs.py +225 -0
  83. pulumi_vault/github/auth_backend.py +1194 -0
  84. pulumi_vault/github/outputs.py +174 -0
  85. pulumi_vault/github/team.py +380 -0
  86. pulumi_vault/github/user.py +380 -0
  87. pulumi_vault/identity/__init__.py +35 -0
  88. pulumi_vault/identity/entity.py +447 -0
  89. pulumi_vault/identity/entity_alias.py +398 -0
  90. pulumi_vault/identity/entity_policies.py +455 -0
  91. pulumi_vault/identity/get_entity.py +384 -0
  92. pulumi_vault/identity/get_group.py +467 -0
  93. pulumi_vault/identity/get_oidc_client_creds.py +175 -0
  94. pulumi_vault/identity/get_oidc_openid_config.py +334 -0
  95. pulumi_vault/identity/get_oidc_public_keys.py +179 -0
  96. pulumi_vault/identity/group.py +805 -0
  97. pulumi_vault/identity/group_alias.py +386 -0
  98. pulumi_vault/identity/group_member_entity_ids.py +444 -0
  99. pulumi_vault/identity/group_member_group_ids.py +467 -0
  100. pulumi_vault/identity/group_policies.py +471 -0
  101. pulumi_vault/identity/mfa_duo.py +674 -0
  102. pulumi_vault/identity/mfa_login_enforcement.py +566 -0
  103. pulumi_vault/identity/mfa_okta.py +626 -0
  104. pulumi_vault/identity/mfa_pingid.py +616 -0
  105. pulumi_vault/identity/mfa_totp.py +758 -0
  106. pulumi_vault/identity/oidc.py +268 -0
  107. pulumi_vault/identity/oidc_assignment.py +375 -0
  108. pulumi_vault/identity/oidc_client.py +667 -0
  109. pulumi_vault/identity/oidc_key.py +474 -0
  110. pulumi_vault/identity/oidc_key_allowed_client_id.py +298 -0
  111. pulumi_vault/identity/oidc_provider.py +550 -0
  112. pulumi_vault/identity/oidc_role.py +543 -0
  113. pulumi_vault/identity/oidc_scope.py +355 -0
  114. pulumi_vault/identity/outputs.py +137 -0
  115. pulumi_vault/jwt/__init__.py +12 -0
  116. pulumi_vault/jwt/_inputs.py +225 -0
  117. pulumi_vault/jwt/auth_backend.py +1347 -0
  118. pulumi_vault/jwt/auth_backend_role.py +1847 -0
  119. pulumi_vault/jwt/outputs.py +174 -0
  120. pulumi_vault/kmip/__init__.py +11 -0
  121. pulumi_vault/kmip/secret_backend.py +1591 -0
  122. pulumi_vault/kmip/secret_role.py +1194 -0
  123. pulumi_vault/kmip/secret_scope.py +372 -0
  124. pulumi_vault/kubernetes/__init__.py +15 -0
  125. pulumi_vault/kubernetes/auth_backend_config.py +654 -0
  126. pulumi_vault/kubernetes/auth_backend_role.py +1031 -0
  127. pulumi_vault/kubernetes/get_auth_backend_config.py +280 -0
  128. pulumi_vault/kubernetes/get_auth_backend_role.py +470 -0
  129. pulumi_vault/kubernetes/get_service_account_token.py +344 -0
  130. pulumi_vault/kubernetes/secret_backend.py +1341 -0
  131. pulumi_vault/kubernetes/secret_backend_role.py +1140 -0
  132. pulumi_vault/kv/__init__.py +18 -0
  133. pulumi_vault/kv/_inputs.py +124 -0
  134. pulumi_vault/kv/get_secret.py +240 -0
  135. pulumi_vault/kv/get_secret_subkeys_v2.py +275 -0
  136. pulumi_vault/kv/get_secret_v2.py +315 -0
  137. pulumi_vault/kv/get_secrets_list.py +186 -0
  138. pulumi_vault/kv/get_secrets_list_v2.py +243 -0
  139. pulumi_vault/kv/outputs.py +102 -0
  140. pulumi_vault/kv/secret.py +397 -0
  141. pulumi_vault/kv/secret_backend_v2.py +455 -0
  142. pulumi_vault/kv/secret_v2.py +970 -0
  143. pulumi_vault/ldap/__init__.py +19 -0
  144. pulumi_vault/ldap/_inputs.py +225 -0
  145. pulumi_vault/ldap/auth_backend.py +2520 -0
  146. pulumi_vault/ldap/auth_backend_group.py +386 -0
  147. pulumi_vault/ldap/auth_backend_user.py +439 -0
  148. pulumi_vault/ldap/get_dynamic_credentials.py +181 -0
  149. pulumi_vault/ldap/get_static_credentials.py +192 -0
  150. pulumi_vault/ldap/outputs.py +174 -0
  151. pulumi_vault/ldap/secret_backend.py +2207 -0
  152. pulumi_vault/ldap/secret_backend_dynamic_role.py +767 -0
  153. pulumi_vault/ldap/secret_backend_library_set.py +552 -0
  154. pulumi_vault/ldap/secret_backend_static_role.py +541 -0
  155. pulumi_vault/managed/__init__.py +11 -0
  156. pulumi_vault/managed/_inputs.py +944 -0
  157. pulumi_vault/managed/keys.py +398 -0
  158. pulumi_vault/managed/outputs.py +667 -0
  159. pulumi_vault/mfa_duo.py +589 -0
  160. pulumi_vault/mfa_okta.py +623 -0
  161. pulumi_vault/mfa_pingid.py +670 -0
  162. pulumi_vault/mfa_totp.py +620 -0
  163. pulumi_vault/mongodbatlas/__init__.py +10 -0
  164. pulumi_vault/mongodbatlas/secret_backend.py +388 -0
  165. pulumi_vault/mongodbatlas/secret_role.py +726 -0
  166. pulumi_vault/mount.py +1262 -0
  167. pulumi_vault/namespace.py +452 -0
  168. pulumi_vault/nomad_secret_backend.py +1559 -0
  169. pulumi_vault/nomad_secret_role.py +489 -0
  170. pulumi_vault/oci_auth_backend.py +676 -0
  171. pulumi_vault/oci_auth_backend_role.py +852 -0
  172. pulumi_vault/okta/__init__.py +13 -0
  173. pulumi_vault/okta/_inputs.py +320 -0
  174. pulumi_vault/okta/auth_backend.py +1231 -0
  175. pulumi_vault/okta/auth_backend_group.py +369 -0
  176. pulumi_vault/okta/auth_backend_user.py +416 -0
  177. pulumi_vault/okta/outputs.py +244 -0
  178. pulumi_vault/outputs.py +502 -0
  179. pulumi_vault/pkisecret/__init__.py +38 -0
  180. pulumi_vault/pkisecret/_inputs.py +270 -0
  181. pulumi_vault/pkisecret/backend_acme_eab.py +550 -0
  182. pulumi_vault/pkisecret/backend_config_acme.py +690 -0
  183. pulumi_vault/pkisecret/backend_config_auto_tidy.py +1370 -0
  184. pulumi_vault/pkisecret/backend_config_cluster.py +370 -0
  185. pulumi_vault/pkisecret/backend_config_cmpv2.py +693 -0
  186. pulumi_vault/pkisecret/backend_config_est.py +756 -0
  187. pulumi_vault/pkisecret/backend_config_scep.py +738 -0
  188. pulumi_vault/pkisecret/get_backend_cert_metadata.py +277 -0
  189. pulumi_vault/pkisecret/get_backend_config_cmpv2.py +226 -0
  190. pulumi_vault/pkisecret/get_backend_config_est.py +251 -0
  191. pulumi_vault/pkisecret/get_backend_config_scep.py +271 -0
  192. pulumi_vault/pkisecret/get_backend_issuer.py +395 -0
  193. pulumi_vault/pkisecret/get_backend_issuers.py +192 -0
  194. pulumi_vault/pkisecret/get_backend_key.py +211 -0
  195. pulumi_vault/pkisecret/get_backend_keys.py +192 -0
  196. pulumi_vault/pkisecret/outputs.py +270 -0
  197. pulumi_vault/pkisecret/secret_backend_cert.py +1315 -0
  198. pulumi_vault/pkisecret/secret_backend_config_ca.py +386 -0
  199. pulumi_vault/pkisecret/secret_backend_config_issuers.py +392 -0
  200. pulumi_vault/pkisecret/secret_backend_config_urls.py +462 -0
  201. pulumi_vault/pkisecret/secret_backend_crl_config.py +846 -0
  202. pulumi_vault/pkisecret/secret_backend_intermediate_cert_request.py +1629 -0
  203. pulumi_vault/pkisecret/secret_backend_intermediate_set_signed.py +444 -0
  204. pulumi_vault/pkisecret/secret_backend_issuer.py +1089 -0
  205. pulumi_vault/pkisecret/secret_backend_key.py +613 -0
  206. pulumi_vault/pkisecret/secret_backend_role.py +2694 -0
  207. pulumi_vault/pkisecret/secret_backend_root_cert.py +2134 -0
  208. pulumi_vault/pkisecret/secret_backend_root_sign_intermediate.py +2031 -0
  209. pulumi_vault/pkisecret/secret_backend_sign.py +1194 -0
  210. pulumi_vault/plugin.py +596 -0
  211. pulumi_vault/plugin_pinned_version.py +299 -0
  212. pulumi_vault/policy.py +279 -0
  213. pulumi_vault/provider.py +781 -0
  214. pulumi_vault/pulumi-plugin.json +5 -0
  215. pulumi_vault/py.typed +0 -0
  216. pulumi_vault/quota_lease_count.py +504 -0
  217. pulumi_vault/quota_rate_limit.py +751 -0
  218. pulumi_vault/rabbitmq/__init__.py +12 -0
  219. pulumi_vault/rabbitmq/_inputs.py +235 -0
  220. pulumi_vault/rabbitmq/outputs.py +144 -0
  221. pulumi_vault/rabbitmq/secret_backend.py +1437 -0
  222. pulumi_vault/rabbitmq/secret_backend_role.py +496 -0
  223. pulumi_vault/raft_autopilot.py +609 -0
  224. pulumi_vault/raft_snapshot_agent_config.py +1591 -0
  225. pulumi_vault/rgp_policy.py +349 -0
  226. pulumi_vault/saml/__init__.py +12 -0
  227. pulumi_vault/saml/_inputs.py +225 -0
  228. pulumi_vault/saml/auth_backend.py +811 -0
  229. pulumi_vault/saml/auth_backend_role.py +1068 -0
  230. pulumi_vault/saml/outputs.py +174 -0
  231. pulumi_vault/scep_auth_backend_role.py +908 -0
  232. pulumi_vault/secrets/__init__.py +18 -0
  233. pulumi_vault/secrets/_inputs.py +110 -0
  234. pulumi_vault/secrets/outputs.py +94 -0
  235. pulumi_vault/secrets/sync_association.py +450 -0
  236. pulumi_vault/secrets/sync_aws_destination.py +780 -0
  237. pulumi_vault/secrets/sync_azure_destination.py +736 -0
  238. pulumi_vault/secrets/sync_config.py +303 -0
  239. pulumi_vault/secrets/sync_gcp_destination.py +572 -0
  240. pulumi_vault/secrets/sync_gh_destination.py +688 -0
  241. pulumi_vault/secrets/sync_github_apps.py +376 -0
  242. pulumi_vault/secrets/sync_vercel_destination.py +603 -0
  243. pulumi_vault/ssh/__init__.py +13 -0
  244. pulumi_vault/ssh/_inputs.py +76 -0
  245. pulumi_vault/ssh/get_secret_backend_sign.py +294 -0
  246. pulumi_vault/ssh/outputs.py +51 -0
  247. pulumi_vault/ssh/secret_backend_ca.py +588 -0
  248. pulumi_vault/ssh/secret_backend_role.py +1493 -0
  249. pulumi_vault/terraformcloud/__init__.py +11 -0
  250. pulumi_vault/terraformcloud/secret_backend.py +1321 -0
  251. pulumi_vault/terraformcloud/secret_creds.py +445 -0
  252. pulumi_vault/terraformcloud/secret_role.py +563 -0
  253. pulumi_vault/token.py +1026 -0
  254. pulumi_vault/tokenauth/__init__.py +9 -0
  255. pulumi_vault/tokenauth/auth_backend_role.py +1135 -0
  256. pulumi_vault/transform/__init__.py +14 -0
  257. pulumi_vault/transform/alphabet.py +348 -0
  258. pulumi_vault/transform/get_decode.py +287 -0
  259. pulumi_vault/transform/get_encode.py +291 -0
  260. pulumi_vault/transform/role.py +350 -0
  261. pulumi_vault/transform/template.py +592 -0
  262. pulumi_vault/transform/transformation.py +608 -0
  263. pulumi_vault/transit/__init__.py +15 -0
  264. pulumi_vault/transit/get_cmac.py +256 -0
  265. pulumi_vault/transit/get_decrypt.py +181 -0
  266. pulumi_vault/transit/get_encrypt.py +174 -0
  267. pulumi_vault/transit/get_sign.py +328 -0
  268. pulumi_vault/transit/get_verify.py +373 -0
  269. pulumi_vault/transit/secret_backend_key.py +1202 -0
  270. pulumi_vault/transit/secret_cache_config.py +302 -0
  271. pulumi_vault-7.6.0a1764657486.dist-info/METADATA +92 -0
  272. pulumi_vault-7.6.0a1764657486.dist-info/RECORD +274 -0
  273. pulumi_vault-7.6.0a1764657486.dist-info/WHEEL +5 -0
  274. pulumi_vault-7.6.0a1764657486.dist-info/top_level.txt +1 -0
@@ -0,0 +1,226 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import builtins as _builtins
6
+ import warnings
7
+ import sys
8
+ import pulumi
9
+ import pulumi.runtime
10
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
15
+ from . import _utilities
16
+
17
+ __all__ = [
18
+ 'GetAuthBackendResult',
19
+ 'AwaitableGetAuthBackendResult',
20
+ 'get_auth_backend',
21
+ 'get_auth_backend_output',
22
+ ]
23
+
24
+ @pulumi.output_type
25
+ class GetAuthBackendResult:
26
+ """
27
+ A collection of values returned by getAuthBackend.
28
+ """
29
+ def __init__(__self__, accessor=None, default_lease_ttl_seconds=None, description=None, id=None, listing_visibility=None, local=None, max_lease_ttl_seconds=None, namespace=None, path=None, type=None):
30
+ if accessor and not isinstance(accessor, str):
31
+ raise TypeError("Expected argument 'accessor' to be a str")
32
+ pulumi.set(__self__, "accessor", accessor)
33
+ if default_lease_ttl_seconds and not isinstance(default_lease_ttl_seconds, int):
34
+ raise TypeError("Expected argument 'default_lease_ttl_seconds' to be a int")
35
+ pulumi.set(__self__, "default_lease_ttl_seconds", default_lease_ttl_seconds)
36
+ if description and not isinstance(description, str):
37
+ raise TypeError("Expected argument 'description' to be a str")
38
+ pulumi.set(__self__, "description", description)
39
+ if id and not isinstance(id, str):
40
+ raise TypeError("Expected argument 'id' to be a str")
41
+ pulumi.set(__self__, "id", id)
42
+ if listing_visibility and not isinstance(listing_visibility, str):
43
+ raise TypeError("Expected argument 'listing_visibility' to be a str")
44
+ pulumi.set(__self__, "listing_visibility", listing_visibility)
45
+ if local and not isinstance(local, bool):
46
+ raise TypeError("Expected argument 'local' to be a bool")
47
+ pulumi.set(__self__, "local", local)
48
+ if max_lease_ttl_seconds and not isinstance(max_lease_ttl_seconds, int):
49
+ raise TypeError("Expected argument 'max_lease_ttl_seconds' to be a int")
50
+ pulumi.set(__self__, "max_lease_ttl_seconds", max_lease_ttl_seconds)
51
+ if namespace and not isinstance(namespace, str):
52
+ raise TypeError("Expected argument 'namespace' to be a str")
53
+ pulumi.set(__self__, "namespace", namespace)
54
+ if path and not isinstance(path, str):
55
+ raise TypeError("Expected argument 'path' to be a str")
56
+ pulumi.set(__self__, "path", path)
57
+ if type and not isinstance(type, str):
58
+ raise TypeError("Expected argument 'type' to be a str")
59
+ pulumi.set(__self__, "type", type)
60
+
61
+ @_builtins.property
62
+ @pulumi.getter
63
+ def accessor(self) -> _builtins.str:
64
+ """
65
+ The accessor for this auth method.
66
+ """
67
+ return pulumi.get(self, "accessor")
68
+
69
+ @_builtins.property
70
+ @pulumi.getter(name="defaultLeaseTtlSeconds")
71
+ def default_lease_ttl_seconds(self) -> _builtins.int:
72
+ """
73
+ The default lease duration in seconds.
74
+ """
75
+ return pulumi.get(self, "default_lease_ttl_seconds")
76
+
77
+ @_builtins.property
78
+ @pulumi.getter
79
+ def description(self) -> _builtins.str:
80
+ """
81
+ A description of the auth method.
82
+ """
83
+ return pulumi.get(self, "description")
84
+
85
+ @_builtins.property
86
+ @pulumi.getter
87
+ def id(self) -> _builtins.str:
88
+ """
89
+ The provider-assigned unique ID for this managed resource.
90
+ """
91
+ return pulumi.get(self, "id")
92
+
93
+ @_builtins.property
94
+ @pulumi.getter(name="listingVisibility")
95
+ def listing_visibility(self) -> _builtins.str:
96
+ """
97
+ Specifies whether to show this mount in the UI-specific listing endpoint.
98
+ """
99
+ return pulumi.get(self, "listing_visibility")
100
+
101
+ @_builtins.property
102
+ @pulumi.getter
103
+ def local(self) -> _builtins.bool:
104
+ """
105
+ Specifies if the auth method is local only.
106
+ """
107
+ return pulumi.get(self, "local")
108
+
109
+ @_builtins.property
110
+ @pulumi.getter(name="maxLeaseTtlSeconds")
111
+ def max_lease_ttl_seconds(self) -> _builtins.int:
112
+ """
113
+ The maximum lease duration in seconds.
114
+ """
115
+ return pulumi.get(self, "max_lease_ttl_seconds")
116
+
117
+ @_builtins.property
118
+ @pulumi.getter
119
+ def namespace(self) -> Optional[_builtins.str]:
120
+ return pulumi.get(self, "namespace")
121
+
122
+ @_builtins.property
123
+ @pulumi.getter
124
+ def path(self) -> _builtins.str:
125
+ return pulumi.get(self, "path")
126
+
127
+ @_builtins.property
128
+ @pulumi.getter
129
+ def type(self) -> _builtins.str:
130
+ """
131
+ The name of the auth method type.
132
+ """
133
+ return pulumi.get(self, "type")
134
+
135
+
136
+ class AwaitableGetAuthBackendResult(GetAuthBackendResult):
137
+ # pylint: disable=using-constant-test
138
+ def __await__(self):
139
+ if False:
140
+ yield self
141
+ return GetAuthBackendResult(
142
+ accessor=self.accessor,
143
+ default_lease_ttl_seconds=self.default_lease_ttl_seconds,
144
+ description=self.description,
145
+ id=self.id,
146
+ listing_visibility=self.listing_visibility,
147
+ local=self.local,
148
+ max_lease_ttl_seconds=self.max_lease_ttl_seconds,
149
+ namespace=self.namespace,
150
+ path=self.path,
151
+ type=self.type)
152
+
153
+
154
+ def get_auth_backend(namespace: Optional[_builtins.str] = None,
155
+ path: Optional[_builtins.str] = None,
156
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAuthBackendResult:
157
+ """
158
+ ## Example Usage
159
+
160
+ ```python
161
+ import pulumi
162
+ import pulumi_vault as vault
163
+
164
+ example = vault.get_auth_backend(path="userpass")
165
+ ```
166
+
167
+
168
+ :param _builtins.str namespace: The namespace of the target resource.
169
+ The value should not contain leading or trailing forward slashes.
170
+ The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace).
171
+ *Available only for Vault Enterprise*.
172
+ :param _builtins.str path: The auth backend mount point.
173
+ """
174
+ __args__ = dict()
175
+ __args__['namespace'] = namespace
176
+ __args__['path'] = path
177
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
178
+ __ret__ = pulumi.runtime.invoke('vault:index/getAuthBackend:getAuthBackend', __args__, opts=opts, typ=GetAuthBackendResult).value
179
+
180
+ return AwaitableGetAuthBackendResult(
181
+ accessor=pulumi.get(__ret__, 'accessor'),
182
+ default_lease_ttl_seconds=pulumi.get(__ret__, 'default_lease_ttl_seconds'),
183
+ description=pulumi.get(__ret__, 'description'),
184
+ id=pulumi.get(__ret__, 'id'),
185
+ listing_visibility=pulumi.get(__ret__, 'listing_visibility'),
186
+ local=pulumi.get(__ret__, 'local'),
187
+ max_lease_ttl_seconds=pulumi.get(__ret__, 'max_lease_ttl_seconds'),
188
+ namespace=pulumi.get(__ret__, 'namespace'),
189
+ path=pulumi.get(__ret__, 'path'),
190
+ type=pulumi.get(__ret__, 'type'))
191
+ def get_auth_backend_output(namespace: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
192
+ path: Optional[pulumi.Input[_builtins.str]] = None,
193
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetAuthBackendResult]:
194
+ """
195
+ ## Example Usage
196
+
197
+ ```python
198
+ import pulumi
199
+ import pulumi_vault as vault
200
+
201
+ example = vault.get_auth_backend(path="userpass")
202
+ ```
203
+
204
+
205
+ :param _builtins.str namespace: The namespace of the target resource.
206
+ The value should not contain leading or trailing forward slashes.
207
+ The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace).
208
+ *Available only for Vault Enterprise*.
209
+ :param _builtins.str path: The auth backend mount point.
210
+ """
211
+ __args__ = dict()
212
+ __args__['namespace'] = namespace
213
+ __args__['path'] = path
214
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
215
+ __ret__ = pulumi.runtime.invoke_output('vault:index/getAuthBackend:getAuthBackend', __args__, opts=opts, typ=GetAuthBackendResult)
216
+ return __ret__.apply(lambda __response__: GetAuthBackendResult(
217
+ accessor=pulumi.get(__response__, 'accessor'),
218
+ default_lease_ttl_seconds=pulumi.get(__response__, 'default_lease_ttl_seconds'),
219
+ description=pulumi.get(__response__, 'description'),
220
+ id=pulumi.get(__response__, 'id'),
221
+ listing_visibility=pulumi.get(__response__, 'listing_visibility'),
222
+ local=pulumi.get(__response__, 'local'),
223
+ max_lease_ttl_seconds=pulumi.get(__response__, 'max_lease_ttl_seconds'),
224
+ namespace=pulumi.get(__response__, 'namespace'),
225
+ path=pulumi.get(__response__, 'path'),
226
+ type=pulumi.get(__response__, 'type')))
@@ -0,0 +1,170 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import builtins as _builtins
6
+ import warnings
7
+ import sys
8
+ import pulumi
9
+ import pulumi.runtime
10
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
15
+ from . import _utilities
16
+
17
+ __all__ = [
18
+ 'GetAuthBackendsResult',
19
+ 'AwaitableGetAuthBackendsResult',
20
+ 'get_auth_backends',
21
+ 'get_auth_backends_output',
22
+ ]
23
+
24
+ @pulumi.output_type
25
+ class GetAuthBackendsResult:
26
+ """
27
+ A collection of values returned by getAuthBackends.
28
+ """
29
+ def __init__(__self__, accessors=None, id=None, namespace=None, paths=None, type=None):
30
+ if accessors and not isinstance(accessors, list):
31
+ raise TypeError("Expected argument 'accessors' to be a list")
32
+ pulumi.set(__self__, "accessors", accessors)
33
+ if id and not isinstance(id, str):
34
+ raise TypeError("Expected argument 'id' to be a str")
35
+ pulumi.set(__self__, "id", id)
36
+ if namespace and not isinstance(namespace, str):
37
+ raise TypeError("Expected argument 'namespace' to be a str")
38
+ pulumi.set(__self__, "namespace", namespace)
39
+ if paths and not isinstance(paths, list):
40
+ raise TypeError("Expected argument 'paths' to be a list")
41
+ pulumi.set(__self__, "paths", paths)
42
+ if type and not isinstance(type, str):
43
+ raise TypeError("Expected argument 'type' to be a str")
44
+ pulumi.set(__self__, "type", type)
45
+
46
+ @_builtins.property
47
+ @pulumi.getter
48
+ def accessors(self) -> Sequence[_builtins.str]:
49
+ """
50
+ The accessor IDs for the auth methods.
51
+ """
52
+ return pulumi.get(self, "accessors")
53
+
54
+ @_builtins.property
55
+ @pulumi.getter
56
+ def id(self) -> _builtins.str:
57
+ """
58
+ The provider-assigned unique ID for this managed resource.
59
+ """
60
+ return pulumi.get(self, "id")
61
+
62
+ @_builtins.property
63
+ @pulumi.getter
64
+ def namespace(self) -> Optional[_builtins.str]:
65
+ return pulumi.get(self, "namespace")
66
+
67
+ @_builtins.property
68
+ @pulumi.getter
69
+ def paths(self) -> Sequence[_builtins.str]:
70
+ """
71
+ List of auth backend mount points.
72
+ """
73
+ return pulumi.get(self, "paths")
74
+
75
+ @_builtins.property
76
+ @pulumi.getter
77
+ def type(self) -> Optional[_builtins.str]:
78
+ return pulumi.get(self, "type")
79
+
80
+
81
+ class AwaitableGetAuthBackendsResult(GetAuthBackendsResult):
82
+ # pylint: disable=using-constant-test
83
+ def __await__(self):
84
+ if False:
85
+ yield self
86
+ return GetAuthBackendsResult(
87
+ accessors=self.accessors,
88
+ id=self.id,
89
+ namespace=self.namespace,
90
+ paths=self.paths,
91
+ type=self.type)
92
+
93
+
94
+ def get_auth_backends(namespace: Optional[_builtins.str] = None,
95
+ type: Optional[_builtins.str] = None,
96
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAuthBackendsResult:
97
+ """
98
+ ## Example Usage
99
+
100
+ ```python
101
+ import pulumi
102
+ import pulumi_vault as vault
103
+
104
+ example = vault.get_auth_backends()
105
+ ```
106
+
107
+ ```python
108
+ import pulumi
109
+ import pulumi_vault as vault
110
+
111
+ example_filter = vault.get_auth_backends(type="kubernetes")
112
+ ```
113
+
114
+
115
+ :param _builtins.str namespace: The namespace of the target resource.
116
+ The value should not contain leading or trailing forward slashes.
117
+ The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace).
118
+ *Available only for Vault Enterprise*.
119
+ :param _builtins.str type: The name of the auth method type. Allows filtering of backends returned by type.
120
+ """
121
+ __args__ = dict()
122
+ __args__['namespace'] = namespace
123
+ __args__['type'] = type
124
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
125
+ __ret__ = pulumi.runtime.invoke('vault:index/getAuthBackends:getAuthBackends', __args__, opts=opts, typ=GetAuthBackendsResult).value
126
+
127
+ return AwaitableGetAuthBackendsResult(
128
+ accessors=pulumi.get(__ret__, 'accessors'),
129
+ id=pulumi.get(__ret__, 'id'),
130
+ namespace=pulumi.get(__ret__, 'namespace'),
131
+ paths=pulumi.get(__ret__, 'paths'),
132
+ type=pulumi.get(__ret__, 'type'))
133
+ def get_auth_backends_output(namespace: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
134
+ type: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
135
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetAuthBackendsResult]:
136
+ """
137
+ ## Example Usage
138
+
139
+ ```python
140
+ import pulumi
141
+ import pulumi_vault as vault
142
+
143
+ example = vault.get_auth_backends()
144
+ ```
145
+
146
+ ```python
147
+ import pulumi
148
+ import pulumi_vault as vault
149
+
150
+ example_filter = vault.get_auth_backends(type="kubernetes")
151
+ ```
152
+
153
+
154
+ :param _builtins.str namespace: The namespace of the target resource.
155
+ The value should not contain leading or trailing forward slashes.
156
+ The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace).
157
+ *Available only for Vault Enterprise*.
158
+ :param _builtins.str type: The name of the auth method type. Allows filtering of backends returned by type.
159
+ """
160
+ __args__ = dict()
161
+ __args__['namespace'] = namespace
162
+ __args__['type'] = type
163
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
164
+ __ret__ = pulumi.runtime.invoke_output('vault:index/getAuthBackends:getAuthBackends', __args__, opts=opts, typ=GetAuthBackendsResult)
165
+ return __ret__.apply(lambda __response__: GetAuthBackendsResult(
166
+ accessors=pulumi.get(__response__, 'accessors'),
167
+ id=pulumi.get(__response__, 'id'),
168
+ namespace=pulumi.get(__response__, 'namespace'),
169
+ paths=pulumi.get(__response__, 'paths'),
170
+ type=pulumi.get(__response__, 'type')))
@@ -0,0 +1,226 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import builtins as _builtins
6
+ import warnings
7
+ import sys
8
+ import pulumi
9
+ import pulumi.runtime
10
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
15
+ from . import _utilities
16
+
17
+ __all__ = [
18
+ 'GetNamespaceResult',
19
+ 'AwaitableGetNamespaceResult',
20
+ 'get_namespace',
21
+ 'get_namespace_output',
22
+ ]
23
+
24
+ @pulumi.output_type
25
+ class GetNamespaceResult:
26
+ """
27
+ A collection of values returned by getNamespace.
28
+ """
29
+ def __init__(__self__, custom_metadata=None, id=None, namespace=None, namespace_id=None, path=None, path_fq=None):
30
+ if custom_metadata and not isinstance(custom_metadata, dict):
31
+ raise TypeError("Expected argument 'custom_metadata' to be a dict")
32
+ pulumi.set(__self__, "custom_metadata", custom_metadata)
33
+ if id and not isinstance(id, str):
34
+ raise TypeError("Expected argument 'id' to be a str")
35
+ pulumi.set(__self__, "id", id)
36
+ if namespace and not isinstance(namespace, str):
37
+ raise TypeError("Expected argument 'namespace' to be a str")
38
+ pulumi.set(__self__, "namespace", namespace)
39
+ if namespace_id and not isinstance(namespace_id, str):
40
+ raise TypeError("Expected argument 'namespace_id' to be a str")
41
+ pulumi.set(__self__, "namespace_id", namespace_id)
42
+ if path and not isinstance(path, str):
43
+ raise TypeError("Expected argument 'path' to be a str")
44
+ pulumi.set(__self__, "path", path)
45
+ if path_fq and not isinstance(path_fq, str):
46
+ raise TypeError("Expected argument 'path_fq' to be a str")
47
+ pulumi.set(__self__, "path_fq", path_fq)
48
+
49
+ @_builtins.property
50
+ @pulumi.getter(name="customMetadata")
51
+ def custom_metadata(self) -> Mapping[str, _builtins.str]:
52
+ """
53
+ (Optional) A map of strings containing arbitrary metadata for the namespace.
54
+ Only fetched if `path` is specified.
55
+ *Requires Vault 1.12+.*
56
+ """
57
+ return pulumi.get(self, "custom_metadata")
58
+
59
+ @_builtins.property
60
+ @pulumi.getter
61
+ def id(self) -> _builtins.str:
62
+ """
63
+ The provider-assigned unique ID for this managed resource.
64
+ """
65
+ return pulumi.get(self, "id")
66
+
67
+ @_builtins.property
68
+ @pulumi.getter
69
+ def namespace(self) -> Optional[_builtins.str]:
70
+ return pulumi.get(self, "namespace")
71
+
72
+ @_builtins.property
73
+ @pulumi.getter(name="namespaceId")
74
+ def namespace_id(self) -> _builtins.str:
75
+ """
76
+ Vault server's internal ID of the namespace.
77
+ Only fetched if `path` is specified.
78
+ """
79
+ return pulumi.get(self, "namespace_id")
80
+
81
+ @_builtins.property
82
+ @pulumi.getter
83
+ def path(self) -> Optional[_builtins.str]:
84
+ return pulumi.get(self, "path")
85
+
86
+ @_builtins.property
87
+ @pulumi.getter(name="pathFq")
88
+ def path_fq(self) -> _builtins.str:
89
+ """
90
+ The fully qualified path to the namespace. Useful when provisioning resources in a child `namespace`.
91
+ The path is relative to the provider's `namespace` argument.
92
+ """
93
+ return pulumi.get(self, "path_fq")
94
+
95
+
96
+ class AwaitableGetNamespaceResult(GetNamespaceResult):
97
+ # pylint: disable=using-constant-test
98
+ def __await__(self):
99
+ if False:
100
+ yield self
101
+ return GetNamespaceResult(
102
+ custom_metadata=self.custom_metadata,
103
+ id=self.id,
104
+ namespace=self.namespace,
105
+ namespace_id=self.namespace_id,
106
+ path=self.path,
107
+ path_fq=self.path_fq)
108
+
109
+
110
+ def get_namespace(namespace: Optional[_builtins.str] = None,
111
+ path: Optional[_builtins.str] = None,
112
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetNamespaceResult:
113
+ """
114
+ ## Example Usage
115
+
116
+ ### Current namespace
117
+
118
+ ```python
119
+ import pulumi
120
+ import pulumi_vault as vault
121
+
122
+ current = vault.get_namespace()
123
+ ```
124
+
125
+ ### Single namespace
126
+
127
+ ```python
128
+ import pulumi
129
+ import pulumi_vault as vault
130
+
131
+ ns1 = vault.get_namespace(path="ns1")
132
+ ```
133
+
134
+ ### Nested namespace
135
+
136
+ ```python
137
+ import pulumi
138
+ import pulumi_vault as vault
139
+
140
+ child = vault.get_namespace(namespace="parent",
141
+ path="child")
142
+ full_path = child.id
143
+ # -> foo/parent/child/
144
+ path_fq = child.path_fq
145
+ ```
146
+
147
+
148
+ :param _builtins.str namespace: The namespace to provision the resource in.
149
+ The value should not contain leading or trailing forward slashes.
150
+ The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault#namespace).
151
+ :param _builtins.str path: The path of the namespace. Must not have a trailing `/`.
152
+ If not specified or empty, path attributes are set for the current namespace
153
+ based on the `namespace` arguments of the provider and this data source.
154
+ Other path related attributes will be empty in this case.
155
+ """
156
+ __args__ = dict()
157
+ __args__['namespace'] = namespace
158
+ __args__['path'] = path
159
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
160
+ __ret__ = pulumi.runtime.invoke('vault:index/getNamespace:getNamespace', __args__, opts=opts, typ=GetNamespaceResult).value
161
+
162
+ return AwaitableGetNamespaceResult(
163
+ custom_metadata=pulumi.get(__ret__, 'custom_metadata'),
164
+ id=pulumi.get(__ret__, 'id'),
165
+ namespace=pulumi.get(__ret__, 'namespace'),
166
+ namespace_id=pulumi.get(__ret__, 'namespace_id'),
167
+ path=pulumi.get(__ret__, 'path'),
168
+ path_fq=pulumi.get(__ret__, 'path_fq'))
169
+ def get_namespace_output(namespace: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
170
+ path: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
171
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetNamespaceResult]:
172
+ """
173
+ ## Example Usage
174
+
175
+ ### Current namespace
176
+
177
+ ```python
178
+ import pulumi
179
+ import pulumi_vault as vault
180
+
181
+ current = vault.get_namespace()
182
+ ```
183
+
184
+ ### Single namespace
185
+
186
+ ```python
187
+ import pulumi
188
+ import pulumi_vault as vault
189
+
190
+ ns1 = vault.get_namespace(path="ns1")
191
+ ```
192
+
193
+ ### Nested namespace
194
+
195
+ ```python
196
+ import pulumi
197
+ import pulumi_vault as vault
198
+
199
+ child = vault.get_namespace(namespace="parent",
200
+ path="child")
201
+ full_path = child.id
202
+ # -> foo/parent/child/
203
+ path_fq = child.path_fq
204
+ ```
205
+
206
+
207
+ :param _builtins.str namespace: The namespace to provision the resource in.
208
+ The value should not contain leading or trailing forward slashes.
209
+ The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault#namespace).
210
+ :param _builtins.str path: The path of the namespace. Must not have a trailing `/`.
211
+ If not specified or empty, path attributes are set for the current namespace
212
+ based on the `namespace` arguments of the provider and this data source.
213
+ Other path related attributes will be empty in this case.
214
+ """
215
+ __args__ = dict()
216
+ __args__['namespace'] = namespace
217
+ __args__['path'] = path
218
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
219
+ __ret__ = pulumi.runtime.invoke_output('vault:index/getNamespace:getNamespace', __args__, opts=opts, typ=GetNamespaceResult)
220
+ return __ret__.apply(lambda __response__: GetNamespaceResult(
221
+ custom_metadata=pulumi.get(__response__, 'custom_metadata'),
222
+ id=pulumi.get(__response__, 'id'),
223
+ namespace=pulumi.get(__response__, 'namespace'),
224
+ namespace_id=pulumi.get(__response__, 'namespace_id'),
225
+ path=pulumi.get(__response__, 'path'),
226
+ path_fq=pulumi.get(__response__, 'path_fq')))