Rotate the Django Secret Key To rotate the secret key used to encrypt GitGuardian’s PostgreSQL database data, follow the procedure described in GitGuardian’s public documentation.