Skip to content

Open-source eCommerce platform for C# and ASP.NET Core 10 with MongoDB. Build multi-store shops and multi-vendor marketplaces with B2B/B2C, REST API, plugins, Vue 3 and Docker.

1.5 KB
Raw Blame
namespace Grand.Infrastructure.Configuration;

public class AzureConfig
{
    /// <summary>
    ///     Connection string for Azure BLOB storage
    /// </summary>
    public string AzureBlobStorageConnectionString { get; set; }

    /// <summary>
    ///     Container name for Azure BLOB storage
    /// </summary>
    public string AzureBlobStorageContainerName { get; set; }

    /// <summary>
    ///     End point for Azure BLOB storage
    /// </summary>
    public string AzureBlobStorageEndPoint { get; set; }


    /// <summary>
    ///     Connection string for PersistKeys Azure BLOB storage
    /// </summary>
    public string PersistKeysAzureBlobStorageConnectionString { get; set; }

    /// <summary>
    ///     Indicates whether we should use Azure Key Vault to store data protection keys
    /// </summary>
    public bool PersistKeysToAzureKeyVault { get; set; }

    /// <summary>
    ///     Indicates whether we should use Azure blob storage to store data protection
    /// </summary>
    public bool PersistKeysToAzureBlobStorage { get; set; }

    /// <summary>
    ///     Azure blob storage container name
    /// </summary>
    public string DataProtectionContainerName { get; set; }

    /// <summary>
    ///     Azure blob storage blob name
    /// </summary>
    public string DataProtectionBlobName { get; set; }

    /// <summary>
    ///     The keyIdentifier is the key vault key identifier used for key encryption.
    /// </summary>
    public string KeyIdentifier { get; set; }
}