Search
Lessons (40)
- Configuration, Secrets and Storage
… Restart or roll out the Deployment after changing it. Secret: sensitive settings A Secret is for passwords, tokens …
- AWS Security Building Blocks
… Do not treat a JWT as trustworthy just because it looks like one; validation is required. Secrets Secrets …
- RBAC and Cluster Security
… Restricting RBAC on secrets. 3. Syncing from a real secret store with External Secrets Operator or the Secrets …
- CI/CD with GitHub Actions
… Store secrets Go to Settings → Secrets and variables → Actions and add: Secret Value --- --- SSH HOST 203.0.113 …
- Secrets, Ephemeral Values, and Least Privilege
… A runner with access to production state may learn secrets even if its cloud resource permissions are limited …
- Practical Project: Deploy a Real CRM App on EKS
… One action on one secret: json { "Version": "2012-10-17", "Statement": [{ "Effect": "Allow", "Action": "secretsmanager:GetSecretValue", "Resource": "arn …
- Docker in Production on a Single Server
… ghcr.io username: ${{ github.actor }} password: ${{ secrets.GITHUB TOKEN }} - uses: docker/build-push-action@v6 with: push: true …
- Jenkins: From Install to Your First Pipeline
… Git, Docker, Slack, Kubernetes… almost everything in Jenkins is a plugin Credentials Encrypted secrets (passwords, SSH keys, tokens …
- Docker & Containers
… postgres://app:secret@db:5432/shop REDIS URL: redis://cache:6379 depends on: db: { condition: service healthy } cache …
- CI/CD Fundamentals and Pipeline Design
… Treat it like production. Risk Defense --- --- Secrets leaked in logs Use the tool's secret store; never echo …
- VPC Endpoints, Transit Gateway and Hybrid Networking
… a task reads a secret A private app calls the Secrets Manager regional hostname over HTTPS. With an …
- Your Practical Kubernetes Workflow
… a non-root user where possible. - Keep secrets in a secret manager, not Git. - Pin images to a …
- Deploy a Node.js App to a VPS, Step by Step
… Configure secrets Never commit secrets to Git. Create the env file on the server, readable only by deploy …
- Linux Troubleshooting Playbook & Interview Questions
… In CI, use encrypted secrets scoped to environments. At larger scale, use a secrets manager (AWS Secrets Manager …
- Authentication, Authorization & API Security
… Never put secrets in a JWT. js import jwt from "jsonwebtoken"; const accessToken = jwt.sign({ sub: user.id …
- Users, Permissions & sudo
… code, HTML, config without secrets 755 ( rwxr-xr-x ) Folders and scripts others may run 600 ( rw------- ) Secrets …
- IAM: Who Can Do What
… It does not administer IAM, delete customer uploads, or read another environment's secrets. List each API action …
- Your First Terraform Project
… Do not commit the downloaded .terraform/ directory, state, secret variable files, or saved plans. gitignore .terraform/ .tfstate .tfstate …
- Resilience, Disaster Recovery and Multi-Region Design
… AWS Elastic Disaster Recovery for servers Secrets / KMS Multi-region secrets and multi-Region KMS keys Traffic : Route …
- Containers at Scale: ECS Deep Dive and EKS
… role . - Inject secrets from Secrets Manager or SSM Parameter Store with the task definition secrets field. - Use awsvpc …
- Run Containers on AWS with ECR and ECS
… repository, execution role, network path Configuration Cannot fetch secret Secret ARN, execution permissions, endpoint access Process start Container …
- Jenkins in Production: Deploys, Docker and Scaling
… github.ref == 'refs/heads/main' Parallel parallel { } Separate jobs run in parallel by default Secret credentials('id') ${{ secrets …
- Releases, Observability and Production Safety
… stolen disk is useless. - Rotate secrets regularly, and keep them in a secret manager. - Least-privilege RBAC (role …
- Deploying & Operating Microservices
… and autoscaling rules - [ ] Config through environment variables; secrets in a secret manager - [ ] API docs (OpenAPI) and versioning policy …
- Internals, Upgrades, Resilience and Interview Questions
… previous for the last crash, then check config, Secrets, probes, memory limits and dependencies. 6. How does a …
- API Contracts, Gateways and Security
… like search or export). - Keep secrets (passwords, API keys) in a secret manager , rotate them, and never log …
- Practical Lab: S3 File Upload and CloudFront Delivery with NestJS
… Never publish real access keys, secret keys or account IDs in Git, screenshots, tickets or chat. bash Set …
- Multi-Account Strategy, Governance and Security Operations
… App can reach its designated secret App cannot read another team's secret Deployment Approved pipeline changes its …
- Frontend Security
… And never put secrets (API keys with write access, database passwords) in frontend code: they end up in …
- Next.js Rendering: CSR, SSR, SSG, ISR & Server Components
… await db.products.findMany(); // runs on the server, secrets stay safe return ( <ul {products.map((p) = ( <li key …
- AI Agents and Tool Use
… Record enough trace information to understand what happened without logging secrets or unnecessary personal data. For multi-step …
- Safe AWS Deployments with IaC and CI/CD
… This is safer than saving long-lived AWS keys as GitHub secrets. Restrict the role to the repository …
- Putting AI Systems into Production
… Keep traces useful for debugging while redacting secrets and minimizing personal data. Human review and release criteria Decide …
- Running Kafka in Production: The DevOps View
… service Store credentials in your secret manager (Vault, AWS Secrets Manager, Kubernetes Secrets), not in Git. Monitoring: what …
- AI Evaluation, Safety, and Security
… follow retention and access policies, and avoid placing secrets in prompts or logs. - Output handling: validate output before …
- A WhatsApp OTP Is Only Single Use If You Make It So
… Buffer { // HMAC with a server-side secret ("pepper") and the user id as context return createHmac('sha256', process …
- State, Remote Backends, and Locking
… Restrict state access because state may include secrets. Enable versioning for recovery, keep audit logs, and protect the …
- Monitoring, Logs & Backups
… systemd files, ideally in a private repo or secrets manager Code Already in Git, so no server backup …
- Scalable Frontend Architecture
… Keep browser secrets out of this layer; use server-side routes or a backend-for-frontend when credentials …
- CI/CD and Reviewed Production Changes
… Avoid posting complete plans containing secret material into public PR comments. Detect drift bash terraform plan -detailed-exitcode …