Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 353 for accesskey (0.26 sec)

  1. cmd/admin-handlers-users_test.go

    	// 2. Check that svc account info can be queried
    	c.assertSvcAccInfoQueryable(ctx, userAdmClient, accessKey, cr.AccessKey, false)
    
    	// 3. Check S3 access
    	c.assertSvcAccS3Access(ctx, s, cr, bucket)
    
    	// 5. Check that service account can be deleted.
    	c.assertSvcAccDeletion(ctx, s, userAdmClient, accessKey, bucket)
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 45.7K bytes
    - Viewed (0)
  2. internal/auth/credentials.go

    // Error is returned if given access key or secret key are invalid length.
    func CreateCredentials(accessKey, secretKey string) (cred Credentials, err error) {
    	if !IsAccessKeyValid(accessKey) {
    		return cred, ErrInvalidAccessKeyLength
    	}
    	if !IsSecretKeyValid(secretKey) {
    		return cred, ErrInvalidSecretKeyLength
    	}
    	cred.AccessKey = accessKey
    	cred.SecretKey = secretKey
    	cred.Expiration = timeSentinel
    	cred.Status = AccountOn
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 28 17:14:16 UTC 2024
    - 12K bytes
    - Viewed (0)
  3. cmd/post-policy_test.go

    		{http.StatusNoContent, credentials.SecretKey, map[string]string{"AWSAccessKeyId": credentials.AccessKey}},
    		{http.StatusForbidden, credentials.SecretKey, map[string]string{"Awsaccesskeyid": "invalidaccesskey"}},
    		{http.StatusForbidden, "invalidsecretkey", map[string]string{"Awsaccesskeyid": credentials.AccessKey}},
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 22 23:07:14 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  4. cmd/bucket-handlers_test.go

    		bucketName string
    		accessKey  string
    		secretKey  string
    		// expected Response.
    		expectedRespStatus int
    		locationResponse   []byte
    		errorResponse      APIErrorResponse
    		shouldPass         bool
    	}{
    		// Test case - 1.
    		// Tests for authenticated request and proper response.
    		{
    			bucketName:         bucketName,
    			accessKey:          credentials.AccessKey,
    			secretKey:          credentials.SecretKey,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 39.8K bytes
    - Viewed (0)
  5. cmd/bucket-lifecycle-handlers_test.go

    		method     string
    		bucketName string
    		accessKey  string
    		secretKey  string
    		// Sent body
    		body []byte
    		// Expected response
    		expectedRespStatus int
    		lifecycleResponse  []byte
    		errorResponse      APIErrorResponse
    		shouldPass         bool
    	}{
    		// GET empty credentials
    		{
    			method: http.MethodGet, bucketName: bucketName,
    			accessKey:          "",
    			secretKey:          "",
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  6. internal/jwt/parser.go

    }
    
    // SetAccessKey sets access key as jwt subject and custom
    // "accessKey" field.
    func (c *StandardClaims) SetAccessKey(accessKey string) {
    	c.Subject = accessKey
    	c.AccessKey = accessKey
    }
    
    // Valid - implements https://godoc.org/github.com/golang-jwt/jwt#Claims compatible
    // claims interface, additionally validates "accessKey" fields.
    func (c *StandardClaims) Valid() error {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 09 07:53:08 UTC 2023
    - 13.9K bytes
    - Viewed (0)
  7. cmd/bucket-policy-handlers_test.go

    			accessKey:            credentials.AccessKey,
    			secretKey:            credentials.SecretKey,
    			expectedBucketPolicy: bucketPolicyTemplate,
    			expectedRespStatus:   http.StatusNotFound,
    		},
    		// Test case - 3.
    		// Case with non-existent bucket name.
    		{
    			bucketName:           ".invalid-bucket-name",
    			accessKey:            credentials.AccessKey,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 32.9K bytes
    - Viewed (0)
  8. helm/minio/README.md

    ```bash
    helm install --set users[0].accessKey=accessKey,users[0].secretKey=secretKey,users[0].policy=none,users[1].accessKey=accessKey2,users[1].secretRef=existingSecret,users[1].secretKey=password,users[1].policy=none minio/minio
    ```
    
    Description of the configuration parameters used above -
    
    - `users[].accessKey` - accessKey of user
    - `users[].secretKey` - secretKey of usersecretRef
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Jan 24 07:27:57 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  9. cmd/admin-handlers-idp-ldap.go

    		expiryTime := svc.Expiration
    		serviceAccountList = append(serviceAccountList, madmin.ServiceAccountInfo{
    			AccessKey:  svc.AccessKey,
    			Expiration: &expiryTime,
    		})
    	}
    	for _, sts := range stsKeys {
    		expiryTime := sts.Expiration
    		stsKeyList = append(stsKeyList, madmin.ServiceAccountInfo{
    			AccessKey:  sts.AccessKey,
    			Expiration: &expiryTime,
    		})
    	}
    
    	listResp := madmin.ListAccessKeysLDAPResp{
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 03 19:58:48 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  10. cmd/signature-v2.go

    	}
    
    	r.Form.Del(xhttp.Expires)
    
    	return ErrNone
    }
    
    func getReqAccessKeyV2(r *http.Request) (auth.Credentials, bool, APIErrorCode) {
    	if accessKey := r.Form.Get(xhttp.AmzAccessKeyID); accessKey != "" {
    		return checkKeyValid(r, accessKey)
    	}
    
    	// below is V2 Signed Auth header format, splitting on `space` (after the `AWS` string).
    	// Authorization = "AWS" + " " + AWSAccessKeyId + ":" + Signature
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 12.2K bytes
    - Viewed (0)
Back to top