Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 312 for accessKey (0.09 sec)

  1. cmd/batch-replicate_test.go

    #    endpoint: "http://127.0.0.1:9000"
    #    # path: "on|off|auto" # "on" enables path-style bucket lookup. "off" enables virtual host (DNS)-style bucket lookup. Defaults to "auto"
    #    credentials:
    #      accessKey: minioadmin # Required
    #      secretKey: minioadmin # Required
    #    # sessionToken: SESSION-TOKEN # Optional only available when rotating credentials are used
        snowball: # automatically activated if the source is local
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  2. cmd/sftp-server_test.go

    	defer cancel()
    
    	accessKey, secretKey := mustGenerateCredentials(c)
    	err := s.adm.SetUser(ctx, accessKey, secretKey, madmin.AccountEnabled)
    	if err != nil {
    		c.Fatalf("Unable to set user: %v", err)
    	}
    
    	userReq := madmin.PolicyAssociationReq{
    		Policies: []string{"readwrite"},
    		User:     accessKey,
    	}
    	if _, err := s.adm.AttachPolicy(ctx, userReq); err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 28 09:06:25 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  3. cmd/iam.go

    	switch {
    	case usersPrefix:
    		accessKey := path.Dir(strings.TrimPrefix(event.keyPath, iamConfigUsersPrefix))
    		err = sys.store.UserNotificationHandler(ctx, accessKey, regUser)
    	case stsPrefix:
    		accessKey := path.Dir(strings.TrimPrefix(event.keyPath, iamConfigSTSPrefix))
    		err = sys.store.UserNotificationHandler(ctx, accessKey, stsUser)
    	case svcPrefix:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 29 16:01:48 UTC 2024
    - 74.6K bytes
    - Viewed (0)
  4. cmd/jwt_test.go

    	"os"
    	"testing"
    
    	jwtgo "github.com/golang-jwt/jwt/v4"
    	xjwt "github.com/minio/minio/internal/jwt"
    )
    
    func getTokenString(accessKey, secretKey string) (string, error) {
    	claims := xjwt.NewMapClaims()
    	claims.SetExpiry(UTCNow().Add(defaultJWTExpiry))
    	claims.SetAccessKey(accessKey)
    	token := jwtgo.NewWithClaims(jwtgo.SigningMethodHS512, claims)
    	return token.SignedString([]byte(secretKey))
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 22 07:04:48 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  5. cmd/iam-store.go

    					_ = store.deleteUserIdentity(ctx, u.AccessKey, svcUser)
    					delete(cache.iamUsersMap, u.AccessKey)
    				case u.IsTemp():
    					_ = store.deleteUserIdentity(ctx, u.AccessKey, stsUser)
    					delete(cache.iamSTSAccountsMap, u.AccessKey)
    					delete(cache.iamUsersMap, u.AccessKey)
    				}
    				if store.group != nil {
    					store.group.Forget(u.AccessKey)
    				}
    			}
    		}
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Oct 14 16:35:37 UTC 2024
    - 83.2K bytes
    - Viewed (0)
  6. cmd/test-utils_test.go

    	return nil
    }
    
    // Sign given request using Signature V2.
    func signRequestV2(req *http.Request, accessKey, secretKey string) error {
    	signer.SignV2(*req, accessKey, secretKey, false)
    	return nil
    }
    
    // Sign given request using Signature V4.
    func signRequestV4(req *http.Request, accessKey, secretKey string) error {
    	// Get hashed payload.
    	hashedPayload := req.Header.Get("x-amz-content-sha256")
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 77K bytes
    - Viewed (0)
  7. cmd/config-encrypted_test.go

    	"testing"
    
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio/internal/auth"
    )
    
    func TestDecryptData(t *testing.T) {
    	cred1 := auth.Credentials{
    		AccessKey: "minio",
    		SecretKey: "minio123",
    	}
    
    	cred2 := auth.Credentials{
    		AccessKey: "minio",
    		SecretKey: "minio1234",
    	}
    
    	data := []byte(`config data`)
    	edata1, err := madmin.EncryptData(cred1.String(), data)
    	if err != nil {
    		t.Fatal(err)
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 20 00:53:08 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  8. docs/distributed/samples/myminio-iam-info-openid.zip

    ct":"Allow","Action":["s3:PutObject"],"Resource":["arn:aws:s3:::*"]}]}} iam-assets/users.json {} iam-assets/groups.json {} iam-assets/svcaccts.json {"dillon-service-2":{"parent":"oCnAoSQFtdVQtKwrB73j","accessKey":"dillon-service-2","secretKey":"dillon-service-2","groups":null,"claims":{"accessKey":"dillon-service-2","at_hash":"LL4jvrkBRNQhOKiC83RL","aud":"minio-client-app","c_hash":"fjGB4ldChsaf9vSFdZ1P","email":"******@****.***","email_verified":true,"groups":["projecta","projectb"],"iat":172...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 17 16:45:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  9. cmd/batch-replicate_gen.go

    		zb0001--
    		field, err = dc.ReadMapKeyPtr()
    		if err != nil {
    			err = msgp.WrapError(err)
    			return
    		}
    		switch msgp.UnsafeString(field) {
    		case "AccessKey":
    			z.AccessKey, err = dc.ReadString()
    			if err != nil {
    				err = msgp.WrapError(err, "AccessKey")
    				return
    			}
    		case "SecretKey":
    			z.SecretKey, err = dc.ReadString()
    			if err != nil {
    				err = msgp.WrapError(err, "SecretKey")
    				return
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 40.7K bytes
    - Viewed (0)
  10. cmd/kms-handlers_test.go

    	var accessKey, secretKey string
    	if test.asRoot {
    		accessKey, secretKey = globalActiveCred.AccessKey, globalActiveCred.SecretKey
    	} else {
    		setupKMSUser(t, userAccessKey, userSecretKey, test.policy)
    		accessKey = userAccessKey
    		secretKey = userSecretKey
    	}
    
    	req := buildKMSRequest(t, test.method, test.path, accessKey, secretKey, test.query)
    	rec := httptest.NewRecorder()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 22.3K bytes
    - Viewed (0)
Back to top