E

Inquiry about .secret file usage

Summary

The user is inquiring about the possibility of using a .secret file to replicate the behavior of omitting the NEW_RELIC_API_KEY value in the CLI, which reads from local environment variables. They want to list the keys as empty for Earthly to read the environment variables. The response suggests that this feature may not currently exist, but encourages the user to create a GitHub issue to request it, as it may gain support from others.

Status
open
Tags
    Source
    #earthly
      b

      brandon

      10/8/2024

      I don't think we have a feature like that, but feel free to create an issue on Github to request it. Perhaps others will upvote it.

      j

      jf

      10/7/2024

      from the CLI, if using --secret NEW_RELIC_API_KEY omit the value, it reads the local environment variable. is there a way to replicate this behaviour with .secret ? i'd like to list them in there as empty and have earthly read the environment variables