Share via


SecretSyncUpdateProperties Class

Definition

The updatable properties of the SecretSync.

public class SecretSyncUpdateProperties : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.SecretsStoreExtension.Models.SecretSyncUpdateProperties>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.SecretsStoreExtension.Models.SecretSyncUpdateProperties>
type SecretSyncUpdateProperties = class
    interface IJsonModel<SecretSyncUpdateProperties>
    interface IPersistableModel<SecretSyncUpdateProperties>
Public Class SecretSyncUpdateProperties
Implements IJsonModel(Of SecretSyncUpdateProperties), IPersistableModel(Of SecretSyncUpdateProperties)
Inheritance
SecretSyncUpdateProperties
Implements

Constructors

SecretSyncUpdateProperties()

Initializes a new instance of SecretSyncUpdateProperties.

Properties

ForceSynchronization

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.

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.

ObjectSecretMapping

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.

SecretProviderClassName

SecretProviderClassName specifies the name of the SecretProviderClass resource, which contains the information needed to access the cloud provider secret store.

ServiceAccountName

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.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<SecretSyncUpdateProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<SecretSyncUpdateProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SecretSyncUpdateProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SecretSyncUpdateProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<SecretSyncUpdateProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to