Skip to content

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

logging workspaceId, tokenName from k8-operator

Subhe8a2575f7e0e
diff --git a/k8-operator/packages/api/api.go b/k8-operator/packages/api/api.go
index 0b750469fb..83feffdf55 100644
--- a/k8-operator/packages/api/api.go
+++ b/k8-operator/packages/api/api.go
@@ -44,6 +44,10 @@ func CallGetServiceTokenDetailsV2(httpClient *resty.Client) (GetServiceTokenDeta
return GetServiceTokenDetailsResponse{}, fmt.Errorf("CallGetServiceTokenDetails: Unsuccessful response: [response=%s]", response)
}
+ // logging for better debugging and user experience
+ fmt.Printf("Workspace ID: %v\n", tokenDetailsResponse.Workspace)
+ fmt.Printf("TokenName: %v\n", tokenDetailsResponse.Name)
+
return tokenDetailsResponse, nil
}