Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for foobar123 (0.03 sec)

  1. docs/iam/opa.md

    ```sh
    # 1. Create a bucket and a user, and upload a file. These operations will succeed.
    mc mb myminio/test
    mc admin user add myminio foo foobar123
    mc cp /etc/issue myminio/test/
    
    # 2. Now access the server as user `foo`. These operations will also succeed.
    export MC_HOST_foo=http://foo:foobar123@localhost:9000
    mc ls foo/test
    mc cat foo/test/issue
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Jul 17 15:43:14 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  2. docs/iam/access-management-plugin.md

    ```
    
    Now, let's test it out with `mc`:
    
    ```sh
    mc alias set myminio http://localhost:9000 minio minio123
    mc ls myminio
    mc mb myminio/test
    mc cp /etc/issue myminio/test
    mc admin user add myminio foo foobar123
    export MC_HOST_foo=http://foo:foobar123@localhost:9000
    mc ls foo
    mc cp /etc/issue myminio/test/issue2
    ```
    
    Only the last operation would fail with a permissions error.
    
    ## Configuration
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Dec 13 22:28:48 UTC 2022
    - 4.4K bytes
    - Viewed (1)
  3. 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)
  4. 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)
  5. 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