Language

IdentityBindingAllowedSubject Class

Definition

A subject authorized to use the identity binding for token exchange. The namespace selector is required and must be non-empty. The service account selector is optional; when omitted, all service accounts in matching namespaces are authorized. Selectors within a single AllowedSubject are AND'd; multiple AllowedSubjects on an identity binding profile are OR'd.

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

Constructors

Name Description
IdentityBindingAllowedSubject(IdentityBindingLabelSelector)

Initializes a new instance of IdentityBindingAllowedSubject.

Properties

Name Description
NamespaceSelector

Label selector matching the namespaces in which this identity may be used. Must be non-empty: an empty selector would match every namespace and is rejected to prevent overly permissive bindings. Use the built-in kubernetes.io/metadata.name label to target specific namespaces by name.

ServiceAccountSelector

Optional label selector matching the service accounts (within the namespaces matched by namespaceSelector) that may use this identity. When omitted, all service accounts in matching namespaces are authorized. When provided, it must be non-empty.

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<IdentityBindingAllowedSubject>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<IdentityBindingAllowedSubject>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IPersistableModel<IdentityBindingAllowedSubject>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<IdentityBindingAllowedSubject>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<IdentityBindingAllowedSubject>.Write(ModelReaderWriterOptions)

Applies to