Expand description
The key of an API key account (Connectors > Accounts), kept as an api-key entry of the Vault. The account row holds
the entry’s id and non-reusable link id (SecretRef::Vault); the key is sealed in the entry like any other, so the person sees it in the
Vault, can copy or replace it there, and deleting the account deletes the entry.
Constants§
- TAG
- The tag every account key entry carries.
Functions§
- create
- Saves
keyas a new entry for the accountaccount_id; returns its bound pointer. - read
- The key in the entry. The model gateway asks on every request, so a read is not written to the activity log. A key written or read here is withheld from transcripts, as one in the OS keychain is.
- remove
- Deletes the entry; one that is already gone is not an error.
- replace
- Puts a new key in the entry, leaving its label, fields and tags as they are.