Share via


SecretSyncProperties Class

Definition

The properties of the SecretSync instance.

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

Constructors

SecretSyncProperties(String, String, KubernetesSecretType, IEnumerable<KubernetesSecretObjectMapping>)

Initializes a new instance of SecretSyncProperties.

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.

ProvisioningState

Provisioning state of the SecretSync instance.

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.

Status

SecretSyncStatus defines the observed state of the secret synchronization process.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<SecretSyncProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<SecretSyncProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SecretSyncProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SecretSyncProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<SecretSyncProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to