Skip to content

gi-nx


gi-nx / fetchCredentials

ts
function fetchCredentials(): Promise<{
  credential_value: string;
  description: string;
  expires_at: string;
  id: number;
  name: string;
}[]>;

Fetch credentials that both the current user and the current app have access to. These are access tokens for third-party services (e.g. tile servers, AI APIs) that workspace admins have shared with this app.

Returns

Promise<{ credential_value: string; description: string; expires_at: string; id: number; name: string; }[]>