def get_keys_for_key_name_with_http_info(resource_group_name, resource_name, key_name, custom_headers:nil)
      get_keys_for_key_name_async(resource_group_name, resource_name, key_name, custom_headers:custom_headers).value!
    end
def get_keys_for_key_name_with_http_info(resource_group_name, resource_name, key_name, custom_headers:nil)
      get_keys_for_key_name_async(resource_group_name, resource_name, key_name, custom_headers:custom_headers).value!
    end
Get a shared access policy by name from an IoT hub. For more information,
 see: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-security.

 Get a shared access policy by name from an IoT hub. For more information,
 see: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-security.

 @param resource_group_name [String] The name of the resource group that
 contains the IoT hub.
 @param resource_name [String] The name of the IoT hub.
 @param key_name [String] The name of the shared access policy.
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [MsRestAzure::AzureOperationResponse] HTTP response information.