Skip to content
DocsTry Aspire
DocsTry

AzureKeyVaultSecretResource Constructors

ClassConstructors1 member
Represents an Azure Key Vault Secret. Initializes a new instance of the AzureKeyVaultSecretResource class.
Constructor(string, string, AzureKeyVaultResource, object)Section titled Constructor(string, string, AzureKeyVaultResource, object)
Represents an Azure Key Vault Secret. Initializes a new instance of the AzureKeyVaultSecretResource class.
public class AzureKeyVaultSecretResource
{
public AzureKeyVaultSecretResource(
string name,
string secretName,
AzureKeyVaultResource parent,
object value)
{
// ...
}
}
namestring
secretNamestring
valueobject
Use AzureProvisioningResourceExtensions.ConfigureInfrastructure to configure specific Azure.Provisioning properties.