Secure area

Login to your project database

Centralised worksheet to collect the credentials required for MaliusTech managed databases. These details stay on the server and are never exposed to browsers when implemented with API routes.

Encryption
TLS / SSL

Enforce encrypted connections for every environment.

Access window
24 / 7

Operations crew monitors activity throughout the year.

Audit ready
Yes

Credential history tracked through internal tooling.

Database credentials

Submit secure connection details

Fields below replicate the connection string components. On submit, forward to a Nuxt server route that can then connect using Prisma, Drizzle, or native node drivers.

Operational guidance

Keep secrets on the server, never in the browser. The snippets below illustrate one possible implementation.

.env.example

DATABASE_URL="postgresql://user:pass@host:5432/db"
DB_SSL=true
            

server/api/database/login.post.ts

export default defineEventHandler(async (event) => {
  const body = await readBody(event);
  // Validate, sanitize, then connect with your preferred driver.
});
            

Use environment variables

Store credentials in .env files, never in git. Reference them in server routes via useRuntimeConfig.

API route gateway

Create a server/api/database/login.post.ts endpoint that validates input and connects securely on the server.

Audit & monitoring

Log access attempts, enforce SSL, and rotate passwords regularly to keep infrastructure compliant.

Need help?

Contact us