Skip to content

Commit 481791a

Browse files
committed
Document proxy resource release gate
Record the missing tagged proxy rename surface and the write-only password/import design required before Terraform can safely manage proxies.
1 parent e903631 commit 481791a

2 files changed

Lines changed: 28 additions & 1 deletion

File tree

docs/architecture.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ Core v1 data sources:
6666

6767
Late or conditional v1 work:
6868

69-
- `kernel_proxy` resource, after write-only credential and import semantics are accepted
69+
- `kernel_proxy` resource, after write-only credential/import semantics are accepted and a tagged SDK exposes in-place rename
7070
- masked `kernel_api_key` metadata lookup
7171
- `kernel_api_key` resource, only after plaintext-once, retry, rotation, import, and provider self-use semantics are accepted
7272
- project limits, only after their lifecycle is clearly separate from basic project management

docs/concerns.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,33 @@ Until that tag exists, `kernel_profile` resource implementation remains
5555
blocked. Create/read/delete/import alone would make ordinary rename replace a
5656
profile even though Kernel supports preserving its identity.
5757

58+
### Proxy Rename And Credential Release Gate
59+
60+
The Kernel API supports in-place proxy rename through
61+
`PATCH /proxies/{id}`, but the latest tagged Go SDK, v0.76.0, exposes no proxy
62+
update method or update params. The generated surface is present in
63+
[`kernel-go-sdk` PR #133](https://github.com/kernel/kernel-go-sdk/pull/133),
64+
which is the pending v0.77.0 release.
65+
66+
Provider stance:
67+
68+
- wait for a tagged SDK release containing `Proxies.Update`;
69+
- model `name` as the only in-place update and replace other durable proxy
70+
configuration because the API exposes no other mutation;
71+
- do not pin an SDK branch, patch generated SDK code, or add fallback HTTP;
72+
- keep proxy health status, last-check time, and exit IP out of desired state.
73+
74+
Custom proxy passwords need a separate accepted Terraform state design before
75+
the resource is implemented. Reads expose only `has_password`, never the
76+
password. The preferred design is a sensitive write-only password plus an
77+
explicit version/keeper field to request replacement when the secret changes.
78+
Import can recover metadata only. Storing plaintext in ordinary Terraform state
79+
or pretending an imported secret can be read back is not acceptable.
80+
81+
Until the tagged update surface and password design are both available,
82+
`kernel_proxy` remains a v1 late/conditional resource. The existing masked
83+
metadata data source remains supported.
84+
5885
### Browser Pool Selector Echoes
5986

6087
Resolved upstream. Browser pool responses now include authoritative top-level

0 commit comments

Comments
 (0)