Database template

Last updated: 4 Jul 2026

Official optional IT pack—structured fields for database secrets.

What this template is

The Database template stores database hostname, port, credentials, and connection strings. Enable it under Settings → Category templates → Infrastructure & IT.

Category slugdatabase
PackOfficial optional — nt2-template-database
TierFree

When to use it (and when not to)

Good fits

  • Postgres, MySQL, or Redis connection credentials
  • Separate hostname, port, and database name for validation hints
  • Optional full connection string for legacy apps

Use something else instead

SituationBetter template
Cloud console IAM userCloud Account
Server OS admin onlyServer
Unstructured DSN pasteSecure Note

Everyday workflows

  • Create one item per database cluster or logical database.
  • Use environment to separate prod from staging connection details.
  • Copy password or connection string with clipboard auto-clear during deploys.

Fields at a glance

FieldWhat to put hereSensitive?
TitleTitleNo
Service nameService nameNo
HostnameHostnameNo
PortPortNo
Database nameDatabase nameNo
UsernameUsernameNo
PasswordPasswordYes
Connection stringConnection stringYes
EnvironmentEnvironmentNo
NotesNotesNo

What you need

TierFree
Vault stateUnlocked
NetworkOffline after the first successful app load
Feature toggleDatabase pack enabled—see Enable category template packs

Steps

  1. Unlock your vault and open Settings → General → Category templates.
  2. Under Infrastructure & IT, toggle Database On.
  3. Open Assets and Add assetDatabase.
  4. Fill required fields and Save.

Tips and common mistakes

  • Enable pack first—Database is not a core builtin.
  • Do not paste secrets into Secure Note—you lose masking, validation, and share hard-blocks.
  • Clipboard auto-clear applies to copied secrets—paste within 30 seconds.