Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for secretRef (0.09 sec)

  1. cmd/warm-backend-s3.go

    	case conf.AccessKey == "" && conf.SecretKey != "" || conf.AccessKey != "" && conf.SecretKey == "":
    		return nil, errors.New("both the access and secret keys are required")
    	case conf.AWSRole && (conf.AWSRoleWebIdentityTokenFile != "" || conf.AWSRoleARN != "" || conf.AccessKey != "" || conf.SecretKey != ""):
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  2. cmd/iam.go

    	for k, v := range opts.claims {
    		_, ok := m[k]
    		if !ok {
    			m[k] = v
    		}
    	}
    
    	var accessKey, secretKey string
    	var err error
    	if len(opts.accessKey) > 0 || len(opts.secretKey) > 0 {
    		accessKey, secretKey = opts.accessKey, opts.secretKey
    	} else {
    		accessKey, secretKey, err = auth.GenerateCredentials()
    		if err != nil {
    			return auth.Credentials{}, time.Time{}, err
    		}
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 29 16:01:48 UTC 2024
    - 74.6K bytes
    - Viewed (0)
  3. cmd/warm-backend-minio.go

    	if conf.AccessKey == "" || conf.SecretKey == "" {
    		return nil, errors.New("both access and secret keys are required")
    	}
    
    	if conf.Bucket == "" {
    		return nil, errors.New("no bucket name was provided")
    	}
    
    	u, err := url.Parse(conf.Endpoint)
    	if err != nil {
    		return nil, err
    	}
    
    	creds := credentials.NewStaticV4(conf.AccessKey, conf.SecretKey, "")
    	opts := &minio.Options{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 4K bytes
    - Viewed (0)
Back to top