feat(access): authorize OpenClaw endpoint - #43
Open
xnoto wants to merge 3 commits into
Open
Conversation
Contributor
OpenTofu TestOpenTofu test passed. View run output |
Contributor
OpenTofu PlanOpenTofu plan passed. View run outputOpenTofu will perform the following actions:
# cloudflare_zero_trust_access_application.openclaw will be created
+ resource "cloudflare_zero_trust_access_application" "openclaw" {
+ account_id = (sensitive value)
+ allowed_idps = [
+ "e584ea47-1251-4939-95f4-4daf4a58cd31",
]
+ app_launcher_visible = true
+ aud = (known after apply)
+ destinations = (known after apply)
+ domain = "openclaw.makeitwork.cloud"
+ http_only_cookie_attribute = true
+ id = (known after apply)
+ name = "OpenClaw"
+ policies = [
+ {
+ decision = "allow"
+ include = [
+ {
+ group = {
+ id = "e0d9e873-31d7-4536-9234-3dad8a99d84d"
}
},
]
+ name = "makeitworkcloud-admins"
+ precedence = 1
},
]
+ self_hosted_domains = (known after apply)
+ session_duration = "24h"
+ type = "self_hosted"
}
Plan: 1 to add, 0 to change, 0 to destroy.
OpenTofu will perform the following actions:
# cloudflare_zero_trust_access_application.openclaw will be created
+ resource "cloudflare_zero_trust_access_application" "openclaw" {
+ account_id = (sensitive value)
+ allowed_idps = [
+ "e584ea47-1251-4939-95f4-4daf4a58cd31",
]
+ app_launcher_visible = true
+ aud = (known after apply)
+ destinations = (known after apply)
+ domain = "openclaw.makeitwork.cloud"
+ http_only_cookie_attribute = true
+ id = (known after apply)
+ name = "OpenClaw"
+ policies = [
+ {
+ decision = "allow"
+ include = [
+ {
+ group = {
+ id = "e0d9e873-31d7-4536-9234-3dad8a99d84d"
}
},
]
+ name = "makeitworkcloud-admins"
+ precedence = 1
},
]
+ self_hosted_domains = (known after apply)
+ session_duration = "24h"
+ type = "self_hosted"
}
Plan: 1 to add, 0 to change, 0 to destroy. |
xnoto
marked this pull request as ready for review
September 9, 2026 08:04
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Creates a dedicated, fail-closed Cloudflare Access application for
openclaw.makeitwork.cloud. Interactive access is restricted to the existing GitHub identity provider andmakeitworkcloud-adminsgroup, with 24-hour application and policy sessions.No DNS record, TunnelBinding, tunnel route, service token, OpenClaw workload, provider version, or secret is created here.
kustomize-clusterwill exclusively own the later route and workload; it must not be merged until this Access application has been applied.Fixes # N/A — owner-directed OpenClaw deployment
Type of change
Validation
terraform-docsREADME update.The plan is exactly 1 to add, 0 to change, 0 to destroy: the dedicated Access application. No apply ran.
Final review evidence:
Impact and rollout
Producer:
tfroot-cloudflareis the canonical Cloudflare Access owner. Consumer: a later interactive browser-facing OpenClaw Control UI endpoint.Ordered delivery:
main; the environment-gated production apply must be explicitly approved.kustomize-clusterPR, add the OpenClaw workload and its TunnelBinding/DNS route only after the Access application is reconciled.Rollback: remove the future TunnelBinding route first; then revert this application through a new reviewed PR and environment-gated apply.
Safety and secrets
AI-assisted change: implementation and review coordination were performed by an AI agent.