Twingate-Labs / tg-cli

Command Line Interface for Administering Twingate
Apache License 2.0
24 stars 4 forks source link

Unable to revoke and remove service account keys #10

Closed steven-twingate closed 1 year ago

steven-twingate commented 1 year ago

Currently it is possible to create service account keys but not possible to revoke and remove. It would be nice to have this ability in order to programmatically rotate service account keys.

chenbishop commented 1 year ago

Hi @steven-twingate that makes sense, we will look into this and keep you updated.

chenbishop commented 1 year ago

@steven-twingate, we just released 0.0.69 and it includes this feature.

To revoke a service key, use the following command

./tg service key_revoke <serviceAccountKeyId>