Skip to content

[Question] What is best way to pass password and secrets to runtime #1528

@IlfirinPL

Description

@IlfirinPL

Currently, variables and environment variables are stored in the robot.toml file, which is kept in the Git repository. This poses a significant risk if any passwords or secrets are accidentally committed.

A safer approach is to separate secrets from the main configuration by:

  • Creating a file such as robot.toml.local that contains environment variables and passwords.
  • Adding this file to .gitignore so it is not tracked by Git and does not get committed to the repository.
  • Configuring the application to load or override settings from robot.toml.local during runtime.

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