Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for HasRolePolicy (0.18 sec)

  1. cmd/sts-handlers.go

    			return
    		}
    		writeSTSErrorResponse(ctx, w, ErrSTSInvalidParameterValue, err)
    		return
    	}
    
    	var policyName string
    	if roleArnStr != "" && globalIAMSys.HasRolePolicy() {
    		// If roleArn is used, we set it as a claim, and use the
    		// associated policy when credentials are used.
    		claims[roleArnClaim] = roleArn.String()
    	} else {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 01:29:20 UTC 2024
    - 33.9K bytes
    - Viewed (0)
  2. cmd/iam.go

    		user := strings.TrimSuffix(policyMapFile, ".json")
    		err = sys.store.PolicyMappingNotificationHandler(ctx, user, true, regUser)
    	}
    	return err
    }
    
    // HasRolePolicy - returns if a role policy is configured for IAM.
    func (sys *IAMSys) HasRolePolicy() bool {
    	return len(sys.rolesMap) > 0
    }
    
    // GetRolePolicy - returns policies associated with a role ARN.
    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