ArmSecretsStoreExtensionModelFactory.SecretSyncProperties Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of SecretSyncProperties.
public static Azure.ResourceManager.SecretsStoreExtension.Models.SecretSyncProperties SecretSyncProperties(string secretProviderClassName = default, string serviceAccountName = default, Azure.ResourceManager.SecretsStoreExtension.Models.KubernetesSecretType kubernetesSecretType = default, string forceSynchronization = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.SecretsStoreExtension.Models.KubernetesSecretObjectMapping> objectSecretMapping = default, Azure.ResourceManager.SecretsStoreExtension.Models.SecretSyncStatus status = default, Azure.ResourceManager.SecretsStoreExtension.Models.SecretsStoreExtensionProvisioningState? provisioningState = default);
static member SecretSyncProperties : string * string * Azure.ResourceManager.SecretsStoreExtension.Models.KubernetesSecretType * string * seq<Azure.ResourceManager.SecretsStoreExtension.Models.KubernetesSecretObjectMapping> * Azure.ResourceManager.SecretsStoreExtension.Models.SecretSyncStatus * Nullable<Azure.ResourceManager.SecretsStoreExtension.Models.SecretsStoreExtensionProvisioningState> -> Azure.ResourceManager.SecretsStoreExtension.Models.SecretSyncProperties
Public Shared Function SecretSyncProperties (Optional secretProviderClassName As String = Nothing, Optional serviceAccountName As String = Nothing, Optional kubernetesSecretType As KubernetesSecretType = Nothing, Optional forceSynchronization As String = Nothing, Optional objectSecretMapping As IEnumerable(Of KubernetesSecretObjectMapping) = Nothing, Optional status As SecretSyncStatus = Nothing, Optional provisioningState As Nullable(Of SecretsStoreExtensionProvisioningState) = Nothing) As SecretSyncProperties
Parameters
- secretProviderClassName
- String
SecretProviderClassName specifies the name of the SecretProviderClass resource, which contains the information needed to access the cloud provider secret store.
- serviceAccountName
- String
ServiceAccountName specifies the name of the service account used to access the cloud provider secret store. The audience field in the service account token must be passed as parameter in the controller configuration. The audience is used when requesting a token from the API server for the service account; the supported audiences are defined by each provider.
- kubernetesSecretType
- KubernetesSecretType
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.
- forceSynchronization
- String
ForceSynchronization can be used to force the secret synchronization. The secret synchronization is triggered by changing the value in this field. This field is not used to resolve synchronization conflicts.
- objectSecretMapping
- IEnumerable<KubernetesSecretObjectMapping>
An array of SecretObjectData that maps secret data from the external secret provider to the Kubernetes secret. Each entry specifies the source secret in the external provider and the corresponding key in the Kubernetes secret.
- status
- SecretSyncStatus
SecretSyncStatus defines the observed state of the secret synchronization process.
- provisioningState
- Nullable<SecretsStoreExtensionProvisioningState>
Provisioning state of the SecretSync instance.
Returns
A new SecretSyncProperties instance for mocking.