Database And Cache Security
Private connectivity and credential handling for Databases and Caches
Blossom Databases and Caches have stable private endpoints available to linked Apps. Their ports are not public application endpoints. Always use the Blossom-provided connection URL rather than a provider address or Container name.
Server Placement
Shared Databases and Caches use Data Capacity in the same Account and Location. Each Dedicated node has its own Server. See Servers and Capacity.
Stable Private Endpoints
Database and Cache endpoints use stable Blossom resource ids:
database-abc123.blossom.internal
cache-def456.blossom.internal
Blossom keeps private DNS current during recovery and standby promotion. Applications retain the same primary hostname through those changes.
Environment Links
Use an Environment Link to deliver a connection URL to every Service in an Environment:
environment_link:
environment_id: environment-100
target_type: DatabaseInstance
target_id: database_instance-100
var_name: DATABASE_URL
The target and Environment must belong to the same Account and region. Redis
defaults to REDIS_URL, Memcached defaults to MEMCACHED_URL, and Database
engines default to DATABASE_URL.
Credentials
Blossom generates Database and Redis credentials and includes them only in the resolved Environment variable or an authorized console session. Passwords and backup-storage secrets are encrypted at rest and redacted from API responses, Activities, and logs.
On a Database instance’s Credentials page, select the eye icon beside Private URL to reveal or hide the connection URL.
Use Username and Choose the password when creating a Database with
existing application credentials. PostgreSQL usernames cannot be postgres
or start with pg_. On an existing Database or Redis Cache, choose
Set your own password on its credentials page. Passwords need 8–64
characters; the form validates the allowed characters. For CLI changes, use
Database password stdin
or Cache password stdin.
Do not place connection URLs in source control or copy them into Service configuration. Keep the Environment Link as the source of the connection variable so dependent Services receive the same private endpoint and credentials.
Memcached
Memcached has no native authentication. Its private endpoint is the security
boundary. Never expose port 11211 publicly or route it through an application
load balancer.