Share via


Connection.Credentials Property

Definition

The credentials used by the connection Please note BaseCredentials is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include EntraIDCredentials, ApiKeyCredentials, CustomCredential, NoAuthenticationCredentials and SASCredentials.

public Azure.AI.Projects.BaseCredentials Credentials { get; }
member this.Credentials : Azure.AI.Projects.BaseCredentials
Public ReadOnly Property Credentials As BaseCredentials

Property Value

Applies to