8000 [Job Submission] Support env file input in ray.runtime_env.RuntimeEnv · Issue #28453 · ray-project/ray · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
[Job Submission] Support env file input in ray.runtime_env.RuntimeEnv  #28453
Open
@hanli-0612

Description

@hanli-0612

Description

In ray.runtime_env.RuntimeEnv environmental variables are passed to ray head node as a dictionary. It may cause security concerns if there's secret key-value in the dict. We are requesting for a feature support to pass a .env file as part of RuntimeEnv. The job submission request will look like: "ray job submit --runtime-env-json '{"working_dir": "./", "env_file": $PATH_TO_ENV_FILE }' -- $COMMAND"

Use case

Pass env file to address security concerns of passing env vars directly as a dict

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issue, but not time-criticalcoreIssues that should be addressed in Ray Corecore-runtime-envIssues related to Ray environment dependenciesenhancementRequest for new feature and/or capabilitypending-cleanupThis issue is pending cleanup. It will be removed in 2 weeks after being assigned.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0