Skip to content

codex does not respect .env on Mac #41

Closed

Description

@vessenes

carrying around API keys in the terminal environment isn't the best; dumping them on the command line history is definitely terrible.

Right now codex doesn't use dotenv to look for a key, and I think it should! Today I have to put into my bash history "export OPENAI_API_KEY=..." or automatically put all my various provider keys into every terminal's environment variables -- neither is great.

Activity

  1. tibo-openai commented on Apr 16, 2025

    @tibo-openai
    Collaborator

    Dupe of #9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions