Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for role_policy (0.07 sec)

  1. cmd/sts-handlers_test.go

    		"client_id=minio-client-app",
    		"client_secret=minio-client-app-secret",
    		"scopes=openid,groups",
    		"redirect_uri=http://127.0.0.1:10000/oauth_callback",
    	}
    	if rolePolicy != "" {
    		configCmds = append(configCmds, fmt.Sprintf("role_policy=%s", rolePolicy))
    	} else {
    		configCmds = append(configCmds, "claim_name=groups")
    	}
    	_, err := s.adm.SetConfigKV(ctx, strings.Join(configCmds, " "))
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 23:40:37 UTC 2024
    - 97.1K bytes
    - Viewed (0)
  2. cmd/iam.go

    	roleArn, err := arn.Parse(arnStr)
    	if err != nil {
    		return arn.ARN{}, "", fmt.Errorf("RoleARN parse err: %v", err)
    	}
    	rolePolicy, ok := sys.rolesMap[roleArn]
    	if !ok {
    		return arn.ARN{}, "", fmt.Errorf("RoleARN %s is not defined.", arnStr)
    	}
    	return roleArn, rolePolicy, nil
    }
    
    // DeletePolicy - deletes a canned policy from backend. `notifyPeers` is true
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 29 16:01:48 UTC 2024
    - 74.6K bytes
    - Viewed (0)
Back to top