Expand description
The check of a CI secret: a repository’s or an environment’s Actions secret (docs/specs/SPEC_VAULT_LINKED_ENTRIES_FLEET_VAULT_AND_BATCH_IMPORT_2026_11_15.md §2.6).
GitHub never gives a secret’s value back. It gives a listing entry: the name and when it was last updated. This reads that one entry with the GitHub CLI signed in on this computer, and keeps of the answer only whether the secret is there and the day it last changed. The read is built from the entry’s own link and nothing else: one secret, a GET, a fixed endpoint. When GitHub says “not found”, the collection the secret is in is asked for one entry, and only that answer’s status is read: it says whether this login can read secrets there at all, which tells a secret that is gone from one this login may not see. No other login is ever tried in the CLI’s place.
Structs§
- Place
- A CI secret’s place, each part held to a strict name: they go into the path of a request.
Constants§
- CANT_
READ - What it says when neither the secret nor the collection it would be in answers.
- NO_
SUCH_ SECRET - What the check says of a secret that isn’t there, where this login can read the secrets.
Functions§
- describe
- Reads the listing entry of the secret
linknames. A secret that isn’t there, where this login can read the secrets, fails withNO_SUCH_SECRET; a “not found” where it can’t fails withCANT_READ. The two are told apart by asking for the collection, and by each answer’s status code, never by its text: the collection’s answer is dropped unread. Of the secret’s entry only the day it was last updated is kept.