Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 42 for policy (1.26 sec)

  1. cmd/post-policy_test.go

    	// Generate the final policy document
    	policy = fmt.Sprintf(policy, dates...)
    
    	region := "us-east-1"
    	// Create a new POST request with success_action_redirect field specified
    	req, perr := newPostRequestV4Generic("", bucketName, keyName, []byte("objData"),
    		credentials.AccessKey, credentials.SecretKey, region, curTime,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 29.6K bytes
    - Viewed (0)
  2. cmd/auth-handler.go

    				return ErrNone
    			}
    		}
    
    		return ErrAccessDenied
    	}
    	if action == policy.DeleteObjectAction && versionID != "" {
    		if !globalIAMSys.IsAllowed(policy.Args{
    			AccountName:     cred.AccessKey,
    			Groups:          cred.Groups,
    			Action:          policy.Action(policy.DeleteObjectVersionAction),
    			BucketName:      bucket,
    			ConditionValues: getConditionValues(r, "", cred),
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 26K bytes
    - Viewed (0)
  3. helm/minio/values.yaml

      ## make sure to disable this if you are using LDAP.
      - accessKey: console
        secretKey: console123
        policy: consoleAdmin
      # Or you can refer to specific secret
      #- accessKey: externalSecret
      #  existingSecret: my-secret
      #  existingSecretKey: password
      #  policy: readonly
    
    ## Additional Annotations for the Kubernetes Job makeUserJob
    makeUserJob:
      securityContext:
        enabled: false
    Others
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 10:14:37 GMT 2024
    - 18.4K bytes
    - Viewed (0)
  4. cmd/object-multipart-handlers.go

    		metadata[ReservedMetadataPrefixLower+ReplicaTimestamp] = UTCNow().Format(time.RFC3339Nano)
    	}
    	retPerms := isPutActionAllowed(ctx, getRequestAuthType(r), bucket, object, r, policy.PutObjectRetentionAction)
    	holdPerms := isPutActionAllowed(ctx, getRequestAuthType(r), bucket, object, r, policy.PutObjectLegalHoldAction)
    
    	getObjectInfo := objectAPI.GetObjectInfo
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 39K bytes
    - Viewed (0)
  5. cmd/metrics.go

    			AccessKey: claims.AccessKey,
    			Claims:    claims.Map(),
    			Groups:    groups,
    		}
    
    		// For authenticated users apply IAM policy.
    		if !globalIAMSys.IsAllowed(policy.Args{
    			AccountName:     cred.AccessKey,
    			Groups:          cred.Groups,
    			Action:          policy.PrometheusAdminAction,
    			ConditionValues: getConditionValues(r, "", cred),
    			IsOwner:         owner,
    			Claims:          cred.Claims,
    		}) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 02 06:48:36 GMT 2024
    - 16.9K bytes
    - Viewed (0)
  6. cmd/globals.go

    	"github.com/minio/minio/internal/config/dns"
    	"github.com/minio/minio/internal/config/drive"
    	idplugin "github.com/minio/minio/internal/config/identity/plugin"
    	polplugin "github.com/minio/minio/internal/config/policy/plugin"
    	"github.com/minio/minio/internal/config/storageclass"
    	"github.com/minio/minio/internal/config/subnet"
    	xhttp "github.com/minio/minio/internal/http"
    	etcd "go.etcd.io/etcd/client/v3"
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 16.5K bytes
    - Viewed (0)
  7. cmd/admin-handlers-config-kv.go

    	idplugin "github.com/minio/minio/internal/config/identity/plugin"
    	polplugin "github.com/minio/minio/internal/config/policy/plugin"
    	"github.com/minio/minio/internal/config/storageclass"
    	"github.com/minio/minio/internal/config/subnet"
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/mux"
    	"github.com/minio/pkg/v2/policy"
    )
    
    // DelConfigKVHandler - DELETE /minio/admin/v3/del-config-kv
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 15.7K bytes
    - Viewed (0)
  8. cmd/object-api-errors.go

    	return fmt.Sprintf("Invalid combination of uploadID marker '%s' and marker '%s'", e.UploadIDMarker, e.KeyMarker)
    }
    
    // BucketPolicyNotFound - no bucket policy found.
    type BucketPolicyNotFound GenericError
    
    func (e BucketPolicyNotFound) Error() string {
    	return "No bucket policy configuration found for bucket: " + e.Bucket
    }
    
    // BucketLifecycleNotFound - no bucket lifecycle found.
    type BucketLifecycleNotFound GenericError
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  9. docs/site-replication/run-multi-site-minio-idp.sh

    if [ $? -ne 0 ]; then
    	echo "unset policy mapping failed, exiting.."
    	exit_1
    fi
    
    # create a bucket bucket2 on minio1.
    ./mc mb minio1/bucket2
    
    sleep 10
    
    # Test whether policy detach replicated to minio1
    policy=$(./mc admin user info minio1 foobarx --json | jq -r .policyName)
    if [ "${policy}" != "null" ]; then
    	echo "expected policy detach to have replicated, exiting..."
    	exit_1
    fi
    
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 07 00:19:24 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  10. cmd/admin-bucket-handlers.go

    			if err != nil {
    				rpt.SetStatus(bucket, fileName, err)
    				continue
    			}
    
    			bucketPolicy, err := policy.ParseBucketPolicyConfig(bytes.NewReader(bucketPolicyBytes), bucket)
    			if err != nil {
    				rpt.SetStatus(bucket, fileName, err)
    				continue
    			}
    
    			// Version in policy must not be empty
    			if bucketPolicy.Version == "" {
    				rpt.SetStatus(bucket, fileName, fmt.Errorf(ErrPolicyInvalidVersion.String()))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 32.5K bytes
    - Viewed (0)
Back to top