ArmSecretsStoreExtensionModelFactory.SecretSyncUpdateProperties Method

Definition

The updatable properties of the SecretSync.

public static Azure.ResourceManager.SecretsStoreExtension.Models.SecretSyncUpdateProperties SecretSyncUpdateProperties(string secretProviderClassName = default, string serviceAccountName = default, string forceSynchronization = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.SecretsStoreExtension.Models.KubernetesSecretObjectMapping> objectSecretMapping = default);
static member SecretSyncUpdateProperties : string * string * string * seq<Azure.ResourceManager.SecretsStoreExtension.Models.KubernetesSecretObjectMapping> -> Azure.ResourceManager.SecretsStoreExtension.Models.SecretSyncUpdateProperties
Public Shared Function SecretSyncUpdateProperties (Optional secretProviderClassName As String = Nothing, Optional serviceAccountName As String = Nothing, Optional forceSynchronization As String = Nothing, Optional objectSecretMapping As IEnumerable(Of KubernetesSecretObjectMapping) = Nothing) As SecretSyncUpdateProperties

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.

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.

Returns

A new SecretSyncUpdateProperties instance for mocking.

Applies to