Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for inherit (1.5 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. docs/bucket/replication/DESIGN.md

    existing object replication are not marked as `PENDING` prior to replication.
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Sep 29 04:28:45 GMT 2022
    - 14.7K bytes
    - Viewed (0)
  7. 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)
  8. internal/auth/credentials.go

    }
    
    // IsImpliedPolicy - returns if the policy is implied via ParentUser or not.
    func (cred Credentials) IsImpliedPolicy() bool {
    	if cred.IsServiceAccount() {
    		return cred.Claims[iamPolicyClaimNameSA] == "inherited-policy"
    	}
    	return false
    }
    
    // IsValid - returns whether credential is valid or not.
    func (cred Credentials) IsValid() bool {
    	// Verify credentials if its enabled or not set.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 12:41:13 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  9. cmd/object-api-utils_test.go

    				i+1, test.result, got)
    		}
    	}
    }
    
    func BenchmarkGetPartFileWithTrie(b *testing.B) {
    	b.ResetTimer()
    
    	entriesTrie := trie.NewTrie()
    	for i := 1; i <= 10000; i++ {
    		entriesTrie.Insert(fmt.Sprintf("%.5d.8a034f82cb9cb31140d87d3ce2a9ede3.67108864", i))
    	}
    
    	for i := 1; i <= 10000; i++ {
    		partFile := getPartFile(entriesTrie, i, "8a034f82cb9cb31140d87d3ce2a9ede3")
    		if partFile == "" {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 23.4K bytes
    - Viewed (0)
Back to top