Skip to content

Commit

Permalink
Merge pull request #132 from harshavardhana/pr_out_remove_access_key_…
Browse files Browse the repository at this point in the history
…examples_for_play

Remove ACCESS-KEY examples for play
  • Loading branch information
Harshavardhana committed Jul 16, 2015
2 parents 02b1e1b + 6e4da9c commit 1827ed8
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 36 deletions.
4 changes: 1 addition & 3 deletions examples/play/bucketexists.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
4 changes: 1 addition & 3 deletions examples/play/dropallincompleteuploads.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
4 changes: 1 addition & 3 deletions examples/play/dropincompleteuploads.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
4 changes: 1 addition & 3 deletions examples/play/getbucketacl.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
4 changes: 1 addition & 3 deletions examples/play/getobject.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
4 changes: 1 addition & 3 deletions examples/play/getpartialobject.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
4 changes: 1 addition & 3 deletions examples/play/listbuckets.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
4 changes: 1 addition & 3 deletions examples/play/listobjects.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
4 changes: 1 addition & 3 deletions examples/play/makebucket.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
4 changes: 1 addition & 3 deletions examples/play/putobject.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
4 changes: 1 addition & 3 deletions examples/play/setbucketacl.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
4 changes: 1 addition & 3 deletions examples/play/statobject.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 1827ed8

Please sign in to comment.