# Environment required reviewer

Tier 2 key, `key:environment-reviewer`. Page: https://ghtier.com/tier/keys-policies/environment-reviewer

Approving a deployment releases the environment's secrets to the job. On a production environment, the approval releases production credentials.

**Related permissions:** [Deployments: Write (repository)](https://ghtier.com/tier/permissions/deployments-write.md) (Tier 2), [Environments: Write (repository)](https://ghtier.com/tier/permissions/environments-write.md) (Tier 1)

**Defenses (checklist):** [Put production secrets in environments with required reviewers](https://ghtier.com/checklist/cicd-environment-reviewers.md)

**Strange findings:** [Write access reads every repository secret](https://ghtier.com/strange-findings/finding-write-reads-all-secrets.md), [On Free and Team, environment reviewers only work in public repositories](https://ghtier.com/strange-findings/finding-team-plan-environment-rules-public-only.md)

**Audit log events that show it:** [environment.update_protection_rule](https://docs.github.com/en/enterprise-cloud@latest/admin/monitoring-activity-in-your-enterprise/reviewing-audit-logs-for-your-enterprise/audit-log-events-for-your-enterprise), [environment.add_protection_rule](https://docs.github.com/en/enterprise-cloud@latest/admin/monitoring-activity-in-your-enterprise/reviewing-audit-logs-for-your-enterprise/audit-log-events-for-your-enterprise), [workflows.approve_workflow_job](https://docs.github.com/en/enterprise-cloud@latest/admin/monitoring-activity-in-your-enterprise/reviewing-audit-logs-for-your-enterprise/audit-log-events-for-your-enterprise)

**Sources:**
- [GitHub Docs: Managing environments for deployment](https://docs.github.com/en/actions/how-tos/deploy/configure-and-manage-deployments/manage-environments)

From ghtier (https://ghtier.com). Every entry and link: https://ghtier.com/data/graph.json. Tiers: https://ghtier.com/tier.
