Skip to content

Support --env-db-password=DB_PASSWORD #24

@adamziel

Description

@adamziel

Including database credentials in the CLI command is risky in that anyone with ps access may read them. Let's support import.php CLI flags to point the script to specific ENV variables holding the database username, host, password, etc. They would be alternatives to --db-* flags, so there would be --db-password=password and an alternative flag --env-db-password=DB_PASSWORD that would source the password from the DB_PASSWORD env variable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions