Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for foobar123 (0.04 sec)

  1. docs/site-replication/run-multi-site-minio-idp.sh

    if [ "${val}" != "val1" ]; then
    	echo "expected bucket tag to have replicated, exiting..."
    	exit_1
    fi
    # Create user with policy consoleAdmin on minio1
    ./mc admin user add minio1 foobarx foobar123
    if [ $? -ne 0 ]; then
    	echo "adding user failed, exiting.."
    	exit_1
    fi
    ./mc admin policy attach minio1 consoleAdmin --user=foobarx
    if [ $? -ne 0 ]; then
    	echo "adding policy mapping failed, exiting.."
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Sep 24 08:03:58 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  2. cmd/sts-handlers_test.go

    		value, err = assumeRole.Retrieve()
    		if err != nil {
    			c.Fatalf("err calling assumeRole: %v", err)
    		}
    	} else {
    		// Create a regular user and attach consoleAdmin policy
    		err := s.adm.AddUser(ctx, "foobar", "foobar123")
    		if err != nil {
    			c.Fatalf("could not create user")
    		}
    
    		_, err = s.adm.AttachPolicy(ctx, madmin.PolicyAssociationReq{
    			Policies: []string{"consoleAdmin"},
    			User:     "foobar",
    		})
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Oct 15 17:00:45 UTC 2025
    - 103.4K bytes
    - Viewed (1)
  3. cmd/admin-handlers-users_test.go

    		}
    		defer func() {
    			_ = s.adm.DeleteServiceAccount(ctx, "restricted")
    		}()
    	} else {
    		// Create a regular user and attach consoleAdmin policy
    		err := s.adm.AddUser(ctx, "foobar", "foobar123")
    		if err != nil {
    			c.Fatalf("could not create user")
    		}
    
    		_, err = s.adm.AttachPolicy(ctx, madmin.PolicyAssociationReq{
    			Policies: []string{"consoleAdmin"},
    			User:     "foobar",
    		})
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Oct 15 17:00:45 UTC 2025
    - 50.6K bytes
    - Viewed (0)
Back to top