Skip to content
API Reference

keycard-upsert-config

Set or change a field in keycard.toml — reads the current value and writes a targeted update.

Set or change a field in keycard.toml — reads the current value and writes a targeted update.

Use this skill when:

  • You want to set or change a field in keycard.toml
  • You want to add or update a credentials entry

Do not use this skill for Cedar policy rules (use keycard-query-policy), to inspect what credentials are active in the current session (use keycard-credentials), or for read-only field questions where you don’t intend to write.

[what to change, e.g. 'set my zone to dev-123' or 'add a GitHub credential entry for GITHUB_TOKEN']

  • “Set my zone to dev-abc123”
  • “Add a GitHub credential entry for GITHUB_TOKEN”
  • “Update the management API URL”