• bizdelnick@lemmy.ml
    link
    fedilink
    arrow-up
    0
    arrow-down
    1
    ·
    10 days ago

    The best way to manage environment variables: don’t use environment variables.

    • PolarKraken@programming.dev
      link
      fedilink
      English
      arrow-up
      2
      ·
      10 days ago

      What do you do instead for dynamic values that are needed at runtime and inappropriate to check in to version control?

      • bizdelnick@lemmy.ml
        link
        fedilink
        arrow-up
        1
        ·
        5 days ago

        I’d rather prefer CI-level variables (macros?) that are not exported to the environment. Unfortunately, most CI developers don’t care about security.