RFD 64: Bot for certificate renewals (Machine ID) (#7986)
RFD 64: Bot for certificate renewals (Machine ID) (#7986)

* First draft RFD for cert renewal bot

* wip

* Update design with more implementation details

* Add roles to tctl bots ls output

* Added details from findings with the cert bot dev demo

 * Detailed new UX with config file fallback for complex cases
 * Added significantly more detail on how + why we'll use
   impersonation
 * Detailed plans for preventing certificate propagation
 * Added several notes on security plans (and several unsolved
   issues)
 * Updated several TODOs
 * Added more TODOs than removed, oops

* Clarify artifacts (replaces modes). Add notes on reload notifications.

* A few last tweaks before sending off for discussion

* First batch of review feedback

* Address RFD feedback

* standardize on `destinations`
* use only directory destinations on the CLI, remove unneeded section
  on CLI syntax
* only generate one type of cert by default, allow generating both
* document new config assistant approach (auto templates + helper CLI)
* document memory-only storage backend
* add detail to config example
* use `/var/lib/teleport/bot` instead of `/var/lib/tbot`
* mostly remove discussion of webhooks and k8s secrets (still
  referenced in a "future ideas" section)
* several wording improvements

* Address feedback and resolve some TODOs

* Document plans on ACL use (`tbot init`)
* Clarify plans on automatic bot locking on cert generation conflict
* Add notes about EC2 identity documents in the future
* Add note on disallow-reissue
* Simplify plan for reload events (FS watch only + `tbot watch`
  helper)
* Remove Bot resource
* Use only gRPC endpoints

* Add notes on SIGTERM handling and bot locking

Also, remove "API Client Refresh" section

* Add internal change summary appendix, address review feedback

* Additional pass of updates

Aiming for merge readiness.

* Update rfd/0056-bot-for-cert-renewals.md

Co-authored-by: Ben Arent <73675debcd8a436be48ec22211dcf44fe0df0a64@goteleport.com>

* Rename to RFD 64

Co-authored-by: Tim Buckley <5ee0edb9e2229c0838f1959779f1949031de0123@goteleport.com>
Co-authored-by: Ben Arent <73675debcd8a436be48ec22211dcf44fe0df0a64@goteleport.com>
gravitational/teleport,gravitational/teleport,gravitational/teleport,gravitational/teleport,gravitational/teleport,gravitational/teleport