Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 623 for Action (0.17 sec)

  1. internal/bucket/lifecycle/action_string.go

    	_ = x[ActionCount-8]
    }
    
    const _Action_name = "NoneActionDeleteActionDeleteVersionActionTransitionActionTransitionVersionActionDeleteRestoredActionDeleteRestoredVersionActionDeleteAllVersionsActionActionCount"
    
    var _Action_index = [...]uint8{0, 10, 22, 41, 57, 80, 100, 127, 150, 161}
    
    func (i Action) String() string {
    	if i < 0 || i >= Action(len(_Action_index)-1) {
    		return "Action(" + strconv.FormatInt(int64(i), 10) + ")"
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jun 29 05:12:28 GMT 2023
    - 1018 bytes
    - Viewed (0)
  2. docs/bucket/replication/setup_replication.sh

    cat >repladmin-policy-source.json <<EOF
    {
        "Version": "2012-10-17",
        "Statement": [
        {
            "Action": [
                "admin:SetBucketTarget",
                "admin:GetBucketTarget"
            ],
            "Effect": "Allow",
            "Sid": ""
         }, 
         {
          "Effect": "Allow",
          "Action": [
           "s3:GetReplicationConfiguration",
           "s3:PutReplicationConfiguration",
           "s3:ListBucket",
    Shell Script
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri May 26 05:07:25 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  3. internal/config/errors-utils.go

    // Err implements error so we can use it anywhere
    type Err struct {
    	msg    string
    	detail string
    	action string
    	hint   string
    }
    
    // Clone returns a new Err struct with the same information
    func (u Err) Clone() Err {
    	return Err{
    		msg:    u.msg,
    		detail: u.detail,
    		action: u.action,
    		hint:   u.hint,
    	}
    }
    
    // Error returns the error message
    func (u Err) Error() string {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Mar 06 16:56:10 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  4. cmd/policy_test.go

    	}
    
    	anonGetBucketLocationArgs := policy.BucketPolicyArgs{
    		AccountName:     "Q3AM3UQ867SPQQA43P2F",
    		Action:          policy.GetBucketLocationAction,
    		BucketName:      "mybucket",
    		ConditionValues: map[string][]string{},
    	}
    
    	anonPutObjectActionArgs := policy.BucketPolicyArgs{
    		AccountName: "Q3AM3UQ867SPQQA43P2F",
    		Action:      policy.PutObjectAction,
    		BucketName:  "mybucket",
    		ConditionValues: map[string][]string{
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 8.9K bytes
    - Viewed (0)
  5. cmd/http-tracer_test.go

    		query         string
    		expectedQuery string
    	}{
    		{"", ""},
    		{
    			"?Action=AssumeRoleWithLDAPIdentity&LDAPUsername=myusername&LDAPPassword=can+youreadthis%3F&Version=2011-06-15",
    			"?Action=AssumeRoleWithLDAPIdentity&LDAPUsername=myusername&LDAPPassword=*REDACTED*&Version=2011-06-15",
    		},
    		{
    			"LDAPPassword=can+youreadthis%3F&Version=2011-06-15&?Action=AssumeRoleWithLDAPIdentity&LDAPUsername=myusername",
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 1.8K bytes
    - Viewed (0)
  6. cmd/data-scanner-metric.go

    		m.LifeTimeOps = nil
    	}
    
    	m.LastMinute.Actions = make(map[string]madmin.TimedAction, scannerMetricLastRealtime)
    	for i := scannerMetric(0); i < scannerMetricLastRealtime; i++ {
    		lm := p.lastMinute(i)
    		if lm.N > 0 {
    			m.LastMinute.Actions[i.String()] = lm.asTimedAction()
    		}
    	}
    	if len(m.LastMinute.Actions) == 0 {
    		m.LastMinute.Actions = nil
    	}
    
    	// ILM
    	m.LifeTimeILM = make(map[string]uint64)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Sep 25 05:15:31 GMT 2023
    - 9.1K bytes
    - Viewed (0)
  7. docs/distributed/rw.json

    {
      "Version": "2012-10-17",
      "Statement": [
       {
        "Effect": "Allow",
        "Action": [
         "s3:*"
        ],
        "Resource": [
         "arn:aws:s3:::*"
        ]
       }
      ]
    Json
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Jul 04 21:02:54 GMT 2022
    - 166 bytes
    - Viewed (0)
  8. cmd/dummy-handlers.go

    	bucket := vars["bucket"]
    
    	objAPI := api.ObjectAPI()
    	if objAPI == nil {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrServerNotInitialized), r.URL)
    		return
    	}
    
    	// Allow getBucketCors if policy action is set, since this is a dummy call
    	// we are simply re-purposing the bucketPolicyAction.
    	if s3Error := checkRequestAuthType(ctx, r, policy.GetBucketPolicyAction, bucket, ""); s3Error != ErrNone {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 7.1K bytes
    - Viewed (0)
  9. cmd/admin-handlers-users-race_test.go

    		c.Fatalf("bucket creat error: %v", err)
    	}
    
    	// Create a policy policy
    	policy := "mypolicy"
    	policyBytes := []byte(fmt.Sprintf(`{
     "Version": "2012-10-17",
     "Statement": [
      {
       "Effect": "Allow",
       "Action": [
        "s3:PutObject",
        "s3:GetObject",
        "s3:ListBucket"
       ],
       "Resource": [
        "arn:aws:s3:::%s/*"
       ]
      }
     ]
    }`, bucket))
    	err = s.adm.AddCannedPolicy(ctx, policy, policyBytes)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  10. docs/iam/opa.md

    ```sh
    cat > example.rego <<EOF
    package httpapi.authz
    
    import input
    
    default allow = false
    
    # Allow the root user to perform any action.
    allow {
     input.owner == true
    }
    
    # All other users may do anything other than call PutObject
    allow {
     input.action != "s3:PutObject"
     input.owner == false
    }
    EOF
    ```
    
    Then load the policy via OPA's REST API.
    
    ```
    curl -X PUT --data-binary @example.rego \
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Jul 17 15:43:14 GMT 2022
    - 2.3K bytes
    - Viewed (0)
Back to top