Skip to content

Allow reading the connection string from a file #2069

Closed
@timja

Description

@timja

Is your feature request related to a problem? Please describe.
I would like to be able to separate the connection string information from the general configuration and not check it into source code as we have different instances of application insights for different environments

Describe the solution you would like
A environment variable and system property that point to the file to read just the Connection string information from

Describe alternatives you have considered

  • Currently I'm having to store the whole configuration in Azure Key Vault so that I can mount it as a file to be read by the application using the APPLICATIONINSIGHTS_CONFIGURATION_FILE override.

Additional context
This is in a container on AKS using the csi-secrets-store-driver

We're running in distroless containers with no shell so can't run an init script to hack around this

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions