• bizdelnick@lemmy.ml
    link
    fedilink
    arrow-up
    6
    arrow-down
    2
    ·
    7 days ago

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

    • PolarKraken@programming.dev
      link
      fedilink
      English
      arrow-up
      6
      ·
      6 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
        ·
        2 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.