microsoft / azure-container-apps

Roadmap and issues for Azure Container Apps
MIT License
374 stars 29 forks source link

Dapr .Net BulkStore issues #645

Open BC89 opened 1 year ago

BC89 commented 1 year ago

Should bulksecrets request be working in container apps?

Using the latest dapr and the code works in my dev container enviroment but not when deployed. Errors out with the following:

at Dapr.Extensions.Configuration.DaprSecretStoreConfigurationExtensions.AddDaprSecretStore(IConfigurationBuilder configurationBuilder, String store, DaprClient client, IReadOnlyDictionary2 metada at Dapr.Client.DaprClientGrpc.WaitForSidecarAsync(CancellationToken cancellationToken) `

public static class DependencyInjection
{
    public static IServiceCollection AddInfrastructure(this IServiceCollection services, ConfigurationManager configuration)
    {
        var secrets = configuration.GetValue<string>("secretstorename");
        _ = configuration.AddDaprSecretStore(secrets!, new DaprClientBuilder().Build().CreateInvokeHttpClient(), TimeSpan.FromSeconds(20));

        services.AddDaprClient();

Thanks!

BlackRider97 commented 5 months ago

@BC89 Which secret store you are using? We only support and recommend using Azure Key Vault secret store for ACA. However, you can also run other 3P secret store as long you have connected with right authN and networking access. Few secret stores are explicitly disabled for security reasons.

image

microsoft-github-policy-service[bot] commented 1 week ago

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment.