diff --git a/examples/play/bucketexists.go b/examples/play/bucketexists.go index 04c18f44b..ba81b77d8 100644 --- a/examples/play/bucketexists.go +++ b/examples/play/bucketexists.go @@ -26,9 +26,7 @@ import ( func main() { config := minio.Config{ - AccessKeyID: "YOUR-ACCESS-KEY-HERE", - SecretAccessKey: "YOUR-PASSWORD-HERE", - Endpoint: "https://play.minio.io:9000", + Endpoint: "https://play.minio.io:9000", } s3Client, err := minio.New(config) if err != nil { diff --git a/examples/play/dropallincompleteuploads.go b/examples/play/dropallincompleteuploads.go index 123b4e53d..d4af11cce 100644 --- a/examples/play/dropallincompleteuploads.go +++ b/examples/play/dropallincompleteuploads.go @@ -26,9 +26,7 @@ import ( func main() { config := minio.Config{ - AccessKeyID: "YOUR-ACCESS-KEY-HERE", - SecretAccessKey: "YOUR-PASSWORD-HERE", - Endpoint: "https://play.minio.io:9000", + Endpoint: "https://play.minio.io:9000", } s3Client, err := minio.New(config) if err != nil { diff --git a/examples/play/dropincompleteuploads.go b/examples/play/dropincompleteuploads.go index 15c0cf1a4..6bc587ffe 100644 --- a/examples/play/dropincompleteuploads.go +++ b/examples/play/dropincompleteuploads.go @@ -26,9 +26,7 @@ import ( func main() { config := minio.Config{ - AccessKeyID: "YOUR-ACCESS-KEY-HERE", - SecretAccessKey: "YOUR-PASSWORD-HERE", - Endpoint: "https://play.minio.io:9000", + Endpoint: "https://play.minio.io:9000", } s3Client, err := minio.New(config) if err != nil { diff --git a/examples/play/getbucketacl.go b/examples/play/getbucketacl.go index 5d531cab3..c043cb0ea 100644 --- a/examples/play/getbucketacl.go +++ b/examples/play/getbucketacl.go @@ -26,9 +26,7 @@ import ( func main() { config := minio.Config{ - AccessKeyID: "YOUR-ACCESS-KEY-HERE", - SecretAccessKey: "YOUR-PASSWORD-HERE", - Endpoint: "https://play.minio.io:9000", + Endpoint: "https://play.minio.io:9000", } s3Client, err := minio.New(config) if err != nil { diff --git a/examples/play/getobject.go b/examples/play/getobject.go index 52964462d..f160c1a87 100644 --- a/examples/play/getobject.go +++ b/examples/play/getobject.go @@ -28,9 +28,7 @@ import ( func main() { config := minio.Config{ - AccessKeyID: "YOUR-ACCESS-KEY-HERE", - SecretAccessKey: "YOUR-PASSWORD-HERE", - Endpoint: "https://play.minio.io:9000", + Endpoint: "https://play.minio.io:9000", } s3Client, err := minio.New(config) if err != nil { diff --git a/examples/play/getpartialobject.go b/examples/play/getpartialobject.go index 8cf54333c..142bbe268 100644 --- a/examples/play/getpartialobject.go +++ b/examples/play/getpartialobject.go @@ -28,9 +28,7 @@ import ( func main() { config := minio.Config{ - AccessKeyID: "YOUR-ACCESS-KEY-HERE", - SecretAccessKey: "YOUR-PASSWORD-HERE", - Endpoint: "https://play.minio.io:9000", + Endpoint: "https://play.minio.io:9000", } s3Client, err := minio.New(config) if err != nil { diff --git a/examples/play/listbuckets.go b/examples/play/listbuckets.go index 42dc0bad9..f09313cfc 100644 --- a/examples/play/listbuckets.go +++ b/examples/play/listbuckets.go @@ -26,9 +26,7 @@ import ( func main() { config := minio.Config{ - AccessKeyID: "YOUR-ACCESS-KEY-HERE", - SecretAccessKey: "YOUR-PASSWORD-HERE", - Endpoint: "https://play.minio.io:9000", + Endpoint: "https://play.minio.io:9000", } s3Client, err := minio.New(config) if err != nil { diff --git a/examples/play/listobjects.go b/examples/play/listobjects.go index cfa24c8a9..94b7e4e23 100644 --- a/examples/play/listobjects.go +++ b/examples/play/listobjects.go @@ -26,9 +26,7 @@ import ( func main() { config := minio.Config{ - AccessKeyID: "YOUR-ACCESS-KEY-HERE", - SecretAccessKey: "YOUR-PASSWORD-HERE", - Endpoint: "https://play.minio.io:9000", + Endpoint: "https://play.minio.io:9000", } s3Client, err := minio.New(config) if err != nil { diff --git a/examples/play/makebucket.go b/examples/play/makebucket.go index 3bd196158..922104ed2 100644 --- a/examples/play/makebucket.go +++ b/examples/play/makebucket.go @@ -26,9 +26,7 @@ import ( func main() { config := minio.Config{ - AccessKeyID: "YOUR-ACCESS-KEY-HERE", - SecretAccessKey: "YOUR-PASSWORD-HERE", - Endpoint: "https://play.minio.io:9000", + Endpoint: "https://play.minio.io:9000", } s3Client, err := minio.New(config) if err != nil { diff --git a/examples/play/putobject.go b/examples/play/putobject.go index 5161b2d59..6f9bcce2f 100644 --- a/examples/play/putobject.go +++ b/examples/play/putobject.go @@ -27,9 +27,7 @@ import ( func main() { config := minio.Config{ - AccessKeyID: "YOUR-ACCESS-KEY-HERE", - SecretAccessKey: "YOUR-PASSWORD-HERE", - Endpoint: "https://play.minio.io:9000", + Endpoint: "https://play.minio.io:9000", } s3Client, err := minio.New(config) if err != nil { diff --git a/examples/play/setbucketacl.go b/examples/play/setbucketacl.go index 2e4cc7479..f03259b47 100644 --- a/examples/play/setbucketacl.go +++ b/examples/play/setbucketacl.go @@ -26,9 +26,7 @@ import ( func main() { config := minio.Config{ - AccessKeyID: "YOUR-ACCESS-KEY-HERE", - SecretAccessKey: "YOUR-PASSWORD-HERE", - Endpoint: "https://play.minio.io:9000", + Endpoint: "https://play.minio.io:9000", } s3Client, err := minio.New(config) if err != nil { diff --git a/examples/play/statobject.go b/examples/play/statobject.go index 9f8867739..9181d9a5c 100644 --- a/examples/play/statobject.go +++ b/examples/play/statobject.go @@ -26,9 +26,7 @@ import ( func main() { config := minio.Config{ - AccessKeyID: "YOUR-ACCESS-KEY-HERE", - SecretAccessKey: "YOUR-PASSWORD-HERE", - Endpoint: "https://play.minio.io:9000", + Endpoint: "https://play.minio.io:9000", } s3Client, err := minio.New(config) if err != nil {