Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 139 for Credential (0.06 sec)

  1. cmd/post-policy_test.go

    		formData       map[string]string
    	}{
    		{http.StatusForbidden, credentials.SecretKey, map[string]string{"AWSAccessKeyId": "invalidaccesskey"}},
    		{http.StatusForbidden, "invalidsecretkey", map[string]string{"AWSAccessKeyId": credentials.AccessKey}},
    		{http.StatusNoContent, credentials.SecretKey, map[string]string{"AWSAccessKeyId": credentials.AccessKey}},
    		{http.StatusForbidden, credentials.SecretKey, map[string]string{"Awsaccesskeyid": "invalidaccesskey"}},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 22 23:07:14 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  2. internal/auth/credentials.go

    	}
    	return s.String()
    }
    
    // IsExpired - returns whether Credential is expired or not.
    func (cred Credentials) IsExpired() bool {
    	if cred.Expiration.IsZero() || cred.Expiration.Equal(timeSentinel) {
    		return false
    	}
    
    	return cred.Expiration.Before(time.Now().UTC())
    }
    
    // IsTemp - returns whether credential is temporary or not.
    func (cred Credentials) IsTemp() bool {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 28 17:14:16 UTC 2024
    - 12K bytes
    - Viewed (0)
  3. internal/config/errors.go

    	)
    
    	ErrInvalidRootUserCredentials = newErrFn(
    		"Invalid credentials",
    		"Please provide correct credentials",
    		EnvRootUser+` length should be at least 3, and `+EnvRootPassword+` length at least 8 characters`,
    	)
    
    	ErrMissingEnvCredentialRootUser = newErrFn(
    		"Missing credential environment variable, \""+EnvRootUser+"\"",
    		"Environment variable \""+EnvRootUser+"\" is missing",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 10 16:57:01 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  4. cmd/config-versions.go

    type serverConfigV33 struct {
    	quick.Config `json:"-"` // ignore interfaces
    
    	Version string `json:"version"`
    
    	// S3 API configuration.
    	Credential auth.Credentials `json:"credential"`
    	Region     string           `json:"region"`
    	Worm       config.BoolFlag  `json:"worm"`
    
    	// Storage class configuration
    	StorageClass storageclass.Config `json:"storageclass"`
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  5. cmd/signature-v4_test.go

    	testCases := []struct {
    		form     http.Header
    		expected APIErrorCode
    	}{
    		// (0) It should fail if 'X-Amz-Credential' is missing.
    		{
    			form:     http.Header{},
    			expected: ErrCredMalformed,
    		},
    		// (1) It should fail if the access key is incorrect.
    		{
    			form: http.Header{
    				"X-Amz-Credential": []string{fmt.Sprintf(credentialTemplate, "EXAMPLEINVALIDEXAMPL", now.Format(yyyymmdd), globalMinioDefaultRegion)},
    			},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  6. cmd/warm-backend-azure.go

    	}
    
    	if conf.IsSPEnabled() {
    		credential, err := azidentity.NewClientSecretCredential(conf.SPAuth.TenantID, conf.SPAuth.ClientID, conf.SPAuth.ClientSecret, &azidentity.ClientSecretCredentialOptions{})
    		if err != nil {
    			return nil, err
    		}
    		return azblob.NewClient(ep, credential, &azblob.ClientOptions{})
    	}
    	credential, err := azblob.NewSharedKeyCredential(conf.AccountName, conf.AccountKey)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 7K bytes
    - Viewed (0)
  7. docs/site-replication/run-multi-site-oidc.sh

    sleep 5
    
    # Generate STS credential with STS call to minio1
    STS_CRED=$(MINIO_ENDPOINT=http://localhost:9001 go run ./docs/site-replication/gen-oidc-sts-cred.go)
    
    MC_HOST_foo=http://${STS_CRED}@localhost:9001 ./mc ls foo
    if [ $? -ne 0 ]; then
    	echo "Expected sts credential to work, exiting.."
    	exit_1
    fi
    
    sleep 2
    
    # Check that the STS credential works on minio2 and minio3.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 08:03:58 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/sso/oic/OpenIdConnectAuthenticatorTest.java

            assertArrayEquals(new String[] { "group1", "group2" }, groups);
    
            OpenIdConnectCredential credential = new OpenIdConnectCredential(attributes);
            assertEquals("******@****.***", credential.getUserId());
            assertArrayEquals(new String[] { "group1", "group2" }, credential.getUserGroups());
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 2K bytes
    - Viewed (0)
  9. docs/sts/assume-role.go

    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio-go/v7"
    	cr "github.com/minio/minio-go/v7/pkg/credentials"
    )
    
    var (
    	// Minio endpoint (for STS API)
    	stsEndpoint string
    
    	// User account credentials
    	minioUsername string
    	minioPassword string
    
    	// Display credentials flag
    	displayCreds bool
    
    	// Credential expiry duration
    	expiryDuration time.Duration
    
    	// Bucket to list
    	bucketToList string
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Aug 17 01:24:54 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  10. cmd/config-migrate.go

    			// Unable to parse old JSON simply re-initialize a new one.
    			return newServerCfg()
    		}
    	}
    
    	if !globalCredViaEnv && cfg.Credential.IsValid() {
    		// Preserve older credential if we do not have
    		// root credentials set via environment variable.
    		globalActiveCred = cfg.Credential
    	}
    
    	// Init compression config. For future migration, Compression config needs to be copied over from previous version.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.4K bytes
    - Viewed (0)
Back to top