socialweb.computer

Request and provide VMs on an atproto compute market.

lexicons and xrpc

lexicon

com.publicdomainrelay.temp.compute.config.wif.simple

record key any

A bid's workload identity config, written by the bidder next to every market.bid and named by the bid's config strongRef: the OIDC issuer of the guest's tokens and the subject format they carry. Record key: <bid rkey>-config. The requester reads issuer_uri, to trust the guest's token on getSecrets and in its com.fedproxy.rbac roles, and actx; the other fields describe the guest's token exchange as the bidder sets it up.

record

fieldtypedescription
accept_path *string
The path in the guest where the bidder writes the accept, /root/secrets/publicdomainrelay.com/market/accept.json.
issuer_uri *string
The OIDC issuer of the guest's workload identity tokens: the bidder's guest ingress URL plus /v1/identity/oidc.
to_issue *string
The kind of token the guest exchanges for: openbao-identity-oidc (the bidder's OpenBao identity engine).
actx *string
The bidder's DID without its method prefix (the last DID segment), the {actx} part of the subject.
token_path *string
The path in the guest of its login token, /root/secrets/openbao/token.
url_path *string
The path in the guest of the file that holds the bidder's base URL, /root/secrets/digitalocean.com/serviceaccount/base_url.
url_route *string
The route under that base URL the guest asks for its token, /v1/identity/oidc/token.
subject *string
The template of the token's sub claim, actx:{actx}:plc:{did-plc-key}:role:{role}: the bidder's actx, the requester DID's last segment and the VM's role.
actx_pathstring
A field of the earlier TypeScript bidders' records (a path in the guest holding the actx); the Go bidder writes actx instead and nothing reads this.
createdAt *string datetime

used in

Compute Contract Flow - Complete Architecture Map, guest-events: events under a receipt, protocol: the atproto protocol of socialweb-computer, lexicons-market: one row per lexicon, market: the RFP flow, A provisioned workload never holds a long-lived secret, Compute Contracts - Pre-Alpha

raw schema: lexicons/com/publicdomainrelay/temp/compute/config/wif/simple.json
{
  "lexicon": 1,
  "id": "com.publicdomainrelay.temp.compute.config.wif.simple",
  "defs": {
    "main": {
      "type": "record",
      "description": "A bid's workload identity config, written by the bidder next to every market.bid and named by the bid's config strongRef: the OIDC issuer of the guest's tokens and the subject format they carry. Record key: <bid rkey>-config. The requester reads issuer_uri, to trust the guest's token on getSecrets and in its com.fedproxy.rbac roles, and actx; the other fields describe the guest's token exchange as the bidder sets it up.",
      "key": "any",
      "record": {
        "type": "object",
        "required": [
          "accept_path",
          "issuer_uri",
          "to_issue",
          "actx",
          "token_path",
          "url_path",
          "url_route",
          "subject",
          "createdAt"
        ],
        "properties": {
          "accept_path": {
            "type": "string",
            "description": "The path in the guest where the bidder writes the accept, /root/secrets/publicdomainrelay.com/market/accept.json."
          },
          "issuer_uri": {
            "type": "string",
            "description": "The OIDC issuer of the guest's workload identity tokens: the bidder's guest ingress URL plus /v1/identity/oidc."
          },
          "to_issue": {
            "type": "string",
            "description": "The kind of token the guest exchanges for: openbao-identity-oidc (the bidder's OpenBao identity engine)."
          },
          "actx": {
            "type": "string",
            "description": "The bidder's DID without its method prefix (the last DID segment), the {actx} part of the subject."
          },
          "token_path": {
            "type": "string",
            "description": "The path in the guest of its login token, /root/secrets/openbao/token."
          },
          "url_path": {
            "type": "string",
            "description": "The path in the guest of the file that holds the bidder's base URL, /root/secrets/digitalocean.com/serviceaccount/base_url."
          },
          "url_route": {
            "type": "string",
            "description": "The route under that base URL the guest asks for its token, /v1/identity/oidc/token."
          },
          "subject": {
            "type": "string",
            "description": "The template of the token's sub claim, actx:{actx}:plc:{did-plc-key}:role:{role}: the bidder's actx, the requester DID's last segment and the VM's role."
          },
          "actx_path": {
            "type": "string",
            "description": "A field of the earlier TypeScript bidders' records (a path in the guest holding the actx); the Go bidder writes actx instead and nothing reads this."
          },
          "createdAt": {
            "type": "string",
            "format": "datetime"
          }
        }
      }
    }
  }
}