Generated from the same public contract that feeds the Monaco editor. Declaration-marked deprecated compatibility methods are intentionally excluded. Do not edit this page manually.
This page contains 11 methods. Search the docs for an exact method name, or use this index:
vault.get()
Gets the parent and selected revision with revision.value as Buffer of the stored text’s UTF-8 bytes.
With no selector, reads the latest enabled revision whose validFrom is at most now.
A version/validFrom selector reads that exact retained revision, including disabled history.
Saved personal Component/Tool reads require the exact grant and map its requested name.
Signature
Example
vault.create()
Creates a new parent and first revision atomically. An existing name conflicts. No value in the result.
Signature
Example
vault.update()
Updates parent category, description and metadata at its metadata counter. Never changes revision values.
Signature
Example
vault.delete()
Deletes the whole parent and its values; a non-null version/validFrom deletes only that exact revision.
Historical values remain accessible until their revision or parent is deleted.
Signature
Example
vault.rotate()
Adds a new immutable revision to an existing parent. Returns its metadata, never value.
Default/null validFrom activates now and retires previous eligible/scheduled revisions.
A future validFrom schedules activation while the current value remains available until then.
Duplicate validFrom conflicts. Cache invalidation follows commit; no relogin is required.
Instance total/active revision quotas remain enforced.
Signature
Example
vault.listRevisions()
Lists metadata for retained revisions. limit 1–100, default 50; follow nextCursor until null, including empty pages.
Signature
vault.getAccessToken()
Returns a usable integration access token and its matching expiry; refreshes when required.
Saved component/Tool reads retain their exact grants. Direct SDK reads require owner/admin access.
Never returns refresh tokens or client secrets. Do not log the result.
Signature
Example
Owner/admin configuration metadata, including the definition revision guard; no credentials.
Signature
vault.discoverIntegration()
Discovers provider metadata. Does not create a connection or grant consent.
Signature
vault.connectIntegration()
Saves the guarded definition and starts interactive OAuth. Returns an authorization URL;
the verified initiating user completes consent through the existing frontend callback.
Instance scope requires a verified personal instance administrator. No-op in debug mode.
Signature
Example
vault.disconnectIntegration()
Disables the stored connection and invalidates credentials, retaining definition/history/grants.
Does not promise revocation at the external provider. No-op in debug mode.
Signature