Share via


ResourceCertificateDetails Class

Definition

Certificate details representing the Vault credentials. Please note ResourceCertificateDetails 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 ResourceCertificateAndAcsDetails and ResourceCertificateAndAadDetails.

public abstract class ResourceCertificateDetails
type ResourceCertificateDetails = class
Public MustInherit Class ResourceCertificateDetails
Inheritance
ResourceCertificateDetails
Derived

Constructors

ResourceCertificateDetails()

Initializes a new instance of ResourceCertificateDetails.

Properties

Certificate

The base64 encoded certificate raw data string.

FriendlyName

Certificate friendly name.

Issuer

Certificate issuer.

ResourceId

Resource ID of the vault.

Subject

Certificate Subject Name.

Thumbprint

Certificate thumbprint.

To assign an object to this property use FromObjectAsJson<T>(T, JsonSerializerOptions).

To assign an already formatted json string to this property use FromString(String).

Examples:

  • BinaryData.FromObjectAsJson("foo"): Creates a payload of "foo".
  • BinaryData.FromString("\"foo\""): Creates a payload of "foo".
  • BinaryData.FromObjectAsJson(new { key = "value" }): Creates a payload of { "key": "value" }.
  • BinaryData.FromString("{\"key\": \"value\"}"): Creates a payload of { "key": "value" }.

ValidEndOn

Certificate Validity End Date time.

ValidStartOn

Certificate Validity start Date time.

Applies to