dev.knotless.putSecret
Leaves a secret for one of the caller's repositories with one of its runners, sealed to the runner's dev.knotless.runnerKey so the appview holds only ciphertext. The caller is the repository's owner. One there already under the same repository, runner and name is replaced. Requires a service token from the caller's PDS, audience the appview's DID, for this method, or the appview's own pages' login, as their writes take it.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | knotless.dev |
| Indexed |
Showing version bafyreigrlw34dlhemri3euc2xxyyyqnk3rbantcff5qkqy4morsrctatke. Show the latest
Procedure
procedure · POSTInput
application/jsonThe runner's key it is sealed to, a did:key.
The secret's name, as a workflow's `secrets` lists it: a shell variable's name, not one starting KNOTLESS_RUN.
maxLength: 64
refs
arrayThe refs whose pushes it reaches, as a trigger's `refs` match them; absent for every push.
maxLength: 16
The repository's key, as its dev.knotless.repo record holds it: a rename keeps it.
maxLength: 32
The runner it is sealed to.
The value sealed with HPKE to `key`, bound to the caller, `repo`, `runner`, `name` and `refs`: the encapsulated key, then the ciphertext.
maxLength: 16465
Output
application/jsonSimilar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
dev.knotless.listSecrets
queryThe secrets dev.knotless.putSecret left for a repository, by name. Its owner, and an admin who joined the organization that owns it, sees every one, with the value only of those sealed to it, as a runner that logs in as the owner or that admin. A runner sees those sealed to it, with the sealed value, to open with its key; anyone else, none. Requires a service token from the caller's PDS, audience the appview's DID, for this method, or the appview's own pages' login, as their writes take it.
-
dev.knotless.deleteSecret
procedureDeletes the secrets dev.knotless.putSecret left for a repository the caller owns, or administers as an organization's admin who joined: those of a name, those sealed to a runner, or both; with neither, all of the repository's. Requires a service token from the caller's PDS, audience the appview's DID, for this method, or the appview's own pages' login, as their writes take it.
-
org.tangled.secret.addSecret
procedureAdd a CI secret
-
dev.knotless.runnerKey
recordThe key a knotless runner opens the secrets owners give it with.