Repository navigation
Remote service-binding proxy capability lifetime, revocation and minimum permissions (Wrangler 4.163.0) #16975
Unanswered
matthewPBCC
asked this question in
Q&A
Replies: 1 comment
|
I opened this discussion unnecessarily and would appreciate it if a repository maintainer could delete it. Thank you. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Could a Cloudflare maintainer clarify the supported security lifecycle and minimum permissions for authenticated remote service bindings using Wrangler 4.163.0 and Miniflare 5.20261116.0-beta?
This concerns the programmatic startRemoteProxySession route to a deployed Worker through a remote service binding, not publicly enabled version/preview URLs.
Please clarify:
Maximum server-side lifetime: What are the maximum lifetimes of the remote session/bootstrap capability, preview-upload capability, invocation preview token, and any other independently usable capability issued by this flow? From which event does each lifetime begin, and is an authoritative expiration timestamp available?
Automatic renewal: Which capabilities refresh automatically, including scheduled renewal, expiry-error handling and bootstrap retries? Does renewal invalidate earlier capabilities, or can old and new capabilities overlap? Is disabling renewal supported?
Shutdown and API-token revocation: Does dispose(), terminating the local process, or expiring/revoking the initiating API token invalidate every previously issued remote capability? Please distinguish local teardown from server-side invalidation and identify any propagation delay.
Supported termination and verification: Is there an official per-session server-side revocation operation, or a documented bounded-expiry procedure with a supported way to verify that all issued capabilities are no longer usable? We do not want to assume that local shutdown or API-token expiry proves this.
Minimum permissions: What exact API-token permissions and resource scopes are required for both the account-level /workers/subdomain/edge-preview bootstrap and
/workers/scripts/<name>/edge-previewupload, and for invoking the bound deployed Worker? Is Individual Workers Editor limited to that existing Worker sufficient? Are any product/account-wide Worker permissions required? Please distinguish these from new-Worker creation and direct D1 access.The documented session handle exposes ready, updateBindings, remoteProxyConnectionString and dispose. In the pinned client, the inspected remote teardown stops local timers/connections without an explicit remote revocation request. We also found the related authenticated-preview-proxy source comment about an expected one-hour preview-token lifetime and two-hour KV lookup retention, but cannot establish whether either is a supported guarantee for every capability in this particular flow.
References:
Please link to an official contract/documentation or identify which behavior is implementation-specific or not guaranteed. If there is no supported lifecycle/revocation guarantee, an explicit clarification would be helpful.
This is a generic documentation question. No account identifiers, resource names, database IDs, bearer values, logs or customer data are included, and no account changes are requested.
All reactions