Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

Update token.go

Daniel Hougaard35998e98cf92
diff --git a/cli/packages/cmd/token.go b/cli/packages/cmd/token.go
index 3e5d42765e..4e568cb854 100644
--- a/cli/packages/cmd/token.go
+++ b/cli/packages/cmd/token.go
@@ -39,7 +39,7 @@ var tokenRenewCmd = &cobra.Command{
util.PrintErrorMessageAndExit("You are trying to renew a service token. You can only renew universal auth access tokens.")
}
- renewedAccessToken, err := util.RenewUniversalAuthAccessToken(token)
+ renewedAccessToken, err := util.RenewMachineIdentityAccessToken(token)
if err != nil {
util.HandleError(err, "Unable to renew token")