Skip to main content

Managing SMTP Credentials

SMTP credentials are organization-scoped username/password pairs used to authenticate SMTP connections. Each credential set is independent — you can create multiple credentials for different applications or environments.

Creating Credentials

Generate SMTP credentials from your Arsel dashboard:

  1. Navigate to Settings > SMTP Credentials
  2. Click Create Credentials
  3. Optionally give them a descriptive name (e.g., "Production Server", "Staging")
  4. Copy the username and password immediately
warning

The password is only shown once at creation time. Store it securely — it cannot be retrieved later. If lost, rotate the credential to generate a new password.

Credential Format

FieldFormatExample
Usernamesmtp_ + 16 random characterssmtp_aB3xK9mP2qR5wY7z
Passwordsk_ + 32 random characterssk_4f8Hj2kLmN6pQrStUvWxYz1a3B5cD7e

Credential Lifecycle

Active Credentials

New credentials are active by default. Active credentials can authenticate SMTP connections and send emails.

Rotating Credentials

If a credential may have been compromised, or as part of regular security hygiene, you can rotate it:

  1. Navigate to Settings > SMTP Credentials
  2. Click Rotate on the credential
  3. Copy the new password immediately
  4. Update your application's SMTP configuration
  5. The old password is immediately invalidated
tip

To rotate with zero downtime: create a new credential, update your application to use it, then revoke the old one.

Revoking Credentials

Revoking a credential disables it without deleting it. This is useful for temporarily disabling access:

  1. Click Revoke on the credential
  2. Any active SMTP sessions using this credential will fail on the next authentication
  3. The credential can be re-enabled later by updating its status

Deleting Credentials

Deleting a credential permanently removes it. This cannot be undone:

  1. Click Delete on the credential
  2. Confirm the deletion
  3. The credential is permanently removed

Security Best Practices

  • Use separate credentials for each environment (development, staging, production)
  • Use separate credentials for each application or service that sends emails
  • Rotate credentials regularly as part of your security policy
  • Revoke immediately if a credential may have been exposed
  • Never commit credentials to source control — use environment variables or secrets management
  • Monitor last-used timestamps in the dashboard to identify unused credentials

Tracking Usage

The dashboard shows for each credential:

FieldDescription
NameOptional label you assigned
UsernameThe SMTP username
StatusActive or Revoked
Last UsedTimestamp of the most recent authentication
CreatedWhen the credential was generated