Skip to content

Read username and password from environment variables #23240

@olli-acterglobal

Description

@olli-acterglobal

Summary

Let us specify MATOMO_SUPERUSER_USERNAME and MATOMO_SUPERUSER_PASSWORD as environment variable, and let it pre-fill the setup wizard, like we can database settings.

Justification

I am writing an ansible role that automatically provisions matomo.
Since ansible has facilities to securely store passwords, it would be convenient to be able to pass the password through an environment variable.
There exists a plugin, but I'd rather just rely on the official featureset here.

Related issues

#10914
#13676

Metadata

Metadata

Assignees

No one assigned

    Labels

    EnhancementFor new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.triaged

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions