Account Credentials

Self-serve credential management for an account portal: an API-keys card (create with a shown-once secret, list with expiry and last-used, revoke with confirm) and a connected-apps card (OAuth consents with scopes, grant dates and revoke). Data-driven — wire the callbacks to your auth client.

$bunx shadcn@latest add @nx-ui/credentials
Registry item

API keys

Create a key to see the shown-once secret panel; revoking asks for confirmation. Callbacks are simulated against fixture state.

API keys

Personal access tokens for CLIs and scripts. Send a key as the x-api-key header — it acts as you, so keep it secret.

laptop CLI
nxid_k7f2…Created 14 Jun 2026 · Expires 12 Sept 2026 · Last used 30 Jul 2026
CI — nightly syncExpired
nxid_m41q…Created 2 Apr 2026 · Expired 10 Aug 2026 · Last used 31 Jul 2026
old experimentExpired
nxid_x9aa…Created 20 Jan 2026 · Expired 20 Apr 2026 · Last used 11 Feb 2026

Connected apps

OAuth consents — client name and host, granted scopes, grant date, revoke with confirm.

Connected apps

Third-party apps you've authorised with your Nexus ID — MCP clients and connected products. Revoking stops the app from acting as you; authorise it again from the app to reconnect.

Claude Desktop (MCP)claude.ai
openidprofileemailnexus:read
Connected 21 Jul 2026
Nexus Assureassure.nexusregen.com
openidprofileemailoffline_access
Connected 3 May 2026

Empty states

Both cards with nothing to list.

API keys

Personal access tokens for CLIs and scripts. Send a key as the x-api-key header — it acts as you, so keep it secret.

No API keys yet

Create a nxid_ key to authenticate CLIs and scripts as you.

Connected apps

Third-party apps you've authorised with your Nexus ID — MCP clients and connected products. Revoking stops the app from acting as you; authorise it again from the app to reconnect.

No connected apps

When you grant an app access with “Sign in with Nexus ID”, it appears here.

API reference

Exported parts and their props, extracted from the component source.