mirror of
https://github.com/minio/mc.git
synced 2025-11-13 12:22:45 +03:00
Fix get-policy/put-policy invalid entries.
Also update documentation, to use subdomains for buckets as minio server starts supporting subdomains.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#!/usr/bin/env ruby
|
||||
require 'aws-sdk'
|
||||
|
||||
s3 = Aws::S3::Client.new(endpoint: "http://127.0.0.1:9000/",
|
||||
s3 = Aws::S3::Client.new(endpoint: "http://localhost:9000/",
|
||||
require_https_for_sse_cpk: false,
|
||||
region: "minio")
|
||||
resp = s3.list_buckets
|
||||
|
||||
Reference in New Issue
Block a user