Skip to content

feat: config.toml and secret management #6

@WieeRd

Description

@WieeRd

Thinking-in-Progress. Everything is subject to change.

What to Include

  • Command prefix
  • Color palette for embeds
  • Initial / extra cogs
  • Bot token
  • Database login
  • API keys

Secret Management Candidates

  • Raw value
  • Environment variable
  • Run command e.g. Bitwarden CLI
  • Separate secrets.toml
    • Could use Sops in this case

Schema

prefix = ["%", ""]

[palette]
info = 0x0000FF
warn = 0x00FF00
error = 0xFF0000

[token]
env = "BOT_TOKEN"

Tasks

  • Choose secret management method
  • Design TOML schema
  • Implement config.py

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

Status

Ready

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions