pulumi-azure-native 2.68.0a1729267188__py3-none-any.whl → 2.68.0a1729519840__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.
Potentially problematic release.
This version of pulumi-azure-native might be problematic. Click here for more details.
- pulumi_azure_native/__init__.py +21 -0
- pulumi_azure_native/pulumi-plugin.json +1 -1
- pulumi_azure_native/secretsynccontroller/__init__.py +22 -0
- pulumi_azure_native/secretsynccontroller/_enums.py +38 -0
- pulumi_azure_native/secretsynccontroller/_inputs.py +134 -0
- pulumi_azure_native/secretsynccontroller/azure_key_vault_secret_provider_class.py +389 -0
- pulumi_azure_native/secretsynccontroller/get_azure_key_vault_secret_provider_class.py +243 -0
- pulumi_azure_native/secretsynccontroller/get_secret_sync.py +271 -0
- pulumi_azure_native/secretsynccontroller/outputs.py +367 -0
- pulumi_azure_native/secretsynccontroller/secret_sync.py +429 -0
- pulumi_azure_native/secretsynccontroller/v20240821preview/__init__.py +14 -0
- pulumi_azure_native/secretsynccontroller/v20240821preview/_enums.py +38 -0
- pulumi_azure_native/secretsynccontroller/v20240821preview/_inputs.py +134 -0
- pulumi_azure_native/secretsynccontroller/v20240821preview/azure_key_vault_secret_provider_class.py +387 -0
- pulumi_azure_native/secretsynccontroller/v20240821preview/get_azure_key_vault_secret_provider_class.py +241 -0
- pulumi_azure_native/secretsynccontroller/v20240821preview/get_secret_sync.py +269 -0
- pulumi_azure_native/secretsynccontroller/v20240821preview/outputs.py +367 -0
- pulumi_azure_native/secretsynccontroller/v20240821preview/secret_sync.py +427 -0
- {pulumi_azure_native-2.68.0a1729267188.dist-info → pulumi_azure_native-2.68.0a1729519840.dist-info}/METADATA +1 -1
- {pulumi_azure_native-2.68.0a1729267188.dist-info → pulumi_azure_native-2.68.0a1729519840.dist-info}/RECORD +22 -6
- {pulumi_azure_native-2.68.0a1729267188.dist-info → pulumi_azure_native-2.68.0a1729519840.dist-info}/WHEEL +0 -0
- {pulumi_azure_native-2.68.0a1729267188.dist-info → pulumi_azure_native-2.68.0a1729519840.dist-info}/top_level.txt +0 -0
pulumi_azure_native/__init__.py
CHANGED
|
@@ -391,6 +391,8 @@ if typing.TYPE_CHECKING:
|
|
|
391
391
|
scvmm = __scvmm
|
|
392
392
|
import pulumi_azure_native.search as __search
|
|
393
393
|
search = __search
|
|
394
|
+
import pulumi_azure_native.secretsynccontroller as __secretsynccontroller
|
|
395
|
+
secretsynccontroller = __secretsynccontroller
|
|
394
396
|
import pulumi_azure_native.security as __security
|
|
395
397
|
security = __security
|
|
396
398
|
import pulumi_azure_native.securityandcompliance as __securityandcompliance
|
|
@@ -663,6 +665,7 @@ else:
|
|
|
663
665
|
scom = _utilities.lazy_import('pulumi_azure_native.scom')
|
|
664
666
|
scvmm = _utilities.lazy_import('pulumi_azure_native.scvmm')
|
|
665
667
|
search = _utilities.lazy_import('pulumi_azure_native.search')
|
|
668
|
+
secretsynccontroller = _utilities.lazy_import('pulumi_azure_native.secretsynccontroller')
|
|
666
669
|
security = _utilities.lazy_import('pulumi_azure_native.security')
|
|
667
670
|
securityandcompliance = _utilities.lazy_import('pulumi_azure_native.securityandcompliance')
|
|
668
671
|
securityinsights = _utilities.lazy_import('pulumi_azure_native.securityinsights')
|
|
@@ -16379,6 +16382,24 @@ _utilities.register(
|
|
|
16379
16382
|
"azure-native:search/v20240601preview:SharedPrivateLinkResource": "SharedPrivateLinkResource"
|
|
16380
16383
|
}
|
|
16381
16384
|
},
|
|
16385
|
+
{
|
|
16386
|
+
"pkg": "azure-native",
|
|
16387
|
+
"mod": "secretsynccontroller",
|
|
16388
|
+
"fqn": "pulumi_azure_native.secretsynccontroller",
|
|
16389
|
+
"classes": {
|
|
16390
|
+
"azure-native:secretsynccontroller:AzureKeyVaultSecretProviderClass": "AzureKeyVaultSecretProviderClass",
|
|
16391
|
+
"azure-native:secretsynccontroller:SecretSync": "SecretSync"
|
|
16392
|
+
}
|
|
16393
|
+
},
|
|
16394
|
+
{
|
|
16395
|
+
"pkg": "azure-native",
|
|
16396
|
+
"mod": "secretsynccontroller/v20240821preview",
|
|
16397
|
+
"fqn": "pulumi_azure_native.secretsynccontroller.v20240821preview",
|
|
16398
|
+
"classes": {
|
|
16399
|
+
"azure-native:secretsynccontroller/v20240821preview:AzureKeyVaultSecretProviderClass": "AzureKeyVaultSecretProviderClass",
|
|
16400
|
+
"azure-native:secretsynccontroller/v20240821preview:SecretSync": "SecretSync"
|
|
16401
|
+
}
|
|
16402
|
+
},
|
|
16382
16403
|
{
|
|
16383
16404
|
"pkg": "azure-native",
|
|
16384
16405
|
"mod": "security",
|
|
@@ -0,0 +1,22 @@
|
|
|
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
|
+
from .. import _utilities
|
|
6
|
+
import typing
|
|
7
|
+
# Export this package's modules as members:
|
|
8
|
+
from ._enums import *
|
|
9
|
+
from .azure_key_vault_secret_provider_class import *
|
|
10
|
+
from .get_azure_key_vault_secret_provider_class import *
|
|
11
|
+
from .get_secret_sync import *
|
|
12
|
+
from .secret_sync import *
|
|
13
|
+
from ._inputs import *
|
|
14
|
+
from . import outputs
|
|
15
|
+
|
|
16
|
+
# Make subpackages available:
|
|
17
|
+
if typing.TYPE_CHECKING:
|
|
18
|
+
import pulumi_azure_native.secretsynccontroller.v20240821preview as __v20240821preview
|
|
19
|
+
v20240821preview = __v20240821preview
|
|
20
|
+
else:
|
|
21
|
+
v20240821preview = _utilities.lazy_import('pulumi_azure_native.secretsynccontroller.v20240821preview')
|
|
22
|
+
|
|
@@ -0,0 +1,38 @@
|
|
|
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
|
+
from enum import Enum
|
|
6
|
+
|
|
7
|
+
__all__ = [
|
|
8
|
+
'ExtendedLocationType',
|
|
9
|
+
'KubernetesSecretType',
|
|
10
|
+
]
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
class ExtendedLocationType(str, Enum):
|
|
14
|
+
"""
|
|
15
|
+
The type of the extended location.
|
|
16
|
+
"""
|
|
17
|
+
EDGE_ZONE = "EdgeZone"
|
|
18
|
+
"""
|
|
19
|
+
Azure Edge Zones location type
|
|
20
|
+
"""
|
|
21
|
+
CUSTOM_LOCATION = "CustomLocation"
|
|
22
|
+
"""
|
|
23
|
+
Azure Custom Locations type
|
|
24
|
+
"""
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
class KubernetesSecretType(str, Enum):
|
|
28
|
+
"""
|
|
29
|
+
Type specifies the type of the Kubernetes secret object, e.g. "Opaque" or"kubernetes.io/tls". The controller must have permission to create secrets of the specified type.
|
|
30
|
+
"""
|
|
31
|
+
OPAQUE = "Opaque"
|
|
32
|
+
"""
|
|
33
|
+
Opaque is the default secret type.
|
|
34
|
+
"""
|
|
35
|
+
TLS = "kubernetes.io/tls"
|
|
36
|
+
"""
|
|
37
|
+
The kubernetes.io/tls secret type is for storing a certificate and its associated key that are typically used for TLS.
|
|
38
|
+
"""
|
|
@@ -0,0 +1,134 @@
|
|
|
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 copy
|
|
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
|
+
from ._enums import *
|
|
17
|
+
|
|
18
|
+
__all__ = [
|
|
19
|
+
'AzureResourceManagerCommonTypesExtendedLocationArgs',
|
|
20
|
+
'AzureResourceManagerCommonTypesExtendedLocationArgsDict',
|
|
21
|
+
'KubernetesSecretObjectMappingArgs',
|
|
22
|
+
'KubernetesSecretObjectMappingArgsDict',
|
|
23
|
+
]
|
|
24
|
+
|
|
25
|
+
MYPY = False
|
|
26
|
+
|
|
27
|
+
if not MYPY:
|
|
28
|
+
class AzureResourceManagerCommonTypesExtendedLocationArgsDict(TypedDict):
|
|
29
|
+
"""
|
|
30
|
+
The complex type of the extended location.
|
|
31
|
+
"""
|
|
32
|
+
name: pulumi.Input[str]
|
|
33
|
+
"""
|
|
34
|
+
The name of the extended location.
|
|
35
|
+
"""
|
|
36
|
+
type: pulumi.Input[Union[str, 'ExtendedLocationType']]
|
|
37
|
+
"""
|
|
38
|
+
The type of the extended location.
|
|
39
|
+
"""
|
|
40
|
+
elif False:
|
|
41
|
+
AzureResourceManagerCommonTypesExtendedLocationArgsDict: TypeAlias = Mapping[str, Any]
|
|
42
|
+
|
|
43
|
+
@pulumi.input_type
|
|
44
|
+
class AzureResourceManagerCommonTypesExtendedLocationArgs:
|
|
45
|
+
def __init__(__self__, *,
|
|
46
|
+
name: pulumi.Input[str],
|
|
47
|
+
type: pulumi.Input[Union[str, 'ExtendedLocationType']]):
|
|
48
|
+
"""
|
|
49
|
+
The complex type of the extended location.
|
|
50
|
+
:param pulumi.Input[str] name: The name of the extended location.
|
|
51
|
+
:param pulumi.Input[Union[str, 'ExtendedLocationType']] type: The type of the extended location.
|
|
52
|
+
"""
|
|
53
|
+
pulumi.set(__self__, "name", name)
|
|
54
|
+
pulumi.set(__self__, "type", type)
|
|
55
|
+
|
|
56
|
+
@property
|
|
57
|
+
@pulumi.getter
|
|
58
|
+
def name(self) -> pulumi.Input[str]:
|
|
59
|
+
"""
|
|
60
|
+
The name of the extended location.
|
|
61
|
+
"""
|
|
62
|
+
return pulumi.get(self, "name")
|
|
63
|
+
|
|
64
|
+
@name.setter
|
|
65
|
+
def name(self, value: pulumi.Input[str]):
|
|
66
|
+
pulumi.set(self, "name", value)
|
|
67
|
+
|
|
68
|
+
@property
|
|
69
|
+
@pulumi.getter
|
|
70
|
+
def type(self) -> pulumi.Input[Union[str, 'ExtendedLocationType']]:
|
|
71
|
+
"""
|
|
72
|
+
The type of the extended location.
|
|
73
|
+
"""
|
|
74
|
+
return pulumi.get(self, "type")
|
|
75
|
+
|
|
76
|
+
@type.setter
|
|
77
|
+
def type(self, value: pulumi.Input[Union[str, 'ExtendedLocationType']]):
|
|
78
|
+
pulumi.set(self, "type", value)
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
if not MYPY:
|
|
82
|
+
class KubernetesSecretObjectMappingArgsDict(TypedDict):
|
|
83
|
+
"""
|
|
84
|
+
Properties defining the mapping between a cloud secret store object and a Kubernetes Secret.
|
|
85
|
+
"""
|
|
86
|
+
source_path: pulumi.Input[str]
|
|
87
|
+
"""
|
|
88
|
+
SourcePath is the identifier for the secret data as defined by the external secret provider. This is the key or path to the secret in the provider's system, which gets mounted to a specific path in the pod. The value should match the name of the secret as specified in the SecretProviderClass's objects array.
|
|
89
|
+
"""
|
|
90
|
+
target_key: pulumi.Input[str]
|
|
91
|
+
"""
|
|
92
|
+
TargetKey is the key in the Kubernetes secret's data field where the secret value will be stored. This key is used to reference the secret data within Kubernetes, and it should be unique within the secret.
|
|
93
|
+
"""
|
|
94
|
+
elif False:
|
|
95
|
+
KubernetesSecretObjectMappingArgsDict: TypeAlias = Mapping[str, Any]
|
|
96
|
+
|
|
97
|
+
@pulumi.input_type
|
|
98
|
+
class KubernetesSecretObjectMappingArgs:
|
|
99
|
+
def __init__(__self__, *,
|
|
100
|
+
source_path: pulumi.Input[str],
|
|
101
|
+
target_key: pulumi.Input[str]):
|
|
102
|
+
"""
|
|
103
|
+
Properties defining the mapping between a cloud secret store object and a Kubernetes Secret.
|
|
104
|
+
:param pulumi.Input[str] source_path: SourcePath is the identifier for the secret data as defined by the external secret provider. This is the key or path to the secret in the provider's system, which gets mounted to a specific path in the pod. The value should match the name of the secret as specified in the SecretProviderClass's objects array.
|
|
105
|
+
:param pulumi.Input[str] target_key: TargetKey is the key in the Kubernetes secret's data field where the secret value will be stored. This key is used to reference the secret data within Kubernetes, and it should be unique within the secret.
|
|
106
|
+
"""
|
|
107
|
+
pulumi.set(__self__, "source_path", source_path)
|
|
108
|
+
pulumi.set(__self__, "target_key", target_key)
|
|
109
|
+
|
|
110
|
+
@property
|
|
111
|
+
@pulumi.getter(name="sourcePath")
|
|
112
|
+
def source_path(self) -> pulumi.Input[str]:
|
|
113
|
+
"""
|
|
114
|
+
SourcePath is the identifier for the secret data as defined by the external secret provider. This is the key or path to the secret in the provider's system, which gets mounted to a specific path in the pod. The value should match the name of the secret as specified in the SecretProviderClass's objects array.
|
|
115
|
+
"""
|
|
116
|
+
return pulumi.get(self, "source_path")
|
|
117
|
+
|
|
118
|
+
@source_path.setter
|
|
119
|
+
def source_path(self, value: pulumi.Input[str]):
|
|
120
|
+
pulumi.set(self, "source_path", value)
|
|
121
|
+
|
|
122
|
+
@property
|
|
123
|
+
@pulumi.getter(name="targetKey")
|
|
124
|
+
def target_key(self) -> pulumi.Input[str]:
|
|
125
|
+
"""
|
|
126
|
+
TargetKey is the key in the Kubernetes secret's data field where the secret value will be stored. This key is used to reference the secret data within Kubernetes, and it should be unique within the secret.
|
|
127
|
+
"""
|
|
128
|
+
return pulumi.get(self, "target_key")
|
|
129
|
+
|
|
130
|
+
@target_key.setter
|
|
131
|
+
def target_key(self, value: pulumi.Input[str]):
|
|
132
|
+
pulumi.set(self, "target_key", value)
|
|
133
|
+
|
|
134
|
+
|
|
@@ -0,0 +1,389 @@
|
|
|
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 copy
|
|
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
|
+
from . import outputs
|
|
17
|
+
from ._enums import *
|
|
18
|
+
from ._inputs import *
|
|
19
|
+
|
|
20
|
+
__all__ = ['AzureKeyVaultSecretProviderClassArgs', 'AzureKeyVaultSecretProviderClass']
|
|
21
|
+
|
|
22
|
+
@pulumi.input_type
|
|
23
|
+
class AzureKeyVaultSecretProviderClassArgs:
|
|
24
|
+
def __init__(__self__, *,
|
|
25
|
+
client_id: pulumi.Input[str],
|
|
26
|
+
keyvault_name: pulumi.Input[str],
|
|
27
|
+
resource_group_name: pulumi.Input[str],
|
|
28
|
+
tenant_id: pulumi.Input[str],
|
|
29
|
+
azure_key_vault_secret_provider_class_name: Optional[pulumi.Input[str]] = None,
|
|
30
|
+
extended_location: Optional[pulumi.Input['AzureResourceManagerCommonTypesExtendedLocationArgs']] = None,
|
|
31
|
+
location: Optional[pulumi.Input[str]] = None,
|
|
32
|
+
objects: Optional[pulumi.Input[str]] = None,
|
|
33
|
+
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None):
|
|
34
|
+
"""
|
|
35
|
+
The set of arguments for constructing a AzureKeyVaultSecretProviderClass resource.
|
|
36
|
+
:param pulumi.Input[str] client_id: The user assigned managed identity client ID that should be used to access the Azure Key Vault.
|
|
37
|
+
:param pulumi.Input[str] keyvault_name: The name of the Azure Key Vault to sync secrets from.
|
|
38
|
+
:param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive.
|
|
39
|
+
:param pulumi.Input[str] tenant_id: The Azure Active Directory tenant ID that should be used for authenticating requests to the Azure Key Vault.
|
|
40
|
+
:param pulumi.Input[str] azure_key_vault_secret_provider_class_name: The name of the AzureKeyVaultSecretProviderClass
|
|
41
|
+
:param pulumi.Input['AzureResourceManagerCommonTypesExtendedLocationArgs'] extended_location: The complex type of the extended location.
|
|
42
|
+
:param pulumi.Input[str] location: The geo-location where the resource lives
|
|
43
|
+
:param pulumi.Input[str] objects: Objects defines the desired state of synced K8s secret objects
|
|
44
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags.
|
|
45
|
+
"""
|
|
46
|
+
pulumi.set(__self__, "client_id", client_id)
|
|
47
|
+
pulumi.set(__self__, "keyvault_name", keyvault_name)
|
|
48
|
+
pulumi.set(__self__, "resource_group_name", resource_group_name)
|
|
49
|
+
pulumi.set(__self__, "tenant_id", tenant_id)
|
|
50
|
+
if azure_key_vault_secret_provider_class_name is not None:
|
|
51
|
+
pulumi.set(__self__, "azure_key_vault_secret_provider_class_name", azure_key_vault_secret_provider_class_name)
|
|
52
|
+
if extended_location is not None:
|
|
53
|
+
pulumi.set(__self__, "extended_location", extended_location)
|
|
54
|
+
if location is not None:
|
|
55
|
+
pulumi.set(__self__, "location", location)
|
|
56
|
+
if objects is not None:
|
|
57
|
+
pulumi.set(__self__, "objects", objects)
|
|
58
|
+
if tags is not None:
|
|
59
|
+
pulumi.set(__self__, "tags", tags)
|
|
60
|
+
|
|
61
|
+
@property
|
|
62
|
+
@pulumi.getter(name="clientId")
|
|
63
|
+
def client_id(self) -> pulumi.Input[str]:
|
|
64
|
+
"""
|
|
65
|
+
The user assigned managed identity client ID that should be used to access the Azure Key Vault.
|
|
66
|
+
"""
|
|
67
|
+
return pulumi.get(self, "client_id")
|
|
68
|
+
|
|
69
|
+
@client_id.setter
|
|
70
|
+
def client_id(self, value: pulumi.Input[str]):
|
|
71
|
+
pulumi.set(self, "client_id", value)
|
|
72
|
+
|
|
73
|
+
@property
|
|
74
|
+
@pulumi.getter(name="keyvaultName")
|
|
75
|
+
def keyvault_name(self) -> pulumi.Input[str]:
|
|
76
|
+
"""
|
|
77
|
+
The name of the Azure Key Vault to sync secrets from.
|
|
78
|
+
"""
|
|
79
|
+
return pulumi.get(self, "keyvault_name")
|
|
80
|
+
|
|
81
|
+
@keyvault_name.setter
|
|
82
|
+
def keyvault_name(self, value: pulumi.Input[str]):
|
|
83
|
+
pulumi.set(self, "keyvault_name", value)
|
|
84
|
+
|
|
85
|
+
@property
|
|
86
|
+
@pulumi.getter(name="resourceGroupName")
|
|
87
|
+
def resource_group_name(self) -> pulumi.Input[str]:
|
|
88
|
+
"""
|
|
89
|
+
The name of the resource group. The name is case insensitive.
|
|
90
|
+
"""
|
|
91
|
+
return pulumi.get(self, "resource_group_name")
|
|
92
|
+
|
|
93
|
+
@resource_group_name.setter
|
|
94
|
+
def resource_group_name(self, value: pulumi.Input[str]):
|
|
95
|
+
pulumi.set(self, "resource_group_name", value)
|
|
96
|
+
|
|
97
|
+
@property
|
|
98
|
+
@pulumi.getter(name="tenantId")
|
|
99
|
+
def tenant_id(self) -> pulumi.Input[str]:
|
|
100
|
+
"""
|
|
101
|
+
The Azure Active Directory tenant ID that should be used for authenticating requests to the Azure Key Vault.
|
|
102
|
+
"""
|
|
103
|
+
return pulumi.get(self, "tenant_id")
|
|
104
|
+
|
|
105
|
+
@tenant_id.setter
|
|
106
|
+
def tenant_id(self, value: pulumi.Input[str]):
|
|
107
|
+
pulumi.set(self, "tenant_id", value)
|
|
108
|
+
|
|
109
|
+
@property
|
|
110
|
+
@pulumi.getter(name="azureKeyVaultSecretProviderClassName")
|
|
111
|
+
def azure_key_vault_secret_provider_class_name(self) -> Optional[pulumi.Input[str]]:
|
|
112
|
+
"""
|
|
113
|
+
The name of the AzureKeyVaultSecretProviderClass
|
|
114
|
+
"""
|
|
115
|
+
return pulumi.get(self, "azure_key_vault_secret_provider_class_name")
|
|
116
|
+
|
|
117
|
+
@azure_key_vault_secret_provider_class_name.setter
|
|
118
|
+
def azure_key_vault_secret_provider_class_name(self, value: Optional[pulumi.Input[str]]):
|
|
119
|
+
pulumi.set(self, "azure_key_vault_secret_provider_class_name", value)
|
|
120
|
+
|
|
121
|
+
@property
|
|
122
|
+
@pulumi.getter(name="extendedLocation")
|
|
123
|
+
def extended_location(self) -> Optional[pulumi.Input['AzureResourceManagerCommonTypesExtendedLocationArgs']]:
|
|
124
|
+
"""
|
|
125
|
+
The complex type of the extended location.
|
|
126
|
+
"""
|
|
127
|
+
return pulumi.get(self, "extended_location")
|
|
128
|
+
|
|
129
|
+
@extended_location.setter
|
|
130
|
+
def extended_location(self, value: Optional[pulumi.Input['AzureResourceManagerCommonTypesExtendedLocationArgs']]):
|
|
131
|
+
pulumi.set(self, "extended_location", value)
|
|
132
|
+
|
|
133
|
+
@property
|
|
134
|
+
@pulumi.getter
|
|
135
|
+
def location(self) -> Optional[pulumi.Input[str]]:
|
|
136
|
+
"""
|
|
137
|
+
The geo-location where the resource lives
|
|
138
|
+
"""
|
|
139
|
+
return pulumi.get(self, "location")
|
|
140
|
+
|
|
141
|
+
@location.setter
|
|
142
|
+
def location(self, value: Optional[pulumi.Input[str]]):
|
|
143
|
+
pulumi.set(self, "location", value)
|
|
144
|
+
|
|
145
|
+
@property
|
|
146
|
+
@pulumi.getter
|
|
147
|
+
def objects(self) -> Optional[pulumi.Input[str]]:
|
|
148
|
+
"""
|
|
149
|
+
Objects defines the desired state of synced K8s secret objects
|
|
150
|
+
"""
|
|
151
|
+
return pulumi.get(self, "objects")
|
|
152
|
+
|
|
153
|
+
@objects.setter
|
|
154
|
+
def objects(self, value: Optional[pulumi.Input[str]]):
|
|
155
|
+
pulumi.set(self, "objects", value)
|
|
156
|
+
|
|
157
|
+
@property
|
|
158
|
+
@pulumi.getter
|
|
159
|
+
def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
160
|
+
"""
|
|
161
|
+
Resource tags.
|
|
162
|
+
"""
|
|
163
|
+
return pulumi.get(self, "tags")
|
|
164
|
+
|
|
165
|
+
@tags.setter
|
|
166
|
+
def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
|
167
|
+
pulumi.set(self, "tags", value)
|
|
168
|
+
|
|
169
|
+
|
|
170
|
+
class AzureKeyVaultSecretProviderClass(pulumi.CustomResource):
|
|
171
|
+
@overload
|
|
172
|
+
def __init__(__self__,
|
|
173
|
+
resource_name: str,
|
|
174
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
175
|
+
azure_key_vault_secret_provider_class_name: Optional[pulumi.Input[str]] = None,
|
|
176
|
+
client_id: Optional[pulumi.Input[str]] = None,
|
|
177
|
+
extended_location: Optional[pulumi.Input[Union['AzureResourceManagerCommonTypesExtendedLocationArgs', 'AzureResourceManagerCommonTypesExtendedLocationArgsDict']]] = None,
|
|
178
|
+
keyvault_name: Optional[pulumi.Input[str]] = None,
|
|
179
|
+
location: Optional[pulumi.Input[str]] = None,
|
|
180
|
+
objects: Optional[pulumi.Input[str]] = None,
|
|
181
|
+
resource_group_name: Optional[pulumi.Input[str]] = None,
|
|
182
|
+
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
183
|
+
tenant_id: Optional[pulumi.Input[str]] = None,
|
|
184
|
+
__props__=None):
|
|
185
|
+
"""
|
|
186
|
+
The AzureKeyVaultSecretProviderClass resource.
|
|
187
|
+
Azure REST API version: 2024-08-21-preview.
|
|
188
|
+
|
|
189
|
+
:param str resource_name: The name of the resource.
|
|
190
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
191
|
+
:param pulumi.Input[str] azure_key_vault_secret_provider_class_name: The name of the AzureKeyVaultSecretProviderClass
|
|
192
|
+
:param pulumi.Input[str] client_id: The user assigned managed identity client ID that should be used to access the Azure Key Vault.
|
|
193
|
+
:param pulumi.Input[Union['AzureResourceManagerCommonTypesExtendedLocationArgs', 'AzureResourceManagerCommonTypesExtendedLocationArgsDict']] extended_location: The complex type of the extended location.
|
|
194
|
+
:param pulumi.Input[str] keyvault_name: The name of the Azure Key Vault to sync secrets from.
|
|
195
|
+
:param pulumi.Input[str] location: The geo-location where the resource lives
|
|
196
|
+
:param pulumi.Input[str] objects: Objects defines the desired state of synced K8s secret objects
|
|
197
|
+
:param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive.
|
|
198
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags.
|
|
199
|
+
:param pulumi.Input[str] tenant_id: The Azure Active Directory tenant ID that should be used for authenticating requests to the Azure Key Vault.
|
|
200
|
+
"""
|
|
201
|
+
...
|
|
202
|
+
@overload
|
|
203
|
+
def __init__(__self__,
|
|
204
|
+
resource_name: str,
|
|
205
|
+
args: AzureKeyVaultSecretProviderClassArgs,
|
|
206
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
|
207
|
+
"""
|
|
208
|
+
The AzureKeyVaultSecretProviderClass resource.
|
|
209
|
+
Azure REST API version: 2024-08-21-preview.
|
|
210
|
+
|
|
211
|
+
:param str resource_name: The name of the resource.
|
|
212
|
+
:param AzureKeyVaultSecretProviderClassArgs args: The arguments to use to populate this resource's properties.
|
|
213
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
214
|
+
"""
|
|
215
|
+
...
|
|
216
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
|
217
|
+
resource_args, opts = _utilities.get_resource_args_opts(AzureKeyVaultSecretProviderClassArgs, pulumi.ResourceOptions, *args, **kwargs)
|
|
218
|
+
if resource_args is not None:
|
|
219
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
|
220
|
+
else:
|
|
221
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
|
222
|
+
|
|
223
|
+
def _internal_init(__self__,
|
|
224
|
+
resource_name: str,
|
|
225
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
226
|
+
azure_key_vault_secret_provider_class_name: Optional[pulumi.Input[str]] = None,
|
|
227
|
+
client_id: Optional[pulumi.Input[str]] = None,
|
|
228
|
+
extended_location: Optional[pulumi.Input[Union['AzureResourceManagerCommonTypesExtendedLocationArgs', 'AzureResourceManagerCommonTypesExtendedLocationArgsDict']]] = None,
|
|
229
|
+
keyvault_name: Optional[pulumi.Input[str]] = None,
|
|
230
|
+
location: Optional[pulumi.Input[str]] = None,
|
|
231
|
+
objects: Optional[pulumi.Input[str]] = None,
|
|
232
|
+
resource_group_name: Optional[pulumi.Input[str]] = None,
|
|
233
|
+
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
234
|
+
tenant_id: Optional[pulumi.Input[str]] = None,
|
|
235
|
+
__props__=None):
|
|
236
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
237
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
|
238
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
|
239
|
+
if opts.id is None:
|
|
240
|
+
if __props__ is not None:
|
|
241
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
|
242
|
+
__props__ = AzureKeyVaultSecretProviderClassArgs.__new__(AzureKeyVaultSecretProviderClassArgs)
|
|
243
|
+
|
|
244
|
+
__props__.__dict__["azure_key_vault_secret_provider_class_name"] = azure_key_vault_secret_provider_class_name
|
|
245
|
+
if client_id is None and not opts.urn:
|
|
246
|
+
raise TypeError("Missing required property 'client_id'")
|
|
247
|
+
__props__.__dict__["client_id"] = client_id
|
|
248
|
+
__props__.__dict__["extended_location"] = extended_location
|
|
249
|
+
if keyvault_name is None and not opts.urn:
|
|
250
|
+
raise TypeError("Missing required property 'keyvault_name'")
|
|
251
|
+
__props__.__dict__["keyvault_name"] = keyvault_name
|
|
252
|
+
__props__.__dict__["location"] = location
|
|
253
|
+
__props__.__dict__["objects"] = objects
|
|
254
|
+
if resource_group_name is None and not opts.urn:
|
|
255
|
+
raise TypeError("Missing required property 'resource_group_name'")
|
|
256
|
+
__props__.__dict__["resource_group_name"] = resource_group_name
|
|
257
|
+
__props__.__dict__["tags"] = tags
|
|
258
|
+
if tenant_id is None and not opts.urn:
|
|
259
|
+
raise TypeError("Missing required property 'tenant_id'")
|
|
260
|
+
__props__.__dict__["tenant_id"] = tenant_id
|
|
261
|
+
__props__.__dict__["name"] = None
|
|
262
|
+
__props__.__dict__["provisioning_state"] = None
|
|
263
|
+
__props__.__dict__["system_data"] = None
|
|
264
|
+
__props__.__dict__["type"] = None
|
|
265
|
+
alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:secretsynccontroller/v20240821preview:AzureKeyVaultSecretProviderClass")])
|
|
266
|
+
opts = pulumi.ResourceOptions.merge(opts, alias_opts)
|
|
267
|
+
super(AzureKeyVaultSecretProviderClass, __self__).__init__(
|
|
268
|
+
'azure-native:secretsynccontroller:AzureKeyVaultSecretProviderClass',
|
|
269
|
+
resource_name,
|
|
270
|
+
__props__,
|
|
271
|
+
opts)
|
|
272
|
+
|
|
273
|
+
@staticmethod
|
|
274
|
+
def get(resource_name: str,
|
|
275
|
+
id: pulumi.Input[str],
|
|
276
|
+
opts: Optional[pulumi.ResourceOptions] = None) -> 'AzureKeyVaultSecretProviderClass':
|
|
277
|
+
"""
|
|
278
|
+
Get an existing AzureKeyVaultSecretProviderClass resource's state with the given name, id, and optional extra
|
|
279
|
+
properties used to qualify the lookup.
|
|
280
|
+
|
|
281
|
+
:param str resource_name: The unique name of the resulting resource.
|
|
282
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
283
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
284
|
+
"""
|
|
285
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
286
|
+
|
|
287
|
+
__props__ = AzureKeyVaultSecretProviderClassArgs.__new__(AzureKeyVaultSecretProviderClassArgs)
|
|
288
|
+
|
|
289
|
+
__props__.__dict__["client_id"] = None
|
|
290
|
+
__props__.__dict__["extended_location"] = None
|
|
291
|
+
__props__.__dict__["keyvault_name"] = None
|
|
292
|
+
__props__.__dict__["location"] = None
|
|
293
|
+
__props__.__dict__["name"] = None
|
|
294
|
+
__props__.__dict__["objects"] = None
|
|
295
|
+
__props__.__dict__["provisioning_state"] = None
|
|
296
|
+
__props__.__dict__["system_data"] = None
|
|
297
|
+
__props__.__dict__["tags"] = None
|
|
298
|
+
__props__.__dict__["tenant_id"] = None
|
|
299
|
+
__props__.__dict__["type"] = None
|
|
300
|
+
return AzureKeyVaultSecretProviderClass(resource_name, opts=opts, __props__=__props__)
|
|
301
|
+
|
|
302
|
+
@property
|
|
303
|
+
@pulumi.getter(name="clientId")
|
|
304
|
+
def client_id(self) -> pulumi.Output[str]:
|
|
305
|
+
"""
|
|
306
|
+
The user assigned managed identity client ID that should be used to access the Azure Key Vault.
|
|
307
|
+
"""
|
|
308
|
+
return pulumi.get(self, "client_id")
|
|
309
|
+
|
|
310
|
+
@property
|
|
311
|
+
@pulumi.getter(name="extendedLocation")
|
|
312
|
+
def extended_location(self) -> pulumi.Output[Optional['outputs.AzureResourceManagerCommonTypesExtendedLocationResponse']]:
|
|
313
|
+
"""
|
|
314
|
+
The complex type of the extended location.
|
|
315
|
+
"""
|
|
316
|
+
return pulumi.get(self, "extended_location")
|
|
317
|
+
|
|
318
|
+
@property
|
|
319
|
+
@pulumi.getter(name="keyvaultName")
|
|
320
|
+
def keyvault_name(self) -> pulumi.Output[str]:
|
|
321
|
+
"""
|
|
322
|
+
The name of the Azure Key Vault to sync secrets from.
|
|
323
|
+
"""
|
|
324
|
+
return pulumi.get(self, "keyvault_name")
|
|
325
|
+
|
|
326
|
+
@property
|
|
327
|
+
@pulumi.getter
|
|
328
|
+
def location(self) -> pulumi.Output[str]:
|
|
329
|
+
"""
|
|
330
|
+
The geo-location where the resource lives
|
|
331
|
+
"""
|
|
332
|
+
return pulumi.get(self, "location")
|
|
333
|
+
|
|
334
|
+
@property
|
|
335
|
+
@pulumi.getter
|
|
336
|
+
def name(self) -> pulumi.Output[str]:
|
|
337
|
+
"""
|
|
338
|
+
The name of the resource
|
|
339
|
+
"""
|
|
340
|
+
return pulumi.get(self, "name")
|
|
341
|
+
|
|
342
|
+
@property
|
|
343
|
+
@pulumi.getter
|
|
344
|
+
def objects(self) -> pulumi.Output[Optional[str]]:
|
|
345
|
+
"""
|
|
346
|
+
Objects defines the desired state of synced K8s secret objects
|
|
347
|
+
"""
|
|
348
|
+
return pulumi.get(self, "objects")
|
|
349
|
+
|
|
350
|
+
@property
|
|
351
|
+
@pulumi.getter(name="provisioningState")
|
|
352
|
+
def provisioning_state(self) -> pulumi.Output[str]:
|
|
353
|
+
"""
|
|
354
|
+
Provisioning state of the AzureKeyVaultSecretProviderClass instance.
|
|
355
|
+
"""
|
|
356
|
+
return pulumi.get(self, "provisioning_state")
|
|
357
|
+
|
|
358
|
+
@property
|
|
359
|
+
@pulumi.getter(name="systemData")
|
|
360
|
+
def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']:
|
|
361
|
+
"""
|
|
362
|
+
Azure Resource Manager metadata containing createdBy and modifiedBy information.
|
|
363
|
+
"""
|
|
364
|
+
return pulumi.get(self, "system_data")
|
|
365
|
+
|
|
366
|
+
@property
|
|
367
|
+
@pulumi.getter
|
|
368
|
+
def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
|
|
369
|
+
"""
|
|
370
|
+
Resource tags.
|
|
371
|
+
"""
|
|
372
|
+
return pulumi.get(self, "tags")
|
|
373
|
+
|
|
374
|
+
@property
|
|
375
|
+
@pulumi.getter(name="tenantId")
|
|
376
|
+
def tenant_id(self) -> pulumi.Output[str]:
|
|
377
|
+
"""
|
|
378
|
+
The Azure Active Directory tenant ID that should be used for authenticating requests to the Azure Key Vault.
|
|
379
|
+
"""
|
|
380
|
+
return pulumi.get(self, "tenant_id")
|
|
381
|
+
|
|
382
|
+
@property
|
|
383
|
+
@pulumi.getter
|
|
384
|
+
def type(self) -> pulumi.Output[str]:
|
|
385
|
+
"""
|
|
386
|
+
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
|
|
387
|
+
"""
|
|
388
|
+
return pulumi.get(self, "type")
|
|
389
|
+
|