You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This adds a method to perform token revocation mirroring what Jason did
in the action.
This calls that method from the new prober, and in Octo STS itself where
it creates a token for looking up the trust policy (not what it hands
back to the user).
Fixes: #61
Signed-off-by: Matt Moore <mattmoor@chainguard.dev>
The token we create here: https://github.com/chainguard-dev/octo-sts/blob/4972f6e158ac02e903c3daaf90c0673ca0b000ac/pkg/octosts/octosts.go#L184-L191
See also: https://docs.github.com/en/rest/apps/installations?apiVersion=2022-11-28#revoke-an-installation-access-token
cc @imjasonh
The text was updated successfully, but these errors were encountered: