org.tangled.repo.mintToken

tangled.org

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Mint a service-auth JWT whose issuer is this repo's DID, signed by the knot that owns the repo's signing key. When calling this, you'll need the same perms as git push, ie. being repo owner/collaborator/knot-admin.",
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "aud": {
              "description": "Audience of the minted token, a DID service ref for the service, that the token is addressed to.",
              "format": "did",
              "type": "string"
            },
            "exp": {
              "description": "Unix seconds. Must be in the future, and at most 60s after mint time.",
              "format": "int64",
              "type": "integer"
            },
            "lxm": {
              "description": "Lexicon method to which minted token binds.",
              "format": "nsid",
              "type": "string"
            },
            "repo": {
              "description": "DID of the repo that becomes the token's issuer. Must be the audience of a given calling session.",
              "format": "did",
              "type": "string"
            }
          },
          "required": [
            "repo",
            "aud",
            "lxm",
            "exp"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "token": {
              "description": "The signed service-auth JWT.",
              "type": "string"
            }
          },
          "required": [
            "token"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "org.tangled.repo.mintToken",
  "lexicon": 1
}

Validate Record

Validate a record against org.tangled.repo.mintToken

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:wshs7t2adsemcrrd4snkeqli
CID
bafyreicnlsfce7h3qndo6ayvul2ft3rpozh56tdgvzf5ordcecj3phfrc4
Indexed At
2026-10-28 14:06 UTC
AT-URI
at://did:plc:wshs7t2adsemcrrd4snkeqli/com.atproto.lexicon.schema/org.tangled.repo.mintToken

Similar Lexicons

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • Get a signed token on behalf of the requesting DID for the requested service.

  • The lxm named in service-auth JWTs minted for the BlueHarbor backend (aud did:web:blueharbor.at). The backend verifies the JWT against the caller's DID document and exchanges it for a BlueHarbor session token. Defined h…

  • Reserve a repo identity under a DID the caller brings. The knot seals and holds a signing key for the repo DID; the caller publishes the matching public key in that DID's document before calling org.tangled.repo.createR…

Lexicon Garden

@