0
0
{
"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" }
}
}
}
}
}