René's URL Explorer Experiment


Title: Access profiles for SSH keys: an observer, operator and deploy user instead of root · Issue #195 · cloudfall-dev/cloudfall · GitHub

Open Graph Title: Access profiles for SSH keys: an observer, operator and deploy user instead of root · Issue #195 · cloudfall-dev/cloudfall

X Title: Access profiles for SSH keys: an observer, operator and deploy user instead of root · Issue #195 · cloudfall-dev/cloudfall

Description: Problem Every key Cloudfall installs is a root key. The baseline writes each SshPublicKey of an environment into root's authorized_keys, so a runner, an operator and an agent all log in as root, as the isolation decision already notes (d...

Open Graph Description: Problem Every key Cloudfall installs is a root key. The baseline writes each SshPublicKey of an environment into root's authorized_keys, so a runner, an operator and an agent all log in as root, as...

X Description: Problem Every key Cloudfall installs is a root key. The baseline writes each SshPublicKey of an environment into root's authorized_keys, so a runner, an operator and an agent all log in as root...

Opengraph URL: https://github.com/cloudfall-dev/cloudfall/issues/195

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.4


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Access profiles for SSH keys: an observer, operator and deploy user instead of root","articleBody":"## Problem\n\nEvery key Cloudfall installs is a root key. The baseline writes each `SshPublicKey` of an environment into root's `authorized_keys`, so a runner, an operator and an agent all log in as root, as the isolation decision already notes (`docs/decisions/2026-11-02-isolation-without-containers.md`, \"Where Cloudfall is today\"). The same decision says deploys should \"log in as a dedicated user with sudo limited to the commands a deploy runs\", but nothing builds that yet.\n\nThis matters most for agents (G-1: \"operated from one management host by an agent\"). Most of what an agent does on a host needs no root: reading logs, checking `systemctl status`, versions and disks, restarting a component. As root, though, it can also read every component's `EnvironmentFile=`. In a real fleet this month, two agent sessions doing read-only checks printed two service passwords into their transcripts. A rule (\"never read a secret\") and a hook on command text could not stop it, because a program the agent runs on the host can always open the file. Only Linux permissions can.\n\n## Proposal\n\nAccess profiles on `SshPublicKey`, installed by the baseline, with sudoers generated from what the environment declares:\n\n- `SshPublicKey` gains `user` and `access`, with `root` kept only as an explicit value for break-glass keys\n- Profiles:\n  - `observer`: groups `systemd-journal` and `adm`; status, logs, versions; no sudo\n  - `operator`: `observer`, plus `sudo` on `systemctl restart|reload|status` of each declared component's unit, by exact unit name\n  - `deploy`: the commands the deploy playbook runs, as the isolation decision describes\n- The baseline creates the user, installs the key for it, and writes one `/etc/sudoers.d/cloudfall-\u003cuser>` file, validated with `visudo -cf` before it is moved into place\n- The rules are exact commands with no wildcards (a `systemctl * \u003cunit>` rule allows `systemctl edit`, which is a root shell), run with `--no-pager` so no pager can drop into a shell, and include no `sudo -u \u003ccomponent user>` (a shell as the component's user can read its `EnvironmentFile=`)\n- Component env files stay `0600` and owned by the component's user, so no profile but `root` can read them\n- `cloudfall audit` reports any non-break-glass key found in root's `authorized_keys` as drift\n- Read-only database access for agents: for the PostgreSQL that Cloudfall manages (S-006), an optional read-only role per environment (`pg_read_all_data` or per-database `SELECT`) with its password in the secrets store, so an agent queries with its own login and never with an application's. Databases that Cloudfall doesn't manage stay out of scope\n\nProof: on a proving host, an `observer` key can run `journalctl -u \u003ccomponent>` and cannot read the component's env file; an `operator` key can restart a declared component and cannot restart an undeclared unit or run `systemctl edit`; a `deploy` key can run a deploy end to end; `audit` flags a stray root key.\n\n## Alternatives\n\nToday the operator hand-makes a user and a sudoers file on each host, outside Cloudfall's inventory, so the baseline doesn't know about it and drift goes unseen. Or agents keep root and the fleet relies on the agent following rules about which files it opens, which failed twice in one day.\n\n\u003c!-- shipmill:agent -->","author":{"url":"https://github.com/apps/shipmill-romamo","@type":"Person","name":"shipmill-romamo"},"datePublished":"2026-11-04T06:56:38Z","url":"https://github.com/cloudfall-dev/cloudfall/issues/195"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:6219f27e-5a28-f135-abc4-6ee8c3075fd1
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idEB74:31EE77:3A03F8B:4C80A54:6B059BDA
html-safe-nonce6e1cdbdbea5fa074cb8a25315acee3edac1f6c91d76aef40812386893cd145ec
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQjc0OjMxRUU3NzozQTAzRjhCOjRDODBBNTQ6NkIwNTlCREEiLCJ2aXNpdG9yX2lkIjoiODQwMjU2NTA5MDcyOTM2ODUzOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmaccaf04332c04bbcf678daac2a2e4f0c905e9264e97a25f17a862df7a3b511e17a
hovercard-subject-tagissue:6197984968
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/cloudfall-dev/cloudfall/195/issue_layout
twitter:imagehttps://opengraph.githubassets.com/c15716709e493fa19957c0cf7758513389825a9d424468f66f9aec432995b70f/cloudfall-dev/cloudfall/issues/195
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/c15716709e493fa19957c0cf7758513389825a9d424468f66f9aec432995b70f/cloudfall-dev/cloudfall/issues/195
og:image:altProblem Every key Cloudfall installs is a root key. The baseline writes each SshPublicKey of an environment into root's authorized_keys, so a runner, an operator and an agent all log in as root, as...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameshipmill-romamo[bot]
hostnamegithub.com
expected-hostnamegithub.com
None8bd54b96ae4db60ce608a145a6b2fb16216749fbdb431d9879aabfa7459f1139
turbo-cache-controlno-preview
go-importgithub.com/cloudfall-dev/cloudfall git https://github.com/cloudfall-dev/cloudfall.git
octolytics-dimension-user_id339512759
octolytics-dimension-user_logincloudfall-dev
octolytics-dimension-repository_id1360999777
octolytics-dimension-repository_nwocloudfall-dev/cloudfall
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1360999777
octolytics-dimension-repository_network_root_nwocloudfall-dev/cloudfall
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasecda4791073b4da3005eb3d470dc0aef3956bbe34
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/cloudfall-dev/cloudfall/issues/195#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcloudfall-dev%2Fcloudfall%2Fissues%2F195
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcloudfall-dev%2Fcloudfall%2Fissues%2F195
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=cloudfall-dev%2Fcloudfall
Reloadhttps://github.com/cloudfall-dev/cloudfall/issues/195
Reloadhttps://github.com/cloudfall-dev/cloudfall/issues/195
Reloadhttps://github.com/cloudfall-dev/cloudfall/issues/195
cloudfall-devhttps://github.com/cloudfall-dev
cloudfallhttps://github.com/cloudfall-dev/cloudfall
Codehttps://github.com/cloudfall-dev/cloudfall
Issues76 (76)https://github.com/cloudfall-dev/cloudfall/issues
Pull requests10 (10)https://github.com/cloudfall-dev/cloudfall/pulls
Discussionshttps://github.com/cloudfall-dev/cloudfall/discussions
Actionshttps://github.com/cloudfall-dev/cloudfall/actions
Security and qualityhttps://github.com/cloudfall-dev/cloudfall/security
Insightshttps://github.com/cloudfall-dev/cloudfall/insights
https://github.com/cloudfall-dev/cloudfall
New issuehttps://github.com/login?return_to=https://github.com/cloudfall-dev/cloudfall/issues/195
New issuehttps://github.com/login?return_to=https://github.com/cloudfall-dev/cloudfall/issues/195
Access profiles for SSH keys: an observer, operator and deploy user instead of roothttps://github.com/cloudfall-dev/cloudfall/issues/195#top
enhancementhttps://github.com/cloudfall-dev/cloudfall/issues?q=state%3Aopen%20label%3A%22enhancement%22
https://github.com/apps/shipmill-romamo
shipmill-romamohttps://github.com/apps/shipmill-romamo
on Nov 4, 2026https://github.com/cloudfall-dev/cloudfall/issues/195#issue-6197984968
shipmill-romamohttps://github.com/apps/shipmill-romamo
enhancementhttps://github.com/cloudfall-dev/cloudfall/issues?q=state%3Aopen%20label%3A%22enhancement%22
on Nov 4, 2026https://github.com/cloudfall-dev/cloudfall/issues/195#event-35101962336
https://github.com/apps/shipmill-romamo
shipmill-romamohttps://github.com/apps/shipmill-romamo
on Nov 4, 2026https://github.com/cloudfall-dev/cloudfall/issues/195#issuecomment-6624953509
shipmill-romamohttps://github.com/shipmill/shipmill
https://github.com/apps/shipmill-romamo
shipmill-romamohttps://github.com/apps/shipmill-romamo
on Nov 19, 2026https://github.com/cloudfall-dev/cloudfall/issues/195#issuecomment-7019929630
shipmill-romamohttps://github.com/shipmill/shipmill
#556https://github.com/cloudfall-dev/cloudfall/issues/556
Sign up for freehttps://github.com/signup?return_to=https://github.com/cloudfall-dev/cloudfall/issues/195
Sign in to commenthttps://github.com/login?return_to=https://github.com/cloudfall-dev/cloudfall/issues/195
enhancementhttps://github.com/cloudfall-dev/cloudfall/issues?q=state%3Aopen%20label%3A%22enhancement%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.