Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-14907

Support to Configure Azure Storage Key via Environment Variable

    XMLWordPrintableJSON

Details

    Description

      From a security perspective it would often be preferable pass the Azure storage key via an env to the Flink Azure filesystem. Currently we only support to set it in the Flink configuration [1].

      The least intrusive way, I think, would be to include a very simple org.apache.hadoop.fs.azure.KeyProvider to flink-azure-fs-hadoop, which reads the account key from an env variable called AZURE_STORAGE_KEY.

      It could then be enabled in the flink-conf.yaml via:

      fs.azure.account.keyprovider.<account_name>.blob.core.windows.net: org.apache.flink.fs.azurefs.<NewProviderClass>

      [1] https://ci.apache.org/projects/flink/flink-docs-release-1.9/ops/filesystems/azure.html

      Attachments

        Issue Links

          Activity

            People

              knaufk Konstantin Knauf
              knaufk Konstantin Knauf
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m