Add method to rotate feature flag tokens
Problem to solve
Related to https://gitlab.com/gitlab-org/gitlab-ce/issues/57918, there's no way to currently rotate tokens (Instance ID) for feature flags. We should add this capability so that project owners are able to ensure the security of their feature flags and projects over time.
Target audience
-
Devon, DevOps Engineer, https://about.gitlab.com/handbook/marketing/product-marketing/roles-personas#devon-devops-engineer
-
Sidney, Systems Administrator, https://about.gitlab.com/handbook/marketing/product-marketing/roles-personas#sidney-systems-administrator
Further details
Proposal
Add a button to the modal that shows the token for the feature flag, which allows it to be randomly regenerated.
Permissions and Security
This doesn't refactor the way security works with feature flags, but allows for on-demand regeneration of the token used for requesting feature flag status.