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:
5-Minute Quickstart
Install the CLI, authenticate your workstation, and inject secrets into your process.
Production Guides
Automate CI/CD pipelines with Service Tokens and migrate away from local .env files.
Architecture & Concepts
Understand POSIX execve in-memory injection, AES-256-GCM encryption, and token resolution.
CLI Reference
Complete manifest of all 22 commands, flags, arguments, exit codes, and shell completions.
How It Works in 3 Steps
# 1. Authenticate onceray login# 2. Bind your projectray init# 3. Run any command with in-memory secretsray run -- npm run devThree Security Boundaries
- Vault Encryption at Rest: Secrets are encrypted using authenticated AES-256-GCM before transport or persistence in the Ray Secrets vault.
- Ephemeral Memory Injection: When you execute
ray run -- <command>, the CLI fetches and decrypts secrets into process RAM, passing them directly via POSIXexecve. Plaintext credentials never touch physical disk sectors or swap partitions. - 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 -fsSL https://secrets.rcmade.io/install.sh | bash