Having dozens of accounts and their relations require convenient management to keep them updated. Updating is manual ,therefore, the utility is auxiliary.
The article demonstrating a real usage.
Accounts are toml
files that contain sensitive data where every file can refer to any other type of one by reference
keyword.
- Checking file existence and out of scope cases.
- Visualizing the references graph and errors.
Demo account files and with references and an error.
$ tree secrets
secrets
├── acc-bank.toml
├── acc-mail.toml
└── cert.pem
acc-bank.toml
login = "login"
password = "pass"
references = ["acc-mail.toml", "nonexistent.txt"]
acc-mail.toml
user = "user"
reference = "cert.pem"
Run checking and creating a plot.
$ python3 references.py create-plot --layout "kamada kawai" --relations --emphasize --names --dpi 400 --output-file demo.png accounts-folder
- Add per node subplots image colored in chess board way