ministryofjustice / operations-engineering

This repository is home to the Operations Engineering's tools and utilities for managing, monitoring, and optimising software development processes at the Ministry of Justice. • This repository is defined and managed in Terraform
https://user-guide.operations-engineering.service.justice.gov.uk/
MIT License
11 stars 5 forks source link

Replace use of NEW_TOKEN in operations-engineering #4553

Closed tamsinforbes closed 19 hours ago

tamsinforbes commented 2 weeks ago

User Need

As a member of the operations engineering team, I want to organise and secure the GitHub personal access tokens in the moj-operations-engineering-bot account, so that we can reduce risks, improve clarity, and align with best practices in token management.

Value

Properly managing these tokens will significantly reduce security risks by limiting their scope and improving their traceability. It will also streamline our processes by creating a clear and efficient method for future token creation and management.

NEW_TOKEN is currently used in ministryofjustice/operations-engineering (as GH_BOT_PAT_TOKEN GitHub secret) for multiple different projects. This conflicts with ADR 020, in that NEW_TOKEN is a Classic token and used for multiple purposes.

Functional Requirements:

Non-Functional Requirements:

Acceptance Criteria:

Notes:

Classic token required as some workflows require cross org permissions.