mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-07 06:28:11 +00:00
Update token.go
This commit is contained in:
@@ -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.")
|
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 {
|
if err != nil {
|
||||||
util.HandleError(err, "Unable to renew token")
|
util.HandleError(err, "Unable to renew token")
|
||||||
|
|||||||
Reference in New Issue
Block a user