Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for GetBucketVersioning (0.11 sec)

  1. docs/bucket/replication/setup_replication.sh

          "Action": [
           "s3:GetReplicationConfiguration",
           "s3:PutReplicationConfiguration",
           "s3:ListBucket",
           "s3:ListBucketMultipartUploads",
           "s3:GetBucketLocation",
           "s3:GetBucketVersioning"
          ],
          "Resource": [
           "arn:aws:s3:::bucket"
          ]
         }
        ]
       }
    EOF
    mc admin policy create source repladmin-policy ./repladmin-policy-source.json
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 26 05:07:25 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  2. docs/bucket/replication/README.md

    The user setting up replication needs *s3:GetReplicationConfiguration* and *s3:GetBucketVersioning* permission on the source cluster. We do not recommend running root credentials/super admin with replication, instead create a dedicated user. The access credentials used at the destination requires *s3:ReplicateObject* permission.
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jan 24 23:46:33 UTC 2023
    - 18.2K bytes
    - Viewed (0)
  3. cmd/bucket-versioning-handler.go

    }
    
    // GetBucketVersioningHandler - GET Bucket Versioning.
    // ----------
    func (api objectAPIHandlers) GetBucketVersioningHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := newContext(r, w, "GetBucketVersioning")
    
    	defer logger.AuditLog(ctx, w, r, mustGetClaimsFromToken(r))
    
    	vars := mux.Vars(r)
    	bucket := vars["bucket"]
    
    	objectAPI := api.ObjectAPI()
    	if objectAPI == nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5K bytes
    - Viewed (0)
  4. cmd/bucket-targets.go

    	}
    	if tgt.Type == madmin.ReplicationService {
    		if !globalBucketVersioningSys.Enabled(bucket) {
    			return BucketReplicationSourceNotVersioned{Bucket: bucket}
    		}
    		vcfg, err := clnt.GetBucketVersioning(ctx, tgt.TargetBucket)
    		if err != nil {
    			return RemoteTargetConnectionErr{Bucket: tgt.TargetBucket, Err: err, AccessKey: tgt.Credentials.AccessKey}
    		}
    		if !vcfg.Enabled() {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 21 22:22:24 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  5. cmd/bucket-replication-handlers.go

    				writeErrorResponse(ctx, w, errorCodes.ToAPIErrWithErr(ErrReplicationDestinationMissingLock, fmt.Errorf("target bucket %s is not object lock enabled", clnt.Bucket)), r.URL)
    				return
    			}
    		}
    		vcfg, err := clnt.GetBucketVersioning(ctx, clnt.Bucket)
    		if err != nil {
    			writeErrorResponse(ctx, w, errorCodes.ToAPIErrWithErr(ErrReplicationValidationError, err), r.URL)
    			return
    		}
    		if !vcfg.Enabled() {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  6. cmd/api-router.go

    			Queries("object-lock", "")
    		// GetBucketReplicationConfig
    		router.Methods(http.MethodGet).
    			HandlerFunc(s3APIMiddleware(api.GetBucketReplicationConfigHandler)).
    			Queries("replication", "")
    		// GetBucketVersioning
    		router.Methods(http.MethodGet).
    			HandlerFunc(s3APIMiddleware(api.GetBucketVersioningHandler)).
    			Queries("versioning", "")
    		// GetBucketNotification
    		router.Methods(http.MethodGet).
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 15:25:16 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  7. cmd/batch-handlers.go

    		BucketLookup: lookupStyle(pathStyle),
    	})
    	if err != nil {
    		return err
    	}
    	c.SetAppInfo("minio-"+batchJobPrefix, r.APIVersion+" "+job.ID)
    
    	vcfg, err := c.GetBucketVersioning(ctx, remoteBkt)
    	if err != nil {
    		if miniogo.ToErrorResponse(err).Code == "NoSuchBucket" {
    			return batchReplicationJobError{
    				Code:           "NoSuchTargetBucket",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 18 15:32:09 UTC 2024
    - 62.2K bytes
    - Viewed (0)
Back to top