Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 287 for expiry (0.27 sec)

  1. docs/bucket/replication/setup_ilm_expiry_replication.sh

    if [ "$flag" != "false" ]; then
    	echo "BUG: ILM expiry replication not disabled for 'siteb'"
    	exit 1
    fi
    
    ## Perform individual updates of rules to sites
    ./mc ilm edit --id "${id}" --expire-days "999" sitea/bucket
    sleep 5s
    
    ./mc ilm edit --id "${id}" --expire-days "888" siteb/bucket # when ilm expiry re-enabled, this should win
    
    ## Check re-enabling of ILM expiry rules replication
    Shell Script
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 00:31:12 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  2. docs/sts/client-grants.go

    	}
    
    	var idpToken JWTToken
    	if err = json.NewDecoder(resp.Body).Decode(&idpToken); err != nil {
    		return nil, err
    	}
    
    	return &credentials.ClientGrantsToken{Token: idpToken.AccessToken, Expiry: idpToken.Expiry}, nil
    }
    
    func main() {
    	flag.Parse()
    	if clientID == "" || clientSecret == "" {
    		flag.PrintDefaults()
    		return
    	}
    
    	sts, err := credentials.NewSTSClientGrants(stsEndpoint, getTokenExpiry)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Aug 19 01:35:22 GMT 2021
    - 3.3K bytes
    - Viewed (0)
  3. internal/bucket/lifecycle/lifecycle.go

    func (lc Lifecycle) eval(obj ObjectOpts, now time.Time) Event {
    	var events []Event
    	if obj.ModTime.IsZero() {
    		return Event{}
    	}
    
    	// Handle expiry of restored object; NB Restored Objects have expiry set on
    	// them as part of RestoreObject API. They aren't governed by lifecycle
    	// rules.
    	if !obj.RestoreExpires.IsZero() && now.After(obj.RestoreExpires) {
    		action := DeleteRestoredAction
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Mar 09 06:41:22 GMT 2024
    - 17K bytes
    - Viewed (0)
  4. cmd/sts-handlers.go

    		return
    	}
    
    	// Expiry is set as minimum of requested value and value allowed by auth
    	// plugin.
    	expiry := res.Success.MaxValiditySeconds
    	if durationParam != "" && requestedDuration < expiry {
    		expiry = requestedDuration
    	}
    
    	parentUser := "custom:" + res.Success.User
    
    	// metadata map
    	claims[expClaim] = UTCNow().Add(time.Duration(expiry) * time.Second).Unix()
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 18:36:18 GMT 2024
    - 34.7K bytes
    - Viewed (2)
  5. internal/auth/credentials.go

    }
    
    var timeSentinel = time.Unix(0, 0).UTC()
    
    // ErrInvalidDuration invalid token expiry
    var ErrInvalidDuration = errors.New("invalid token expiry")
    
    // ExpToInt64 - convert input interface value to int64.
    func ExpToInt64(expI interface{}) (expAt int64, err error) {
    	switch exp := expI.(type) {
    	case string:
    		expAt, err = strconv.ParseInt(exp, 10, 64)
    	case float64:
    		expAt, err = int64(exp), nil
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Mar 01 21:09:42 GMT 2024
    - 11.4K bytes
    - Viewed (0)
  6. cmd/signature-v4-parser_test.go

    			}
    			// validating expiry duration.
    			if testCase.expectedPreSignValues.Expires != parsedPreSign.Expires {
    				t.Errorf("Test %d: Expected expiry time to be %v, but got %v", i+1, testCase.expectedPreSignValues.Expires, parsedPreSign.Expires)
    			}
    			// validating presign date field.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 27.4K bytes
    - Viewed (0)
  7. cmd/erasure-multipart.go

    func (er erasureObjects) cleanupStaleUploads(ctx context.Context, expiry time.Duration) {
    	// run multiple cleanup's local to this server.
    	var wg sync.WaitGroup
    	for _, disk := range er.getLocalDisks() {
    		if disk != nil {
    			wg.Add(1)
    			go func(disk StorageAPI) {
    				defer wg.Done()
    				er.cleanupStaleUploadsOnDisk(ctx, disk, expiry)
    			}(disk)
    		}
    	}
    	wg.Wait()
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 43K bytes
    - Viewed (0)
  8. docs/sts/dex.yaml

      # tlsCert: /etc/dex/tls.crt
      # tlsKey: /etc/dex/tls.key
    
      # Configuration for telemetry
      telemetry:
        http: 0.0.0.0:5558
    
    # Uncomment this block to enable configuration for the expiration time durations.
    expiry:
      signingKeys: "3h"
      idTokens: "3h"
    
      # Options for controlling the logger.
      logger:
        level: "debug"
        format: "text" # can also be "json"
    
    # Default values shown below
    oauth2:
    Others
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Jul 15 11:55:55 GMT 2020
    - 2.7K bytes
    - Viewed (1)
  9. docs/sts/client-grants.md

    </AssumeRoleWithClientGrantsResponse>
    ```
    
    ## Using ClientGrants API
    
    ```
    export MINIO_ROOT_USER=minio
    export MINIO_ROOT_PASSWORD=minio123
    export MINIO_IDENTITY_OPENID_CONFIG_URL=http://localhost:8080/auth/realms/demo/.well-known/openid-configuration
    export MINIO_IDENTITY_OPENID_CLIENT_ID="843351d4-1080-11ea-aa20-271ecba3924a"
    minio server /mnt/export
    ```
    
    Testing with an example
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Sep 29 04:28:45 GMT 2022
    - 7.2K bytes
    - Viewed (1)
  10. cmd/postpolicyform.go

    func checkPostPolicy(formValues http.Header, postPolicyForm PostPolicyForm) error {
    	// Check if policy document expiry date is still not reached
    	if !postPolicyForm.Expiration.After(UTCNow()) {
    		return fmt.Errorf("Invalid according to Policy: Policy expired")
    	}
    	// check all formValues appear in postPolicyForm or return error. #https://github.com/minio/minio/issues/17391
    	checkHeader := map[string][]string{}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 12.2K bytes
    - Viewed (0)
Back to top