2

Do we need to keep the workload_identity_provider and service_account as secrets when setting up authentication via Workload Identity Federation from Github actions?

Jerry
  • 60
  • 1
  • 5

1 Answers1

5

I recommend treating those values as secrets.

Both contain sensitive information. An attacker cannot do anything with just those pieces of information.

The workload_identity_provider contains the Project Number and Pool ID. Both are sensitive information but not secrets.

The service account email address is sensitive information but not a secret.

John Hanley
  • 74,467
  • 6
  • 95
  • 159