• /
  • EnglishEspañolFrançais日本語한국어Português
  • Inicia sesiónComenzar ahora

Secret management for NRDOT database credentials

|View as Markdown (English)

You can use two secure methods for managing sensitive credentials (such as database passwords) in the NRDOT Collector configuration. Choose the method that best aligns with your infrastructure and security policies.

AES encryption (platform agnostic)

This method lets you store encrypted credentials directly in your configuration files, supporting version control (GitOps) workflows.

  • How it works: Sensitive strings are encrypted using AES-256 (GCM mode) offline. The collector decrypts them at runtime using a master key stored in the server's environment variables
  • Security benefit: Configuration files can be safely shared or committed to repositories without exposing plain-text passwords
  • Best for: Hybrid/multi-cloud environments, local development, or Windows servers where OCI Vault integration isn't feasible

Example configuration

receivers:
newrelicoracledb/cdb:
endpoint: "10.x.x.36:1521"
# Credentials are encrypted using the offline helper tool
username: "${aes:YOUR_ENCRYPTED_USERNAME_STRING}"
password: "${aes:YOUR_ENCRYPTED_PASSWORD_STRING}"
service: "DB1104.privatesubnet.oracledb.oraclevcn.com"
collection_interval: 15s

AWS Secrets Manager

This method lets you securely retrieve credentials directly from AWS Secrets Manager at runtime, completely eliminating the need to store passwords in your configuration files.

  • How it works: The NRDOT Collector uses an AWS IAM Role to automatically authenticate and fetch the required secrets from AWS Secrets Manager during startup
  • Security benefit: No sensitive data is ever stored on disk or in version control. Access is strictly governed by AWS IAM policies, and database credentials can be rotated centrally without needing to update or deploy new configuration files
  • Best for: Production environments running natively on AWS where centralized secret management, compliance auditing, and automated rotation are required

Example configuration

receivers:
newrelicoracledb/pdb:
endpoint: "10.x.x.36:1521"
# Syntax: ${secretsmanager:SecretName#JSONKey}
username: "${secretsmanager:oracle/credentials#username}"
password: "${secretsmanager:oracle/credentials#password}"
service: "PDBTEST"

Sugerencia

Set the AWS Region before starting the NRDOT Collector:

bash
$
export AWS_REGION=your-aws-region

DB-APM correlation

Learn how to correlate your application performance with database operations in New Relic.

Copyright © 2026 New Relic Inc.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.