Skip to content
StackPractices

Tag: rotation

Browse 7 practical software engineering resources tagged with "rotation". Discover code recipes, design patterns, documentation templates, and in-depth guides to help you build, deploy, and maintain production-ready solutions involving rotation. Each resource is written for engineers who ship real systems, with copy-paste examples and practical trade-offs.

Secret and Credential Rotation

Rotation is the practice of regularly replacing secrets, credentials, and keys to reduce the blast radius of compromise. It is a foundational security practice.

The resources below cover API key rotation, certificate rotation, token refresh, database credential rotation, and zero-downtime secrets updates. Each guide shows how to rotate secrets without breaking services.

Every resource includes clear explanations, copy-paste code, and practical warnings. Use them to make informed decisions, avoid production pitfalls, and speed up your delivery. If you are just getting started, read the beginner-friendly articles first; if you are experienced, jump straight to the advanced patterns and architecture guides. New resources are added regularly, so bookmark this page and check back for the latest patterns.

Backup Rotation Script in Bash

Automated backup with retention policies using bash and find.

Log Rotation and Compression in Bash

Rotate and compress application logs automatically with bash scripts

Log Rotation and Compression

Rotate and compress application logs with Bash to prevent disk exhaustion and simplify log...

Rotate Log Files

How to implement log rotation by size, date, and count to prevent disk exhaustion across Python,...

Rotate Logs Daily with Winston

How to configure daily log rotation in Node.js using winston and winston-daily-rotate-file,...

Secrets Rotation Runbook

Runbook for rotating secrets without downtime: secret inventory, rotation schedule, zero-downtime...

Secrets Rotation Template

A template for scheduling and tracking the rotation of API keys, tokens, and certificates.