Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for inherit (0.16 sec)

  1. cmd/iam.go

    //
    // - RoleARN - if a role-arn is specified in the request, the STS credential's
    // policy is the role's policy.
    //
    // - inherited from parent - this is the case for AssumeRole API, where the
    // parent user is an actual real user with their own (permanent) credentials and
    // policy association.
    //
    // - inherited from "virtual" parent - this is the case for AssumeRoleWithLDAP
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  2. cmd/bucket-object-lock.go

    		if err != nil {
    			internalLogIf(ctx, err, logger.WarningKind)
    			return mode, retainDate, legalHold, ErrObjectLocked
    		}
    
    		if !legalHoldRequested && retentionCfg.LockEnabled {
    			// inherit retention from bucket configuration
    			return retentionCfg.Mode, objectlock.RetentionDate{Time: t.Add(retentionCfg.Validity)}, legalHold, ErrNone
    		}
    		return "", objectlock.RetentionDate{}, legalHold, ErrNone
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  3. cmd/common-main.go

    				"Unable to validate credentials inherited from the secret file(s)")
    		}
    		if accessKey != "" {
    			os.Setenv(config.EnvRootUser, accessKey)
    		}
    	}
    
    	if env.IsSet(config.EnvSecretKeyFile) {
    		secretKey, err := readFromSecret(env.Get(config.EnvSecretKeyFile, ""))
    		if err != nil {
    			logger.Fatal(config.ErrInvalidCredentials(err),
    				"Unable to validate credentials inherited from the secret file(s)")
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 04 00:17:57 GMT 2024
    - 35.8K bytes
    - Viewed (2)
  4. cmd/api-response.go

    	LastModified string   // time string of format "2006-01-02T15:04:05.000Z"
    	ETag         string   // md5sum of the copied object part.
    }
    
    // Initiator inherit from Owner struct, fields are same
    type Initiator Owner
    
    // Owner - bucket owner/principal
    type Owner struct {
    	ID          string
    	DisplayName string
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 33.3K bytes
    - Viewed (2)
  5. cmd/server_test.go

    	c.Assert(err, nil)
    	c.Assert(response.StatusCode, http.StatusOK)
    	response.Body.Close()
    }
    
    // TestCopyObject - Validates copy object.
    // The following is the test flow.
    // 1. Create bucket.
    // 2. Insert Object.
    // 3. Use "X-Amz-Copy-Source" header to copy the previously created object.
    // 4. Validate the content of copied object.
    func (s *TestSuiteCommon) TestCopyObject(c *check) {
    	// generate a random bucket name.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
  6. cmd/sts-handlers_test.go

                "ldapUser": "uid=svc.algorithm,ou=swengg,dc=min,dc=io",
                "ldapUsername": "svc.algorithm",
                "parent": "uid=svc.algorithm,ou=swengg,dc=min,dc=io",
                "sa-policy": "inherited-policy"
            },
            "sessionPolicy": null,
            "status": "on",
            "name": "",
            "description": ""
        }
    }
    `,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 85.7K bytes
    - Viewed (0)
  7. internal/event/target/postgresql.go

    	psqlCreateAccessTable    = `CREATE TABLE %s (event_time TIMESTAMP WITH TIME ZONE NOT NULL, event_data JSONB);`
    
    	psqlUpdateRow = `INSERT INTO %s (key, value) VALUES ($1, $2) ON CONFLICT (key) DO UPDATE SET value = EXCLUDED.value;`
    	psqlDeleteRow = `DELETE FROM %s WHERE key = $1;`
    	psqlInsertRow = `INSERT INTO %s (event_time, event_data) VALUES ($1, $2);`
    )
    
    // Postgres constants
    const (
    	PostgresFormat             = "format"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 17:51:07 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  8. cmd/object-api-listobjects_test.go

    	bucket := "ls-benchmark-bucket"
    	// Create a bucket.
    	err := obj.MakeBucket(context.Background(), bucket, MakeBucketOptions{})
    	if err != nil {
    		b.Fatal(err)
    	}
    
    	// Insert objects to be listed and benchmarked later.
    	for i := 0; i < 20000; i++ {
    		key := "obj" + strconv.Itoa(i)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 11:07:40 GMT 2024
    - 73.1K bytes
    - Viewed (0)
  9. docs/site-replication/run-multi-site-minio-idp.sh

    	exit_1
    fi
    
    sleep 10
    
    export MC_HOST_rootsvc=http://testsvc2:testsvc123@localhost:9002
    ./mc ls rootsvc
    if [ $? -ne 0 ]; then
    	echo "root service account not inherited root permissions, exiting.."
    	exit_1
    fi
    
    ./mc admin user svcacct info minio1 testsvc
    if [ $? -ne 0 ]; then
    	echo "svc account not mirrored, 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/sts-handlers.go

    	if err != nil {
    		writeSTSErrorResponse(ctx, w, ErrSTSInternalError, err)
    		return
    	}
    
    	// Set the parent of the temporary access key, so that it's access
    	// policy is inherited from `user.AccessKey`.
    	cred.ParentUser = user.AccessKey
    
    	// Set the newly generated credentials.
    	updatedAt, err := globalIAMSys.SetTempUser(ctx, cred.AccessKey, cred, "")
    	if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 21:31:13 GMT 2024
    - 34.7K bytes
    - Viewed (2)
Back to top