Skip to Content
RcmadeDocs

Ray Secrets

Store, synchronize, and inject encrypted secrets directly into runtime process memory without plaintext .env leaks.

Ray Secrets is a standalone secrets engine and developer CLI designed to eliminate plaintext secret sprawl. Credentials and environment variables are stored encrypted at rest with AES-256-GCM, synchronized through the Rcmade platform, and injected directly into child process memory at runtime.

By default, ray run injects decrypted credentials directly into child process RAM without generating .env files on disk. Explicit file exports (ray pull) and temporary mounts (--mount) remain available when required by legacy tooling.

Explore by Goal

Choose a path based on what you want to achieve:

How It Works in 3 Steps

3-Step Workflow
# 1. Authenticate onceray login# 2. Bind your projectray init# 3. Run any command with in-memory secretsray run -- npm run dev

Three Security Boundaries

  1. Vault Encryption at Rest: Secrets are encrypted using authenticated AES-256-GCM before transport or persistence in the Ray Secrets vault.
  2. Ephemeral Memory Injection: When you execute ray run -- <command>, the CLI fetches and decrypts secrets into process RAM, passing them directly via POSIX execve. Plaintext credentials never touch physical disk sectors or swap partitions.
  3. Scoped Authentication: Workstations use Personal Access Tokens (PATs) with user-level permissions; automated CI/CD runners use Service Tokens locked to a single Project and Environment.

Installation

Install the native ray binary for your platform. Standalone binaries have zero external runtime dependencies.

curl
curl -fsSL https://secrets.rcmade.io/install.sh | bash