Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for Credentials (0.33 sec)

  1. cmd/test-utils_test.go

    	// Test Server needs to start before formatting of disks.
    	// Get credential.
    	credentials := globalActiveCred
    
    	testServer.Obj = objLayer
    	testServer.rawDiskPaths = disks
    	testServer.Disks = mustGetPoolEndpoints(0, disks...)
    	testServer.AccessKey = credentials.AccessKey
    	testServer.SecretKey = credentials.SecretKey
    
    	httpHandler, err := configureServerHandler(testServer.Disks)
    	if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  2. cmd/object-api-errors.go

    	Endpoint  string
    	AccessKey string
    }
    
    func (e RemoteTargetConnectionErr) Error() string {
    	if e.Bucket != "" {
    		return fmt.Sprintf("Remote service endpoint offline, target bucket: %s or remote service credentials: %s invalid \n\t%s", e.Bucket, e.AccessKey, e.Err.Error())
    	}
    	return fmt.Sprintf("Remote service endpoint %s not available\n\t%s", e.Endpoint, e.Err.Error())
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  3. cmd/config-current.go

    		globalServerConfig[subSys] = s[subSys]
    	}
    	if len(errs) > 0 {
    		return errors.Join(errs...)
    	}
    	return nil
    }
    
    // autoGenerateRootCredentials generates root credentials deterministically if
    // a KMS is configured, no manual credentials have been specified and if root
    // access is disabled.
    func autoGenerateRootCredentials() {
    	if GlobalKMS == nil {
    		return
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 30.8K bytes
    - Viewed (0)
  4. cmd/object-handlers.go

    	cred := getReqAccessCred(r, globalSite.Region)
    	// In a federated deployment, all the instances share config files
    	// and hence expected to have same credentials.
    	core, err := miniogo.NewCore(host, &miniogo.Options{
    		Creds:     credentials.NewStaticV4(cred.AccessKey, cred.SecretKey, ""),
    		Secure:    globalIsTLS,
    		Transport: getRemoteInstanceTransport(),
    	})
    	if err != nil {
    		return nil, err
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 20:15:54 GMT 2024
    - 125.2K bytes
    - Viewed (0)
  5. 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)
  6. cmd/api-errors.go

    	},
    	ErrMissingCredTag: {
    		Code:           "InvalidRequest",
    		Description:    "Missing Credential field for this request.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrCredMalformed: {
    		Code:           "AuthorizationQueryParametersError",
    		Description:    "Error parsing the X-Amz-Credential parameter; the Credential is mal-formed; expecting \"<YOUR-AKID>/YYYYMMDD/REGION/SERVICE/aws4_request\".",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (7)
  7. cmd/server-main.go

    	})
    	if globalActiveCred.Equal(auth.DefaultCredentials) {
    		msg := fmt.Sprintf("- Detected default credentials '%s', we recommend that you change these values with 'MINIO_ROOT_USER' and 'MINIO_ROOT_PASSWORD' environment variables",
    			globalActiveCred)
    		warnings = append(warnings, color.YellowBold(msg))
    	}
    
    	// Initialize users credentials and policies in background right after config has initialized.
    	go func() {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 34.9K bytes
    - Viewed (1)
  8. cmd/batch-handlers.go

    	"github.com/dustin/go-humanize"
    	"github.com/lithammer/shortuuid/v4"
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio-go/v7"
    	miniogo "github.com/minio/minio-go/v7"
    	"github.com/minio/minio-go/v7/pkg/credentials"
    	"github.com/minio/minio-go/v7/pkg/encrypt"
    	"github.com/minio/minio-go/v7/pkg/tags"
    	"github.com/minio/minio/internal/config/batch"
    	"github.com/minio/minio/internal/crypto"
    	"github.com/minio/minio/internal/hash"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 55.2K bytes
    - Viewed (0)
Back to top