CredentialDescription.CredentialType Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Describes the type of credentials, based on the SourceType.
public Microsoft.Identity.Abstractions.CredentialType CredentialType { get; }
member this.CredentialType : Microsoft.Identity.Abstractions.CredentialType
Public ReadOnly Property CredentialType As CredentialType
Property Value
Remarks
Returns:
- Certificate: when SourceType is Certificate, you will use this property to provide the certificate yourself. When SourceType is Base64Encoded or KeyVault or Path or StoreWithDistinguishedName or StoreWithThumbprint
- Secret: when SourceType is ClientSecret.
- SignedAssertion: when SourceType is SignedAssertionFilePath or SignedAssertionFromManagedIdentity or SignedAssertionFromVault.
- DecryptKeys: when SourceType is AutoDecryptKeys.