tvaultapi/src/main/java/com/tmobile/cso/vault/api/v2/controller/SelfSupportController.java
@ApiOperation(value = "${SelfSupportController.createRole.value}", notes = "${SelfSupportController.createRole.notes}", hidden=true)
	@PostMapping(value="/v2/ss/auth/aws/role",consumes="application/json",produces="application/json")
	public ResponseEntity<String> createRole(HttpServletRequest request, @RequestHeader(value="vault-token") String token, @RequestBody AWSLoginRole awsLoginRole, @RequestParam("path") String path) throws TVaultValidationException {
		UserDetails userDetails = (UserDetails) ((HttpServletRequest) request).getAttribute("UserDetails");
		return selfSupportService.createRole(userDetails,awsLoginRole, path);
	}
/**
	 * Method to create an EC2 AWS  role
	 * @param token
	 * @param awsLoginRole
	 * @return
	 */
Method to create an EC2 AWS  role
@param token
@param awsLoginRole
@return
Method to create an EC2 AWS role @param token @param awsLoginRole @return
@ApiOperation(value = "${SelfSupportController.createRole.value}", notes = "${SelfSupportController.createRole.notes}", hidden=true)
	@PostMapping(value="/v2/ss/auth/aws/role",consumes="application/json",produces="application/json")
	public ResponseEntity<String> createRole(HttpServletRequest request, @RequestHeader(value="vault-token") String token, @RequestBody AWSLoginRole awsLoginRole, @RequestParam("path") String path) throws TVaultValidationException {
		UserDetails userDetails = (UserDetails) ((HttpServletRequest) request).getAttribute("UserDetails");
		return selfSupportService.createRole(userDetails,awsLoginRole, path);
	}
@ ApiOperation ( value = "${SelfSupportController.createRole.value}" , notes = "${SelfSupportController.createRole.notes}" , hidden = true ) @ PostMapping ( value = "/v2/ss/auth/aws/role" , consumes = "application/json" , produces = "application/json" ) public ResponseEntity < String > createRole ( HttpServletRequest request , @ RequestHeader ( value = "vault-token" ) String token , @ RequestBody AWSLoginRole awsLoginRole , @ RequestParam ( "path" ) String path ) throws TVaultValidationException { UserDetails userDetails = ( UserDetails ) ( ( HttpServletRequest ) request ) . getAttribute ( "UserDetails" ) ; return selfSupportService . createRole ( userDetails , awsLoginRole , path ) ; }
Method to create an EC2 AWS  role
 @param token
 @param awsLoginRole
 @return
Method to create an EC2 AWS role @param token @param awsLoginRole @return