diff --git a/example/object/get.go b/example/object/get.go index e43a430..8369f4f 100644 --- a/example/object/get.go +++ b/example/object/get.go @@ -22,6 +22,8 @@ func main() { Transport: &cos.AuthorizationTransport{ SecretID: os.Getenv("COS_SECRETID"), SecretKey: os.Getenv("COS_SECRETKEY"), + SecretID: ak, + SecretKey: sk, Transport: &debug.DebugRequestTransport{ RequestHeader: true, RequestBody: true,